How to use 32-bit DLL in 64 - bit system

Created at 29 Dec 2013, 09:44
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
TI

tieren

Joined 29.12.2013

How to use 32-bit DLL in 64 - bit system
29 Dec 2013, 09:44


My Dll is 32 bit , in  32-bit system can be normal use. 

But cannot be used in the 64 - bit system. 

How in the 64 - bit system  cAlgo code into  32-bit? 

Thank you 


@tieren
Replies

bachapk
13 Jun 2014, 22:17

I am also facing the exact problem. When I am calling a 32 bit DLL then following error appears:

Crashed in OnTick with BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)

I know if we compile the dll with AnyCPU or x64 option then this error will be removed but I don't have source code of the dll. Any help how we can find a solution?


@bachapk

chiripacha
04 Jul 2014, 15:48

RE:

modarkat said:

This link could help you:

http://www.codeproject.com/Articles/383138/BadImageFormatException-x-i-x

I understad that ctrader runs smoothly on windows 7 64 bit? Is that correct?


@chiripacha

Spotware
04 Jul 2014, 15:55

RE: RE:

chiripacha said:

modarkat said:

This link could help you:

http://www.codeproject.com/Articles/383138/BadImageFormatException-x-i-x

I understad that ctrader runs smoothly on windows 7 64 bit? Is that correct?

Yes, cTrader supports Windows 7 64 bit


@Spotware

chiripacha
04 Jul 2014, 17:52

RE: RE: RE:

Spotware said:

chiripacha said:

modarkat said:

This link could help you:

http://www.codeproject.com/Articles/383138/BadImageFormatException-x-i-x

I understad that ctrader runs smoothly on windows 7 64 bit? Is that correct?

Yes, cTrader supports Windows 7 64 bit

thank you. bye


@chiripacha