Filter löschen
Filter löschen

How to build a shared DLL 32 bit on a 64 bit machine?

4 Ansichten (letzte 30 Tage)
Marco
Marco am 19 Okt. 2012
Hi, I am a Windows developer and I am trying to help a colleague to build a DLL with Simulink Embedded Coder to integrate in desktop a software I am developing.
I need a 32-bit DLL but the Embedded Coder installed on my colleague's PC (Windows 64-bit) generate a 64-bit DLL and we didn't find any option where we can change this output.
Can you suggest me a solution?
Thank you in advance, Marco

Antworten (2)

Sachin Ganjare
Sachin Ganjare am 19 Okt. 2012

Image Analyst
Image Analyst am 19 Okt. 2012
Bearbeitet: Image Analyst am 19 Okt. 2012
If it's in Visual Studio, there are options you can set to make it generate a 32 bit DLL. If you want to compile it using MATLAB, you know that you can have both the 32 bit version and 64 bit version of MATLAB installed on your computer at the same time. Compile using the matching MATLAB version - 32 bit MATLAB for 32 bit DLL and 64 bit MATLAB for 64 bit DLL. I think that should work. I know it does for EXE's, though I haven't done it for DLL's.
  1 Kommentar
Judith
Judith am 6 Mär. 2013
How can you set the options in visual studio to generate a 32 bit DLL? In my configuration Manager, I can only select x64 for a platform.

Melden Sie sich an, um zu kommentieren.

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by