Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74099 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21199 invoked from network); 9 May 2014 14:32:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 May 2014 14:32:25 -0000 Authentication-Results: pb1.pair.com smtp.mail=anatol.php@belski.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=anatol.php@belski.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain belski.net from 85.214.73.107 cause and error) X-PHP-List-Original-Sender: anatol.php@belski.net X-Host-Fingerprint: 85.214.73.107 klapt.com Received: from [85.214.73.107] ([85.214.73.107:59254] helo=klapt.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4F/96-15882-7F6EC635 for ; Fri, 09 May 2014 10:32:24 -0400 Received: by klapt.com (Postfix, from userid 33) id 7D50D23D6106; Fri, 9 May 2014 16:32:20 +0200 (CEST) Received: from 94.216.58.240 (SquirrelMail authenticated user anatol@belski.net) by webmail.klapt.com with HTTP; Fri, 9 May 2014 16:32:20 +0200 Message-ID: In-Reply-To: References: <42E6A56D-0FF1-4408-BCF5-DFBCEDA735EB@saxonica.com> <1396445137.2982.291.camel@guybrush> <2EF10AD3-FC2C-4F34-9639-8BC798DB0917@saxonica.com> <1396449767.2982.294.camel@guybrush> <40B86AC1-3057-4016-95E2-EB8E754A70E1@saxonica.com> <57711604dc923c34412021350230d52e.squirrel@webmail.klapt.com> <964B0802-BCEF-4A11-8660-B2E9DA592B9C@saxonica.com> <32FFFD7A-75C5-45A2-8642-F038C3B0D494@saxonica.com> Date: Fri, 9 May 2014 16:32:20 +0200 To: "Martin Keckeis" Cc: "Anatol Belski" , "O'Neil Delpratt" , "Pierre Joye" , "PHP internals" User-Agent: SquirrelMail/1.5.2 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] PHP C++ extension on Windows From: anatol.php@belski.net ("Anatol Belski") On Fri, May 9, 2014 15:48, Martin Keckeis wrote: > 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? > actually it is a issue, as I mentioned before - the CRT should match. It is any platform alike with the compatibility between different compiler versions. I got it, so that are the bins provided by SAP and of course there are no sources for that. Maybe they provide some static variant of that lib? that might work better (but depends how it's built). Or, don't they provide the vc11 bins, maybe ask support if you can? Regards Anatol > > > 2014-05-09 15:38 GMT+02:00 Anatol Belski : > > >> 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_cr >> ash >>> -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 >> >> >> >