View Issue Details

IDProjectCategoryView StatusLast Update
0005914JEDI VCL00 JVCL Componentspublic2012-09-10 14:15
ReporterldsandonAssigned ToAHUser 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.45 
Target VersionFixed in Version3.46 
Summary0005914: Exception 0xc0000005, JvJVCLUtils.AllocateHWndEx wrong parameter size in SetWindowLong()?
DescriptionAllocateHWndEx() calls:

Windows.SetWindowLong(Result, GWL_WNDPROC, Longint(@StdWndProc));

But this looks wrong in 64 bit applications, where @StdWndProc is a 64 bit address. Other calls to SetWindowLong() may be an issue as well.

My application throws 0xc0000005 exception when using a TJvComputerInfoEx component and a nil owner.

BTW MSDN says to use SetWindowLongPtr in applications that should be compiled in 32 and 64 bit versions (http://msdn.microsoft.com/en-us/library/windows/desktop/ms633591(v=vs.85).aspx)
TagsNo tags attached.

Activities

AHUser

2012-06-22 23:01

developer   ~0020028

This bug was fixed in svn revision 13173 (2011-11-19)

Issue History

Date Modified Username Field Change
2012-06-22 12:48 ldsandon New Issue
2012-06-22 23:01 AHUser Note Added: 0020028
2012-06-22 23:01 AHUser Status new => resolved
2012-06-22 23:01 AHUser Fixed in Version => Daily / SVN
2012-06-22 23:01 AHUser Resolution open => fixed
2012-06-22 23:01 AHUser Assigned To => AHUser
2012-09-10 14:15 obones Fixed in Version Daily / SVN => 3.46