Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error using a DLL created with VFP
Message
 
À
19/06/2003 22:03:06
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00802033
Message ID:
00802062
Vues:
21
Hi Cono,

Your code seems to be fine besides you are not using the property in Wait Window, which you must be trying to do.
Anyway,
Check out for any service packs on Microsoft Site.

Otherway,

Make a vcx of the mentioned code and Drag Drop on to form to run it.

Aashish


>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.
--
--
Aashish Sharma
Tele Nos: +1-201-490-5405
Mobile: +91-9821053938
E-Mail:
aashish@aashishsharma.com
write2aashish@gmail.com

You better believe in yourself... if you don't, who else will ?
TODAY is a gift, that's why it's called PRESENT
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform