Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COM interop calls old code
Message
 
À
08/09/2009 12:31:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Web Service
Divers
Thread ID:
01423090
Message ID:
01423129
Vues:
64
Hi Jim,

if you have changed the interface of the COM server (added methods, parameters, etc) that are visible to the outside, then you must generate a new class ids in the VFP build project dialog. You also have to delete the reference from the project and newly add the COM reference. As far as VS.NET is concerned, the new version is a completely different class that happens to have methods with the same name. Therefore you have to rebuild the project. When you deploy the project make sure you deploy the COM DLL as well as the InterOp DLL that VS.NET generates. If you don't change the InterOp DLL, the .NET solution will still call the existing code.
--
Christof
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform