Subject: | Win32 DBD::Pg PPMs |
Date: | Sun, 7 Dec 2008 15:23:55 -0500 |
To: | <bug-DBD-Pg [...] rt.cpan.org> |
From: | "Raymond Barkhouse" <rbarkhouse [...] rim.com> |
I've seen a number of problems relating to the manifest file reported
(mainly with perl 5.10). These result in errors such as:
* install_driver(Pg) failed: Can't load
'C:/Perl/site/lib/auto/DBD/Pg/Pg.dll' for module DBD::Pg: load_file:A
dynamic link library (DLL) initialization routine failed at
C:/Perl/lib/DynaLoader.pm line 202.\n at (eval 29) line 3\n
* R6034 An application has made an attempt to load the C runtime library
incorrectly. [more]
The PPMs contains an external manifest filef or Pg.dll, this means that
for many users the calling executable (perl.exe, httpd.exe, etc.) also
needs a 'executable.exe.manifest' that is a copy of Pg.dll.manifest to
load the C runtime correctly. If instead the manifest was imbedded
inside the dll (see
http://msdn.microsoft.com/en-us/library/ms235229(VS.80).aspx looking for
Embed Manifest) it would be available to all calling applications as it
would be a text resouce inside the DLL.
Thanks.
---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.