Code: Select all
result = iDisp\Invoke(dispID, ?IID_NULL, #LOCALE_USER_DEFAULT, invokeType, dp, *ret, excep, @uiArgErr)I use COMatePLUS 1.2 https://backups.rsbasic.de/COMatePLUS.zip
Is this a compiler bug or an error in COMatePLUS?

Code: Select all
result = iDisp\Invoke(dispID, ?IID_NULL, #LOCALE_USER_DEFAULT, invokeType, dp, *ret, excep, @uiArgErr)
BarryG wrote:I don't remember if I fixed that version [...]
Code: Select all
Structure EXCEPINFO2 Align #PB_Structure_AlignC
wCode.w
wReserved.w
bstrSource.i
bstrDescription.i
bstrHelpFile.i
dwHelpContext.l
pvReserved.i
pfnDeferredFillIn.COMate_ProtoDeferredFillIn
scode.l
EndStructure
Unfortunately this did not yield any results. Same stack corruption error.he "Demo_Excel.pb" source compiles fine for me with 6.03 x64, ASM backend, Purifier on. I'm using COMatePLUS Version 1.2 released 9th July 2010.
I don't remember if I fixed that version, so I've uploaded it here for you to test (6-day link)
Thank you. This was probably the source of the problem.The EXCEPINFO2 structure is wrong, change it to: