Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Loading a program with an incorrect format
Message
De
22/08/2003 11:30:42
Roger Smith
Ryalux Carpets Ltd
Rochdale, Royaume Uni
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Titre:
Loading a program with an incorrect format
Divers
Thread ID:
00822619
Message ID:
00822619
Vues:
51
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
Fil
Voir

Click here to load this message in the networking platform