Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VBB DLL crashes VFP EXE
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00905902
Message ID:
00906292
Views:
20
The code is on a command button. I added a couple of messagebox for tracing

In abbreviated form it's

oMyVBObject = CREATEOBJECT("xxx.Fetch")


oMyVBObject.ReadCSV( passed parameters)

...at this point the VB dll executes correctly and finished.

select table
APPEND FROM "tmp3equities.csv" && appends result files created by dll

thisform.lblStatus.Caption="Finished" <<-- this works

=MESSAGEBOX('Trace before release') << this works

RELEASE oMyVBObject

=MESSAGEBOX('Trace after release') << last statment in cmdButton code - works

At this point the VFP program terminates with no error
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform