Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where do I start ?
Message
 
 
To
25/03/2002 10:53:06
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00636827
Message ID:
00636875
Views:
19
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
Previous
Reply
Map
View

Click here to load this message in the networking platform