Information générale
Titre:
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!
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement