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:
01618189
Vues:
34
>>
>>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
>
Hmm, so you suggest to keep using the bridge, right? Ok, I'll remove the COM exposure from my library then.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform