RTC Forums
November 24, 2024, 05:56:26 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: BDEDemoServer and Delphi XE3 (exception in "rtcDB.pas" unit)  (Read 5207 times)
Wolfgang
Newbie
*
Posts: 2


« on: November 27, 2012, 07:02:43 AM »

Starting from Line 879 in procedure DelphiDataSetToRtc(DelphiDS: TDataSet; rtcDS: TRtcDataSet;

Field := DelphiDS.FindField(fldname);
      if assigned(Field) then
        if not Field.isNull then
          if (OnlyDataFields = False) or (Field.FieldKind = fkData) then
            if Field.isBlob then
            begin
              FStream := DelphiDS.CreateBlobStream(Field, bmRead);  --------------->> Returns error is not a blobfield for ftMemo

Kind Regards
Wolfgang

Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #1 on: November 28, 2012, 08:49:52 PM »

I'm afraid the BDE implementation in Delphi XE3 is broken. The problem is not only with ftMemo fields, but any kind of a BLOB field (like ftGraphic). Here is a topic on Embarcadero Forums about the BDE, BLOB fields and Delphi XE3:
https://forums.embarcadero.com/thread.jspa?threadID=78430

While I don't have a solution for getting the BDEDemoServer to work on Delphi XE3 without fixing the BDE units, I think the BDEDemoServer can still serve its purpose, because you can use it as a starting point when writing your own Server using a Database Engine of your choice (I'm guessing it won't be the BDE). If you get stuck, please let me know.

Best Regards,
Danijel Tkalcec
Logged
Wolfgang
Newbie
*
Posts: 2


« Reply #2 on: November 29, 2012, 06:31:57 AM »

Having seen some other people complain,I suspected as much.

Thanks Danijel

Kind Regards
Wolfgang
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #3 on: December 17, 2012, 09:45:31 AM »

Installing RAD Studio XE3 Update 1 fixes 4 bugs from the BDE, including the one that was causing this exception (QC Report #108660):
http://edn.embarcadero.com/article/42770

Best Regards,
Danijel Tkalcec
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.024 seconds with 16 queries.