Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Loading a program with an incorrect format
Message
From
22/08/2003 11:30:42
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Title:
Loading a program with an incorrect format
Miscellaneous
Thread ID:
00822619
Message ID:
00822619
Views:
53
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.
Reply
Map
View

Click here to load this message in the networking platform