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.