I have encapsulated some procedures and functions in a DLL that are surrounded,
in the main program, by "DEFINE CLASS TexLogo AS session OLEPUBLIC" and
"ENDDEFINE". It is compiled as a DLL (tried single threaded and multiple
threaded DLL) . To access these procs and funcs, I do a "oTexLogo =
CREATEOBJECT('texlogo4.texlogo')" from the calling program (compiled as an EXE).
It works great when running on an XP or 2K machine, but in Vista(sp1), I get a
"Class definition TEXLOGO4.TEXLOGO is not found." error message when the
CREATEOBJECT() line is executed in the calling program. TEXLOGO4.DLL is the name
of the file and TEXLOGO is the name of the class. The Vista machine is a target
test system so it doesn't have any development stuff on it. I used Inno Setup
to install the application. The VFP DLL and calling program are compiled with
VFP 7 sp1. The remainder of the program works fine, with the documented display
issues with Vista.
What am I missing?
Thanks,
Andy.