Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where do I start ?
Message
 
À
25/03/2002 10:53:06
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00636827
Message ID:
00636875
Vues:
18
Thank you for your help...

I think I followed the instructions in your articles. I created a little Hello World COM application like this :

DEFINE CLASS SERVER_COM AS CUSTOM OLEPUBLIC

FUNCTION RETURN_HELLO_WORLD
RETURN "MY FIRST COM HELLO WORLD !!!"
ENDFUNC

ENDDEFINE


I installed it on a Win2K server and distributed it on a Win2k workstation...

I made a simple UI like this :

LOCAL SERVER_OBJECT
SERVER_OBJECT = CREATEOBJECT("COM_SERVER.SERVER_COM")

MESSAGEBOX (SERVER_OBJECT.RETURN_HELLO_WORLD)


When I execute my UI, on my developpement machine it works fine, but on my other workstation, where I dirtributed my .msi component, the MESSAGEBOX appears empty... Any idea ??

I also have 1 more question : If I understand well, using this way of distributing components, if I change something in a method of my component, I won't have to reinstall anything. Replacing my DLL will be enough (right ?). What about adding a method to that component ?

Thanks again for your help !
********************************************

Benoit Grenier


encoder@silogic.ca (Job)
encoder@sympatico.ca (home)
Web site : www.silogic.ca
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform