Re: LW 5.0 on Windows, Microsoft.VC80.CRT and delivered applications
Hi Simon
I normally would expect that a DLL is found if it is in the actual directory
or in the system32 directory. But this might be a wrong assumption for
..net DLL's and you need to deliver the manifest file, too.
But i don't think its a problem of a particular OS release.
Regards
AHz
Simon Katz wrote:
>Andreas,
>
>Thanks -- and see the mail from me sent at about the same
>time as you sent yours.
>
>I tried your suggestion of copying msvcr80.dll to the
>c:\windows\system32 directory -- it doesn't make the
>problem go away.
>
>FWIW, my computer without LW 5.0 installed is running
>Windows XP Professional, Version 2002, Service Pack 2.
>I wonder whether that makes any difference.
>
>Simon
>
>
>
>>-----Original Message-----
>>From: owner-lisp-hug@lispworks.com
>>[mailto:owner-lisp-hug@lispworks.com] On Behalf Of Andreas
>>Sent: 04 August 2006 12:29
>>To: Simon Katz
>>Cc: lisp-hug@lispworks.com
>>Subject: Re: LW 5.0 on Windows, Microsoft.VC80.CRT and
>>delivered applications
>>
>>
>>Hi Simon
>>
>> From "readme-5-0.pdf":
>>
>>"12.15.1 Runtime library requirement on Windows
>> LispWorks for Windows now requires the Microsoft Visual
>>Studio runtime
>> library msvcr80.dll. The LispWorks installer installs this
>>DLL if it is
>> not present.
>> Applications you build with LispWorks for Windows also require this
>> DLL, so you must ensure it is available on target machines."
>>
>>Have you tried to copy the DLL into the c:\windows\system32
>>directory ?
>>
>>Sorry, i didnt have LWW5 installed here at work so i can't
>>give you more
>>details.
>>
>>Hth
>>Regards
>>AHz
>>
>>
>>Simon Katz wrote:
>>
>>
>>
>>>Thanks for the suggestion, but I can't find anything in the
>>>release notes or delivery guide that talks about this. (I did
>>>look before posting, and I've looked again!) Maybe that's a
>>>bug in my brain; any precise pointers into the documentation
>>>would be welcome.
>>>
>>>I tried copying Msvcrt.dll from the directory containing the
>>>LW executable to the directory containing my delivered
>>>application (on my machine without LW 5 installed), but that
>>>didn't make the problem go away.
>>>
>>>Simon
>>>
>>>
>>>
>>>
>>>
>>>>-----Original Message-----
>>>>From: owner-lisp-hug@lispworks.com
>>>>[mailto:owner-lisp-hug@lispworks.com] On Behalf Of Andreas
>>>>Sent: 04 August 2006 10:20
>>>>To: Simon Katz
>>>>Cc: lisp-hug@lispworks.com
>>>>Subject: Re: LW 5.0 on Windows, Microsoft.VC80.CRT and
>>>>delivered applications
>>>>
>>>>
>>>>Hi
>>>>RTFM :-) Particular the release notes for LWW5. You need to
>>>>
>>>>
>deliver
>
>
>>>>msvcrt8.dll (sorry haven't the docs here at work) with your app.
>>>>
>>>>
>>>>
>>>>
>>>LWW5
>>>
>>>
>>>
>>>
>>>>relies on it. If i remember correct you find the DLL in your
>>>>LWW folder
>>>>where the LWW binary is. Then it should work.
>>>>Hope that helps
>>>>
>>>>AHz
>>>>
>>>>
>>>>
>>>>Simon Katz wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>I'm in the process of getting my code working with LWW 5.0.
>>>>>
>>>>>When I try to start up a delivered application on a machine
>>>>>that doesn't have LW 5.0 installed, I get the following
>>>>>error message:
>>>>>
>>>>> This application has failed to start because the
>>>>> application configuration is incorrect.
>>>>>
>>>>>I tracked this down to the Microsoft.VC80.CRT component
>>>>>not being present.
>>>>>
>>>>>I've found a solution that appears to work, but I don't know
>>>>>whether I'm really doing The Right Thing.
>>>>>
>>>>>Following instructions at
>>>>>
>>>>>
>>>>>
>>>>>
>>>>http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=164465
>>>>
>>>>
>>&SiteID=1
>>
>>
>>>>
>>>>
>>>>
>>>>
>>>>>I have created a folder named Microsoft.VC80.CRT in the same
>>>>>folder as my delivered .exe, with the following contents:
>>>>>
>>>>> msvcm80.dll
>>>>> msvcp80.dll
>>>>> msvcr80.dll
>>>>> (the above copied from
>>>>>C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0
>>>>>
>>>>>
>>>>>
>>>>>
>>>>.50727.42
>>>>
>>>>
>>>>
>>>>
>>>>>_x-ww_0de06acd)
>>>>>
>>>>> Microsoft.VC80.CRT.manifest
>>>>>
>>>>>The file Microsoft.VC80.CRT.manifest has the following
>>>>>contents:
>>>>>
>>>>>--------8<--------
>>>>><?xml version="1.0" encoding="UTF-8" standalone="yes"?>
>>>>><!-- Copyright C 1981-2001 Microsoft Corporation -->
>>>>><assembly xmlns="urn:schemas-microsoft-com:asm.v1"
>>>>>manifestVersion="1.0">
>>>>> <noInheritable/>
>>>>> <assemblyIdentity
>>>>> type="win32"
>>>>> name="Microsoft.VC80.CRT"
>>>>> version="8.0.50608.0"
>>>>> processorArchitecture="x86"
>>>>> publicKeyToken="1fc8b3b9a1e18e3b"
>>>>> />
>>>>> <file name="msvcr80.dll"/>
>>>>> <file name="msvcp80.dll"/>
>>>>> <file name="msvcm80.dll"/>
>>>>></assembly>
>>>>>--------8<--------
>>>>>
>>>>>Everything seems to be working fine.
>>>>>
>>>>>So, my question is: Am I doing The Right Thing or is there
>>>>>a better way? I'm aware of the possibility of using vcredist_x86
>>>>>and ensuring that Windows Installer 3.x engine is available on
>>>>>
>>>>>
>the
>
>
>>>>>user's machine (as mentioned at the above link), but for now at
>>>>>least I think I'd like to keep things as simple as possible.
>>>>>
>>>>>Simon
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>
>
>
>