On 13/03/2007 21.57, Don Dwiggins wrote:
> Here's a somewhat different problem with this DLL, using it on a program
> that updates a database:
>
> On a machine that doesn't have the DLL already, the program appears to
> run OK (no crash, no error messages), but nothing is done to the
> database; if I put a copy of the DLL into the folder with the
> exectuable, it updates the DB properly.
>
> Also, on a machine that has the DLL in \Windows\system32, if I rename
> the DLL, the program again fails to change the database.
Which operating system are you using? If it's Windows XP, which service pack?
Windows XP SP2 and above use a different DLL search path from all the previous
Windows versions. I was wondering if this was related somehow...
> I've verified, using Process Explorer, that the DLL is in fact extracted
> during execution into the temp folder, but apparently it's not being
> referenced. I'm guessing that the temp folder needs to be added to the
> "path" environment of the process, since IIRC that's how DLLs are
> located by executables. Is there any way to make that happen? I'll be
> happy to make the changes and test it out if someone can guide me.
Uhm. This is in fact pretty weird. The point is that if MSVCR71.DLL wasn't
found by Windows in the DLL search path, the program would not even start:
PYTHON24.DLL requires it, and so all the .PYDs do.
What database library are you using? Is a library shipped with a .PYD? Can you
verify with a dependency viewer ('bindepend.py' part of PyInstaller, or
http://www.dependencywalker.com/ if you like GUI) that the .PYD of the
database library does *explicitally* reference MSVCR71.DLL?
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/PyInstaller?hl=en
-~----------~----~----~----~------~----~------~--~---