[wxPython] msvcrt.dll change

FYI Last week we had strange bugs on Win9X due to not installing current
msvcrtl.dll

interesting point... things worked with my app very well on NT 4/2000 etc... but did strange things (eg didn't start up) on a win98 laptop. Hmmmm.

Well, if its msvcrtl.dll that's missing, would the simplest solution be to put it in the same dir as with the app itself? (ie not take the chance of overwriting the system one)

Hmmm...

Ellers

ellers@iinet.net.au wrote:

FYI Last week we had strange bugs on Win9X due to not installing current msvcrtl.dll

interesting point... things worked with my app very well on NT 4/2000 etc... but did strange things (eg didn't start up) on a win98 laptop. Hmmmm.

Well, if its msvcrtl.dll that's missing, would the simplest solution be to put it in the same dir as with the app itself? (ie not take the chance of overwriting the system one)

Hmmm...

This works only for NT/2000 (where it's not necessary)

Niki Spahiev

>
> FYI Last week we had strange bugs on Win9X due to not installing current
> msvcrtl.dll

interesting point... things worked with my app very well on NT 4/2000

etc... but did strange things (eg didn't start up) on a win98 laptop. Hmmmm.

Well, if its msvcrtl.dll that's missing, would the simplest solution be to

put it in the same dir as with the app itself? (ie not take the chance of
overwriting the system one)

Please see the message that Bob posted a link to. In a nutshell some system
DLLs *must* be in the system dir. If you don't put them there then the old
ones will still be loaded from the system dir causing problems with your app
if you have DLLs (such as wxPython's .pyd files) that expect to be using the
new version.

Here is what I put in my InnoSetup script to ensure that if my copy of the
system DLLs are newer that they will get installed on the target system, and
left alone otherwise (rejoin broken lines):

Source: "c:\winnt\system32\MSVCRT.dll"; DestDir: "{sys}"; CopyMode:
alwaysskipifsameorolder; Flags: sharedfile uninsneveruninstall
restartreplace;

Source: "c:\winnt\system32\MSVCIRT.dll"; DestDir: "{sys}"; CopyMode:
alwaysskipifsameorolder; Flags: sharedfile uninsneveruninstall
restartreplace;

Source: "c:\winnt\system32\MSVCP60.dll"; DestDir: "{sys}"; CopyMode:
alwaysskipifsameorolder; Flags: sharedfile uninsneveruninstall
restartreplace;

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Here is what I put in my InnoSetup script to ensure that if my copy of the
system DLLs are newer that they will get installed on the target system,

and

left alone otherwise (rejoin broken lines):

Source: "c:\winnt\system32\MSVCRT.dll"; DestDir: "{sys}"; CopyMode:
alwaysskipifsameorolder; Flags: sharedfile uninsneveruninstall
restartreplace;

Source: "c:\winnt\system32\MSVCIRT.dll"; DestDir: "{sys}"; CopyMode:
alwaysskipifsameorolder; Flags: sharedfile uninsneveruninstall
restartreplace;

Source: "c:\winnt\system32\MSVCP60.dll"; DestDir: "{sys}"; CopyMode:
alwaysskipifsameorolder; Flags: sharedfile uninsneveruninstall
restartreplace;

I forgot to mention that the third one is a new requirment with 2.3.3pre6
and I think it is only required if you are using the wxIEHtmlWin.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Source: "c:\winnt\system32\MSVCRT.dll"; DestDir: "{sys}"; CopyMode:
alwaysskipifsameorolder; Flags: sharedfile uninsneveruninstall
restartreplace;

Source: "c:\winnt\system32\MSVCIRT.dll"; DestDir: "{sys}"; CopyMode:
alwaysskipifsameorolder; Flags: sharedfile uninsneveruninstall
restartreplace;

Source: "c:\winnt\system32\MSVCP60.dll"; DestDir: "{sys}"; CopyMode:
alwaysskipifsameorolder; Flags: sharedfile uninsneveruninstall
restartreplace;

I forgot to mention that the third one is a new requirment with 2.3.3pre6
and I think it is only required if you are using the wxIEHtmlWin.

Its possible to eliminate need for MSVCP60.dll and MSVCIRT.dll by using STLport.

HTH
Niki Spahiev