stijnsanders / TMongoWire

Delphi MongoDB driver
MIT License
102 stars 37 forks source link

[POSSIBLE PATCH] Delphi XE8 support #28

Closed silvioprog closed 2 years ago

silvioprog commented 9 years ago

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!

silvioprog commented 9 years ago

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.

stijnsanders commented 9 years ago

Yes, please do

stijnsanders commented 2 years ago

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...) ...