X6 toGo appl. error - cant find MSVCR71.dll

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

X6 toGo appl. error - cant find MSVCR71.dll

Theo Pronk
Background...
A simple toGo Application created on my development PC works fine when
I run it.
But when distributed to a client it come up with "The application has
failed to start because MSVCR71.dll was not found. Reinstalling the
aplication may fix the problem"

Client PC running WinXP SR2

It looks like MSVCR71.dll is no longer distrbuted with XP earlier PCs
which were setup a while ago will still have the dll, but new one dont
appear to.

MSDN seems to indicate that the dll should be merged with the
application if require. see
http://support.microsoft.com/default.aspx?scid=kb;en-us;326922

Question...
can the toGo deployment do this merging and how???

Cheers, Theo


Reply | Threaded
Open this post in threaded view
|

Re: X6 toGo appl. error - cant find MSVCR71.dll

Blair McGlashan-3
"Theo Pronk" <[hidden email]> wrote in message
news:[hidden email]...

> Background...
> A simple toGo Application created on my development PC works fine when
> I run it.
> But when distributed to a client it come up with "The application has
> failed to start because MSVCR71.dll was not found. Reinstalling the
> aplication may fix the problem"
>
> Client PC running WinXP SR2
>
> It looks like MSVCR71.dll is no longer distrbuted with XP earlier PCs
> which were setup a while ago will still have the dll, but new one dont
> appear to.
>
> MSDN seems to indicate that the dll should be merged with the
> application if require. see
> http://support.microsoft.com/default.aspx?scid=kb;en-us;326922
>
> Question...
> can the toGo deployment do this merging and how???
>

No, unfortunately it cannot be merged, but the article does not suggest
that:

"Because [the C runtime DLL] is no longer a system component, install it in
your applications Program Files directory with other application-specific
code."

This means you need to distribute it with your executable. xcopy-style
deployment, or a zip file, will be entirely adequate, despite what the
article says about using the merge module.

The reason it cannot practically be merged is that that would require
linking against the static version of the C runtime. Although the C runtime
support needs of the VM are statically known, this is not true of the use of
it made by the image. We could bind the entire CRT into the togo executable,
but it would make it rather large, and would also require a little tweaking
to redirect the CRT binding into the executable rather than the external
DLL. If you really wanted such a to-go stub, we could probably supply one
under a paid for support incident.

Regards

Blair


Reply | Threaded
Open this post in threaded view
|

Re: X6 toGo appl. error - cant find MSVCR71.dll

Theo Pronk
Thanks Blair,
I had already guessed that would be the answer. Unfortunatly this
change by MS means that the toGo has lost a large part of its appeal
(ie 1 file to distribute).
Cheers, Theo