My application runs fine in development mode with SP4, but gives C0000005 errors under SP4 runtime.
It also works perfectly with the SP3 runtime files. Could there be a problem with the SP4 runtime files?
Here is more information:
The SP4 problem occurs with ActiveX controls. It is very easy to replicate; I used ctTree from DBI Technologies
http://www.dbi-tech.comIn method GetNode put the following:
*** ActiveX Control Event ***
LPARAMETERS nindex, ncolumn
Return dodefault(nindex, ncolumn)
Drop the control on a form, added some code to make the tree, e.g.
* Fill tree
o = ThisForm.ctTree1
o.clearnodes()
o.Addnode('Item A',2,1)
o.Addnode('Item B',2,2)
o.Addnode('Item C',2,3)
Compiled it to an exe.
Run in VFP SP4 in development mode, works.
Run under runtime (double-click the exe), gives C0000005 error.
I get the C0000005 error with other activeX as well.
Anyone have any suggetions on how to get SP4 runtimes to work?
Cyril.