Information générale
Catégorie:
Visual FoxPro et .NET
Titre:
Loading a program with an incorrect format
I have VB.NET classes registered as COM objects (.dlls) which I am calling from a VFP 6.0 application.
When running within the VFP IDE all works fine.
However, when I try and call the .NET classes from our Enterprise application running through Windows XP (i.e. double clicking the EXE from Explorer) I get the following error:
OLE Error Code 0x8007000b: An attempt was made to load a program with an incorrect format.
Creating a simple prgram and comiling as a VFP exe and then running from Windows XP also works fine.
I then tried to create a .NET object as the first line in Main.prg of our Enterprise app but still got the same problem.
I have tried re-building and re-registering the dll but without success.
Any ideas out there what might causing this?
Thanks in advance,
Roger Smith.
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement