Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COM Server creation
Message
From
16/01/2003 20:24:39
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
CodeMine
Title:
COM Server creation
Miscellaneous
Thread ID:
00742706
Message ID:
00742706
Views:
67
Hello all. I was wondering if anyone can offer some advice/tips on COM servers with Codemine 7.0. I have a VFP7SP1 project, setup just as in the example in the COMSAMPLE project (all the same class libraries and the main program), and the main program adds my custom CDE. I can build the project and create an EXE just fine, but when I try to create an instance of the COM server with CREATEOBJECT('myserver.myclass'), I get the 'PARENT is not an object' error message during init.

However, when I create an instance of the class (as in CREATEOBJECT('myclass'), and not the COM server, it works fine. No problems.

I thought at first that maybe one of my tables or cursor definitions were messed up, so I swapped the CDE with another one, and tried again. Same error message. Then, I decided to economize, and use only one table. I created a test form, added a single table, exported that to a CDE, then used that CDE instead of the one I had prior. Same result.

So, I'm a little confused. I've built many COM servers of varying complexities, but I've exhausted my resources on this one.

Any help would be greatly appreciated!!
Thanks!
Next
Reply
Map
View

Click here to load this message in the networking platform