Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Installing VB.NET application using VFP DLL
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Titre:
Installing VB.NET application using VFP DLL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01111923
Message ID:
01111923
Vues:
101
We have developed a COM object DLL in VFP 9 SP1 and we used this dll in a small VB.NET application.
The DLL is working fine from the VB.NET application. But when we build an installation package for the whole thing and run this installation on a different machine; the VB.NET application will keep on referring the DLL by the GUID used on the machine where it was first developed.

What is happening is that after building the DLL on the development machine, it is getting registered automatically on that machine. And on the same machine we are adding this DLL as a reference to the VB.NET application. So .NET is automatically creating a wrapper DLL called Interop.VfpDllName.dll and using this one if the .NET application. It seems that this wrapper is always referencing the VFP DLL by it's GUID from the development machine. So when we are installing the whole application on a new machine the DLL is getting installed and registered with a new GUID but the wrapper DLL Interop.VfpDllName.dll is getting the new GUID for the new machine instead it is still using the original one from the development machine. If we recompile the .NET application on the new machine after updating the reference to the VFP DLL; the .NET application will work fine.

Anyone have an idea about this issue or faced this before please give us a hand here.
Thank you in advance.
Regards
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform