The problem here that you are not really linking to libcmt.lib or
libcmtd.lib which have the definition for _timezone. Note that you are
using /nodefault:libcmt.lib which doesn't pick these libs by default and
thus you will need to explicitly specify them on linker commandline.

Signature
Gautam Bhakar, Microsoft Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
| From: "Stephen Ahn" <stevea@edi.com.au>
| Subject: unresolved externals with mixed mode DLL
[quoted text clipped - 9 lines]
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.languages.vc.libraries:2279
| X-Tomcat-NG: microsoft.public.dotnet.languages.vc.libraries
|
[quoted text clipped - 23 lines]
| TIA,
| Stephen
Stephen Ahn - 05 Aug 2003 03:28 GMT
If I link one of these libraries, then I get a linker warning such as :
LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other
libs;
use /NODEFAULTLIB:library
I guess this is conflicting with msvcrt.dll, which I have to use in mixed
mode, as per :
http://support.microsoft.com/?id=814472
Ideas ?
Thanks,
Stephen
> The problem here that you are not really linking to libcmt.lib or
> libcmtd.lib which have the definition for _timezone. Note that you are
[quoted text clipped - 42 lines]
> | TIA,
> | Stephen