Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74095 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 11085 invoked from network); 9 May 2014 13:38:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 May 2014 13:38:09 -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:57422] helo=klapt.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 11/84-15882-D3ADC635 for ; Fri, 09 May 2014 09:38:06 -0400 Received: by klapt.com (Postfix, from userid 33) id CAD6223D6106; Fri, 9 May 2014 15:38:01 +0200 (CEST) Received: from 94.216.58.240 (SquirrelMail authenticated user anatol@belski.net) by webmail.klapt.com with HTTP; Fri, 9 May 2014 15:38:01 +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 15:38:01 +0200 To: "Martin Keckeis" Cc: "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") 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