Click here to Skip to main content
15,886,574 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
hi,
currently i am running my code in 64 bit OS in which when i extract data from 32 bit dll its not working. when the same is done on 32 bit OS it working perfectly fine.
need help

thanx
Regards
Sushant

What I have tried:

i tried creating exe in x86 and even in x64 both are not useful.
Posted
Updated 14-Feb-17 18:41pm

It has nothing to do with the O/S but everything to do with the app you're loading the .DLL with.

You can NOT mix 32- and 64-bit code in the same process. So, if the main app is a 64-bit app or is compiled "AnyCPU" and running on a 64-bit O/S, it can NOT use 32-bit-only .DLL's.

Either supply a 64-bit version of your .DLL or recompile the main app, if at all possible, to be a 32-bit only app.

Yes, you can run 32-bit apps on a 64-bit O/S.
 
Share this answer
 
you can setting iis。

Allow application pool to allow 32 bit.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900