Re: PHP C++ extension on Windows

From: Date: Fri, 09 May 2014 13:48:16 +0000
Subject: Re: PHP C++ extension on Windows
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15  Groups: php.internals 
Request: Send a blank email to internals+get-74096@lists.php.net to get a copy of this message
Hello Anatol, i hope/think this is the "final" hint... SAP NW RFC is build with VS2008 (i got the compiled one...so im not 100% sure) and i compile the php extension itself with VS2012.... I get now VS2008 + Windows SDK 6.1 and try to compile the php extension with it.... Shouldn't be a problem for PHP 5.5 when the extension is compiled with VS2008? 2014-05-09 15:38 GMT+02:00 Anatol Belski <anatol.php@belski.net>: > Hi Martin, > > On Fri, May 9, 2014 14:13, Martin Keckeis wrote: > > Hello together, > > > > > > the compiled module is now loaded (2 functions work, which dont need the > > dll extension from SAP) and its also shown in phpInfo.... > > > > But ASAP the extension is executed with dll dependency -> it crashes.... > > > > > > @Pierre > > Is it a problem when the dlls are getting partly loaded from > > C:\Windows\SysWOW64\... > > See here the error report: > > > > https://gist.github.com/ThaDafinser/e6380157c4f77a3286e5#file-report_crash > > -txt-L47-L96 > > > How do you compile the dependency lib? It should use /MD and be non debug > for the release build. Also the dependency build has to match the > corresponding CRT and paltform used for PHP build. Such mistakes are the > frequent reasons for fail. Quite unlikely it has something to do with PHP > itself. For the particular exception 80000003 you experience it would also > make sense to consult something like msdn or stackoverflow as that > exception is a general one and can have many causes. > > Regards > > Anatol > >

« previous php.internals (#74096) next »