I have an app which runs great on windows as a 32bit app but I cannot stop it crashing on 64bit compiles with Xojo 2018r1.1 and 2017r2.1.
The problem is relating to event handling of my own classes. If I subclass and add an event handler using the ide there is no crash.
If I use:
AddHandler pWorkingWithImages.clicked, WeakAddressOf Handler_ClickedMode
or
AddHandler pWorkingWithImages.clicked, AddressOf Handler_ClickedMode
it will crash out after exiting the function Handler_ClickedMode().
Running through the IDE shows no stack trace in MainThread other than Handler_ClickedMode, which is probably why it crashes out on the exit of the function.
Looking at event viewer the 2018r1.1 compile crash shows this in the report
Faulting application name: ProSelectGui2.exe, version: 1.0.0.0, time stamp: 0x00000000
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x0000000000000011
Faulting process id: 0x252c
Faulting application start time: 0x01d41e33292d17f9
Faulting application path: C:\\Users\\Graham Busch\\Desktop\\ProSelectGui 2017\\ProSelectGui2.exe
Faulting module path: unknown
Report Id: 38715054-3f6f-4a78-a3b6-77c9372d6904
Faulting package full name:
Faulting package-relative application ID:
While Xojo 2017r2.1 compile shows this
Faulting application name: ProSelectGui2.exe, version: 1.0.0.0, time stamp: 0x00000000
Faulting module name: ntdll.dll, version: 10.0.17134.165, time stamp: 0xf4df6dc2
Exception code: 0xc0000005
Fault offset: 0x00000000000068fc
Faulting process id: 0x758
Faulting application start time: 0x01d41ecb2ac27579
Faulting application path: C:\\Users\\Graham Busch\\Desktop\\ProSelectGui 2017\\ProSelectGui2.exe
Faulting module path: C:\\WINDOWS\\SYSTEM32\
tdll.dll
Report Id: d09bfc86-6275-4d57-8245-89a2960a8c6c
Faulting package full name:
Faulting package-relative application ID:
The 2018r1.1 IDE crashes on every second or third debug compile with this report.
Faulting application name: Xojo.EXE, version: 18.1.1.40774, time stamp: 0x00000000
Faulting module name: XojoGUIFramework64.dll, version: 18.1.1.40762, time stamp: 0x5ada0c28
Exception code: 0xc0000005
Fault offset: 0x00000000000e9dfd
Faulting process id: 0x205c
Faulting application start time: 0x01d41ec53c643ba7
Faulting application path: C:\\Program Files\\Xojo\\Xojo 2018r1.1\\Xojo.EXE
Faulting module path: C:\\Program Files\\Xojo\\Xojo 2018r1.1\\XojoGUIFramework64.dll
Report Id: e192b482-42e6-45df-8afa-b72076c893ad
Faulting package full name:
Faulting package-relative application ID:
Is Windows 64bit ready yet or should I be holding off for future releases?