Re: Re: Fw: [PHP-GTK] win32 problems again (crash even on loading php_gtk.dll)
| From: | Markus Fischer | Date: | Tue, 18 Sep 2001 05:44:09 +0000 |
| Subject: | Re: Re: Fw: [PHP-GTK] win32 problems again (crash even on loading php_gtk.dll) | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-57@lists.php.net to get a copy of this message | ||
On Mon, Sep 17, 2001 at 02:53:32PM -0700, Frank M. Kromann wrote :
> I'm doing all my (win32) development on Windows 2000 and I use
> IIS 5, IE and Netscape prowsers and I have no problems using
> both Web and GTK applications on the same box, at the same
> time.
Hmm ... for me its always crashing in MSVCRT.DLL ... maybe I've a
problem there (I hope so ;)
> I have only one copy of each php file (php.exe, php4ts.dll,
> php4isapi.dll and all the extension dll's) Everything is
> installed in d:\php4 and all my script mappings piont to either
> php.exe or php4isapi.dll (in different directories)
>
> Windows do some wierd things with DLL's. If you have one system
> loading php4ts.dll (apache or iis) and you try to load the same
> dll from another program (php.exe) you might end up using the
> wrong copy as it is allready in memory. This might be the reson
> for the problems.
I even tried it with a) shuttung down apache b) shutting down
apache, renaming where it is instalied with its *dll files and
restart the computer so I'm 100% sure it isn't executed on next
startup. But since I'm using dependencywalker which already tells
me which php4ts.dll my php.exe loads I'm sure the right
php4ts.dll gets loaded.
> I have just recompiled from latest cvs and both the Release_TS
> and Debug_TS builds works fine on my system.
Now thats a bit strange. Even on my system at home, which is imho
a clean system because I can successfully compile most of the
things, I get a crash when using the debug build of PHP-GTK. It,
again, crashes somewhere in MSVCRT.DLL from a call from GTK+.
> If you want fresh compiled binariews I'll be happy to mail
> copies of my files to you.
I'ld be pleased to test them. From now on I'll try anything
because I'll love nothing more than finding a way to develop
php-gtk @ work :)
ty,
Markus
ps: Just for completeness; can you tell me which MSVCRT.DLL
version number, filesize and file location do you have?
At home I have:
Location: C:\WINNT\system32
Size: 284 KB (290.869 Bytes)
Version: 6.1.8924.0