OK solved it.

I needed to have the sdk library Advapi32.lib in the link library list
;)

=========================================
Mark Clarke - Exotic Pets
E-Mail:  [EMAIL PROTECTED]
WWW:     www.ExoticPets.co.za
=========================================


> -----Original Message-----
> From: Mark Clarke [mailto:[EMAIL PROTECTED]] 
> Sent: 09 February 2003 09:00
> To: [EMAIL PROTECTED]
> Subject: _strncpy already defined - compiling jk2 isapi with 
> VS7/ i.e. win isapi_redirector2.dll
> 
> 
> Hi all,
> 
> I am trying to compile jk2 isapi dll with VS7.0. I downloaded 
> and built apache2 to get the apr.h header files and some 
> libraries that jk2 requires from apache.
> 
> When I compile jk2 I get an error message that _strncpy is 
> already defined in  e.g.
> 
> MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _strncpy already defined in
> LIBCMTD.lib(strncpy.obj)
> 
> I then removed the MSVCRTD.lib from the library list of the 
> linker. The conflict error messages go away but I get the 
> following warning message.
> 
> ***
> isapi warning LNK4217: locally defined symbol _strncpy 
> imported in function _regerror
> ***
> 
> And the following error message (this is also present even in 
> MSVCRTD.dll is in the link list)
> 
> ***
> isapi error LNK2019: unresolved external symbol 
> __imp__RegCloseKey@4 referenced in function _read_registry_init_data
> ***
> 
> 
> What library/dll am I missing? Any help will be appreciated.
> 
> Regards
> Mark
> 
> 
> =========================================
> Mark Clarke - Exotic Pets
> E-Mail:  [EMAIL PROTECTED]
> WWW:     www.ExoticPets.co.za
> =========================================
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to