RTC Forums

Subscription => Support => Topic started by: Wolfgang on November 27, 2012, 07:02:43 AM



Title: BDEDemoServer and Delphi XE3 (exception in "rtcDB.pas" unit)
Post by: Wolfgang 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



Title: Re: BDEDemoServer and Delphi XE3 (exception in "rtcDB.pas" unit)
Post by: D.Tkalcec (RTC) 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


Title: Re: BDEDemoServer and Delphi XE3 (exception in "rtcDB.pas" unit)
Post by: Wolfgang on November 29, 2012, 06:31:57 AM
Having seen some other people complain,I suspected as much.

Thanks Danijel

Kind Regards
Wolfgang


Title: Re: BDEDemoServer and Delphi XE3 (exception in "rtcDB.pas" unit)
Post by: D.Tkalcec (RTC) 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