From: Thomas on

Will an application compiled on a 32-bit windows system run on a 64-bit windows system? I am compiling with MATLAB R2009b on Windows XP. The target machine is 64 bit Windows; don't know if its Vista or 7 or whether that matters. I can't seem to find a clear statement concerning this question in the Matlab documentation.

Currently, the compiled version does not run, it gives an error about not being able to find the runtime dll (I think.) If there is someway to make this work, it would be nice to know.

Regards, Tom
From: Dan Hensley on
Thomas wrote, On 4/20/2010 2:02 PM:
>
> Will an application compiled on a 32-bit windows system run on a 64-bit
> windows system? I am compiling with MATLAB R2009b on Windows XP. The
> target machine is 64 bit Windows; don't know if its Vista or 7 or
> whether that matters. I can't seem to find a clear statement concerning
> this question in the Matlab documentation.
>
> Currently, the compiled version does not run, it gives an error about
> not being able to find the runtime dll (I think.) If there is someway to
> make this work, it would be nice to know.
>
> Regards, Tom

Yes, it will run fine, provided that you install the appropriate 32-bit
MCR. It sounds like you haven't done that yet...

Regards,
Dan
From: Thomas on
Dan Hensley <somewhere(a)over.there.invalid> wrote in message <hql4sg$vdn$1(a)news.eternal-september.org>...
> Thomas wrote, On 4/20/2010 2:02 PM:
> >
> > Will an application compiled on a 32-bit windows system run on a 64-bit
> > windows system? I am compiling with MATLAB R2009b on Windows XP. The
> > target machine is 64 bit Windows; don't know if its Vista or 7 or
> > whether that matters. I can't seem to find a clear statement concerning
> > this question in the Matlab documentation.
> >
> > Currently, the compiled version does not run, it gives an error about
> > not being able to find the runtime dll (I think.) If there is someway to
> > make this work, it would be nice to know.
> >
> > Regards, Tom
>
> Yes, it will run fine, provided that you install the appropriate 32-bit
> MCR. It sounds like you haven't done that yet...
>
> Regards,
> Dan
The file mclmcrrt711.dll installs to Program Files (x86) on a 64-bit system, not to Program Files. There appears to be some disconnect between where MCRinstaller puts the file and where the compiled exe looks for it.
From: Thomas on
Sorry to bother you folks. After reinstalling, the compiled program runs. Unfortunately, I don't know why it would not work previously.

Regards, Tom