January 14, 2003 problems | ||||
---|---|---|---|---|
| ||||
I'm bulding a dll, but get these linker error. (works with other compilers so i have no idea what to include if anything). What am i doing wrong? C:\lvtest>dmc testlv.c -WD link testlv,,,,testlv/noi; OPTLINK (R) for Win32 Release 7.50B1 Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved c:\dm\bin\..\lib\SNN.lib(dllstart) Error 42: Symbol Undefined _GetCurrentThreadId@0 c:\dm\bin\..\lib\SNN.lib(dllstart) Error 42: Symbol Undefined _GetVersion@0 c:\dm\bin\..\lib\SNN.lib(cinit) Error 42: Symbol Undefined _GetEnvironmentStrings@0 |
January 15, 2003 Re: problems | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bjornar Svingen | Need to link with kernel32.lib. "Bjornar Svingen" <bs@fdb.no> wrote in message news:b019d9$15mr$1@digitaldaemon.com... > I'm bulding a dll, but get these linker error. (works with other compilers so i have no idea what to include if anything). What am i doing wrong? > > > C:\lvtest>dmc testlv.c -WD > link testlv,,,,testlv/noi; > OPTLINK (R) for Win32 Release 7.50B1 > Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved > > c:\dm\bin\..\lib\SNN.lib(dllstart) > Error 42: Symbol Undefined _GetCurrentThreadId@0 > c:\dm\bin\..\lib\SNN.lib(dllstart) > Error 42: Symbol Undefined _GetVersion@0 > c:\dm\bin\..\lib\SNN.lib(cinit) > Error 42: Symbol Undefined _GetEnvironmentStrings@0 > > > |
Copyright © 1999-2021 by the D Language Foundation