Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error using a DLL created with VFP
Message
From
20/06/2003 09:31:26
 
 
To
19/06/2003 22:03:06
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00802033
Message ID:
00802174
Views:
17
>Hi! I'm working with OLEPUBLIC class and I have some problems.
>I made a testdll.dll file with this source:
>Define Class testdll As Custom OlePublic
>
>Mensaje= ''
>
>Procedure SHOW_MENSAJE
> Wait "PRUEBA" Window
>EndProc
>
>EndDefine
>
>OK. Then I made the testdllr.exe file with this source:
>
>oTest = CreateObject("testdll.testdll")
>oTest.Mensaje = "Holas Samigo!"
>oTest.Show_Mensaje
>Release oTest
>
>OK. When I run the PRG program on the command window works fine, but when I run the EXE file from de Explorer I receive an error: (I'll try to translate because my w98's lenguage is spanish) :
>"This program has performed an illegal operation and will be shut down. If the problem persists, contact the program vendor"
>
>Do you know why I can't use the EXE file alone but works fine from the command window ?
>(I'm using VFP5 but I try with VFP7 and made the same error)
>(Sorry my english :)
>Thank you very much.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform