Hi,
I have been trying to implement a functionality with the newObject() command and it is not working. Please try this
* Create a Program called myClassPrg.Prg and type the following code in
* Compile this into ClassPrg.Exe
* Move to a different Folder
* Type obj=Newobject("myClass","myClassPrg.Prg","ClassPrg.Exe")
This gives me an Error saying myClassPrg.Prg is not found.
* Now move to the folder where ClassPrg.Exe was created
* Type the same thing. And it Works.
* But now if you had placed myClassPrg.Prg other than where ClassPrg.Exe was placed, you get the same error.
*: myClassPrg.Prg
Define Class myClass As Custom
Procedure SHOWME
Wait Wind
Return
Endproc
Enddefine
Can anyone give an answer/solution?
If I set procedure to ClassPrg.Exe, everything works, but I don't want to do that.
TIA
Solutions: when you want it, as you want it!