loTest = NewObject("MyClassName", "MyVCXName.VCX", "MyExecutableName.EXE")But it don't work
loTest = NewObject("MyClassName", "MyPRGName.PRG", "MyExecutableName.EXE")If I have a class in a program(.EXE) and I want to use this class of an another I can use it with the NewObject() function. But if the class are stored in a .PRG file it don't work and display an error message.
Define class MyClassName as Custom ... EndDefineThe help file say: