Re: [PHP-DEV] Error Linking Win32 Extensions

2002-04-24 Thread Markus Fischer
Hi, for me, I've always copied over another projects *.dsp file and modified the related parts. I think you're getting a faster answer why this is so if you compare your Wizards generated file with the files within the PHP sources ... - Markus On Wed, Apr 24, 2002 a

Re: [PHP-DEV] Error Linking Win32 Extensions

2002-04-24 Thread Igal Raizman
Could you please tell me what type of Project do I need to create in Visual C++ ? I tried compiling and linking ctype and it works perfectly. I than copied by own extension code into php_ctype.c and it worked perfectly. However, when i tried to create my own project and use the same settings at th

Re: [PHP-DEV] Error Linking Win32 Extensions

2002-04-24 Thread Frank M. Kromann
It is not enough to define COMPILE_DL<(MODULENAME> you also need this section #if COMPILE_DL_ ZEND_GET_MODULE() #endif and you need to define the module. I suggest you take a look at some of the other extensions 'ctype" is a good place to start. It is a simple wrapper extension with only tw

Re: [PHP-DEV] Error Linking Win32 Extensions

2002-04-24 Thread Igal Raizman
Hey, thanks for the input, but I have that defined and it still doesnt work, any other ideas ? "Brad Lafountain" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > you probally need to define > > #define COMPILE_DL_(MODULENAME) > > > - brad > > --- Igal Raizman <[

Re: [PHP-DEV] Error Linking Win32 Extensions

2002-04-24 Thread brad lafountain
you probally need to define #define COMPILE_DL_(MODULENAME) - brad --- Igal Raizman <[EMAIL PROTECTED]> wrote: > I switched back to PHP 4.1.2 to see if it works there and it still doesnt. > I will try to recompile the lib file on my own, but I've come across another > problem. > > If I only o

Re: [PHP-DEV] Error Linking Win32 Extensions

2002-04-24 Thread Igal Raizman
I switched back to PHP 4.1.2 to see if it works there and it still doesnt. I will try to recompile the lib file on my own, but I've come across another problem. If I only one function and all it does is use zend_printf(); to print "Hello World" my extension compiles and links without any problems

Re: [PHP-DEV] Error Linking Win32 Extensions

2002-04-23 Thread Markus Fischer
It may certainly be the problem. Why don't you compile php4ts.lib on your own too ?! First try this. On Tue, Apr 23, 2002 at 08:37:00PM -0400, Igal Raizman wrote : > Hello, > > I've set my VC++ 6.0 as I've been told to do here, and my extensions compile > without any problems, errors or