MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Can you call 32 Bit DLLs from Mathematica 8.0 ?

  • To: mathgroup at
  • Subject: [mg125269] Re: Can you call 32 Bit DLLs from Mathematica 8.0 ?
  • From: Guido <guido.reichert at>
  • Date: Sat, 3 Mar 2012 06:54:18 -0500 (EST)
  • Delivered-to:
  • References: <jinjsa$d4v$>

On 1 Mrz., 11:43, Guido <guido.reich... at> wrote:
> I am using a System Dynamics software (Vensim DSS) that is still a 32
> Bit application and provides a full 32 Bit DLL for use with other
> programs. I had thought that I can call that DLL from Mathematica 8.0.
> Such a call produces a 'BadFormat' error and the Vensim support says
> that 64 Bit and 32 Bit do not mix well. Is there any chance to call a
> 32 Bit DLL from Mathematica 8.0?
> Kind regards
> Guido

Next to setting the Kernel to be loaded in the 32 Bit version as has
been suggested here, there seems to be a more simple method available
since what matters should be the .NET/Link application and that can be
set to load as 32 Bit which then enables the use of 32 Bit DLLs and
precludes the use of 64 Bit ones. For the original reference see here:

So what needs to be done is:

InstallNET["Force32Bit" -> True]

with this everything so far seems to work out. I am not sure whether
the UninstallNet[] is necessary as it seems to also work without it.


  • Prev by Date: Re: how to sovle array which odd and even have difference recursive function
  • Next by Date: Re: Engineering requests
  • Previous by thread: Re: Can you call 32 Bit DLLs from Mathematica 8.0 ?
  • Next by thread: NDSolve