>Isn't createobject() used for Visual FoxPro Classes? Should I be using createobjectex()?
No. Createobject() is used for all classes, VFP and COM alike. What classes do you have defined in your C++ DLL? Did you define it as a public class?
CreateobjectEX() creates a COM object on another machine (DCOM) but you still need a class and it has to be registered.
Check the registry using regedt32 and see if you can find your class listed in the HKEY_CLASSES_ROOT tree. If not, then it's not registered.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao