Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - [SOLVED]Stack corruption in Grid using ADO
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[SOLVED]Stack corruption in Grid using ADO

 Post Reply Post Reply
Author
Message
TomPP View Drop Down
Groupie
Groupie


Joined: 17 November 2014
Location: Germany
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote TomPP Quote  Post ReplyReply Direct Link To This Post Topic: [SOLVED]Stack corruption in Grid using ADO
    Posted: 09 January 2024 at 6:04am
Seems you are using outdated .tlh and .tli definitions in XTPGridADO.h and XTPGridADO.inl.
When building 64bit applications, calls to i.e. GetRecordCount(ADO_LONGPTR RecordCount) led to stack corruption, since you assume ADO_LONGPTR ist long, but it is __int64.
Please try this out with your GridDataBinding sample.

Tom
Back to Top
agontarenko View Drop Down
Admin Group
Admin Group


Joined: 25 March 2016
Status: Offline
Points: 291
Post Options Post Options   Thanks (0) Thanks(0)   Quote agontarenko Quote  Post ReplyReply Direct Link To This Post Posted: 23 January 2024 at 4:45am
Hello,

I'm glad to inform you that the issue has been addressed and fixed. The fix will be available in the next beta or final release.

Regards,
Artem Gontarenko
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.