Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Debugging VFP COM Server
Message
De
12/01/2000 10:00:16
 
 
À
12/01/2000 08:42:27
Jan Korecko
Coopex Soft S.R.O.
Presov, Slovaquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00316867
Message ID:
00316930
Vues:
15
>I created multi-threaded COM server (vfpCOMServer.dll). In other vfp application I created new object with loNewObject=createobject("vfpCOMServer.x") command. In my COM server is any problems.
>
>My question: How I can debug vfpCOMServer?
>
>Thanks,
>jano

It's easiest to debug them before they are compiled into COM servers. IOW, all of your COm servers are just VFP classes first- after you get your code put together, instanciate the object as a VFP class, and test it like that. After you afeel good about it there, you can test it as a COM server.

Also, a good error handling scheme helps a lot to. Check the help for COMRETURNERROR(), and use this function to fill the error structure with meaningful error information in your object's error method. It might also be possible to fill an internal object property with error information in an array that you can access after an error has occurred.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform