Print Page | Close Window

[SOLVED]Stack corruption in Grid using ADO

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=24451
Printed Date: 14 May 2024 at 6:36am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [SOLVED]Stack corruption in Grid using ADO
Posted By: TomPP
Subject: [SOLVED]Stack corruption in Grid using ADO
Date 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



Replies:
Posted By: agontarenko
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net