OK, thanks to everyone for listening. My fault - forgot to recompile the program. Works like a charm, after I added "dataentry.exe" as third parameter.
>Hi everybody,
>
>I have a DataEntry.exe, which includes wg.vcx classlibrary. I distribute only exe without source code. I should be able also execute programs, which are not part of executable. In one of these programs I have this code:
>
>
loTherm = newobject('Thermometer','wg.vcx','DataEntry.exe')
>
>However, this code returns wg.vcx not found. How can I make it work?
>
>It's urgent, I need to resolve it ASAP.
>
>Thanks in advance.
If it's not broken, fix it until it is.
My Blog