Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WwDotNetBridge
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01617874
Message ID:
01618188
Vues:
43
J'aime (1)
>
>So, the problem will be to register that component for our clients - I am wondering if I should use your RegisterDotNetComponent from the older article as is?
>

That's actually one of the big reasons I use wwDotNetBridge - I don't have to worry about registering it as a COM component. Plus I don't have to wrap every single method I want to use just to expose it via COM - I can call it directly.

I just wrap something like this in a function or class:
loBridge = CREATEOBJECT("wwDotNetBridge", "V4")
IF loBridge.LoadAssembly(m.lcFullAssemblyPathAndName)
   loObj = loBridge.CreateInstance("NameOfInstance")
ELSE
   * Error
   ? loBridge.cErrorMsg
ENDIF
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform