|
-
April 18th, 2011, 12:04 PM
#1
Managed C++/CLI static linked with native library
Hi, All,
I am trying to expose functions in native c++ through managed c++/CLI to C#. when I set the Target platform to "Any CPU", I got the error
Unable to load file or assembly,....
Then, I switch Target Platform to x86, I got another different error:
is not a valid win32 application.
My environment is visual studio 2008 under windows 7 64-bit. I suspect it is because some dependency is 64-bit.
But, how can find out what really causes this problem?
Any suggestion will be appreciated. Thanks in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|