stijnsanders / TMongoWire

Delphi MongoDB driver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[POSSIBLE PATCH] Delphi XE8 support

silvioprog opened this issue · comments

Hello,

Is there any plan to make it compatible with Delphi XE 8? I tried to use that, but the bsonDoc unit doesn't compile on this compiler.

Thank you!

Additional note: I did some changes in my local copy and it worked like a charme here in XE 8 (I need test it in D7), if you prefer, I can attach a patch showing the changes.

Yes, please do

Apparently the signature for TStream.Seek changed slightly between Delphi versions. I've modified the $IFDEF into $IF CompilerVersion> to make it work for even newer versions of Delphi. (Though I'm not sure it was version 17 that got UInt64 introduced...) ...