.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

32 bit oracle client in 64 bit application

1 REPLY 1
SOLVED
Reply
Message 1 of 2
wesbird
819 Views, 1 Reply

32 bit oracle client in 64 bit application

Hi,  

 

Is this possible, create a .Net 3.5 Dll(A.dll), reference to Oracle 11g 32 bit client Oracle.DataAccess.dll. this dll will be used in another dll(B.dll), which load in AutoCAD 64 bit application. 32 bit version of AutoCAD is not allowed to install on Windows 7 64 bit.   Right now I set my B.dll as 'Any CPU', and A.dll as 'Any CPU' as well.   Do I have to use 64 bit oracle client in my A.dll? if not, how I can make it works? 

 

 

 

Thank you

Wes

Windows 10 64 bit, AutoCAD (ACA, Map) 2023
1 REPLY 1
Message 2 of 2
StephenPreston
in reply to: wesbird

You can't load any 32-bit DLL into a 64-bit process space (and vice versa). So if the only Oracle driver DLL you have is 32-bit, then you'd have to do something like host that in a 32-bit standalone executable, and expose an interface (e.g. COM) from the executable that your 64-bit DLL can access.

Cheers,

Stephen Preston
Autodesk Developer Network

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost