Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bind Events to a DCOM Object
Message
From
26/08/2008 11:16:59
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Miscellaneous
Thread ID:
01341797
Message ID:
01341833
Views:
10
Compile the component as a DLL and install it as a Component Services (COM+) application then instantiate it with CREATEOBJECT(). You will then use Loosely Coupled Events, a feature of Component Services. There is an article on my web site that shows how to do all this.

>Hi all, is there a way to bind events to a DCOM object instantiated with CREATEOBJECTEX function? I know of the IMPLEMENTS keyword in the DEFINE CLASS command but my problem is that this particular DLL won't be registered in the local machine just on the server thus I can't just use a ProgID to instantiate it.
>
>TIA,
>
>Enmanuel
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform