Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COM Server creation
Message
De
16/01/2003 20:24:39
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Titre:
COM Server creation
Divers
Thread ID:
00742706
Message ID:
00742706
Vues:
68
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
Fil
Voir

Click here to load this message in the networking platform