Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DCOM in Win2k
Message
De
04/08/2000 18:43:00
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00401192
Message ID:
00401442
Vues:
19
Bill

You need to compile as a Win32 Com exe. Once you've done that the first time, check the Project/Project Info/servers tab to see what Server classes are exposed. You almost certainly need to set these to single instance depending what you want to do. If you are wanting to "multithread" so you can have more than one at once, don't worry, you can, but still set it to single user if you need to manipulate data or use views so that multiple processes to not SNAFU each others data.

If you can't see any server classes exposed, add the public keyword if you've defined the class in code or edit the visual class and in class/class info, tick the ole public setting. Then recompile the exe.

You should then be able to see it in dcomfnfg.

Regards

JR
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform