General information
Title:
COM Server creation
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only