• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Edit: Thanks to PhatoseAlpha for helping with the VB 2005 problem and it is now working fine.. :)

formulav8

Diamond Member
Edit: Its working now thanks to PhatoseAlpha Thanks
I made a .dll awhile back that will return the cpu's supported features and such. When its accessed via VB.NET 2003, there appears to be no problem at all.

But as soon as I try to access it from VB 2005/2008 I get a: "An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)" error message. I tried recompiling in .NET version 2005.

It works perfectly fine in XP. I think it also worked in Vista 32 Bit when I had it, but I do not remember 100%.

But I am now running Vista 64 Bit and it keeps throwing this error message when I try to access the .dll's methods.

Below is most of the error data.




*******************
Edit: Removed Message
*******************


Anyone have any sugesstions for killing this error message? I've recompiled the .dll but didn't help anything.

Thanks for any help. 🙂


Jason
 
Recompile the DLL with the target platform set the x32 instead of any. Project Properties -> Build -> Platform target.

The issue is that the .net unmanaged code targets any platform, but the unmanaged C++ dll does not. You can either make divide it up into 2 dll for x64 or x86 (which seems to miss the point if you're detecting CPUs, which may or may not be x64), or make the .net portion x86 only and let WoW do the work.
 
Thankyou for the info. I will give it a try later on. Thanks 🙂

Edit: It seems to have fix it. Thankyou! 🙂



Jason
 
Back
Top