|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
D - linker problem
I have a dummy question:
I tried to compile a simple code like this:
#-- un.d ------------------
import windows;
import string;
// dmd -o a.exe un.d && a
int main(char[][] args)
{
RegCloseKey(HKEY_LOCAL_MACHINE);
return 0;
}
#------------------------
but I have error 42: Undefined Symbol _RegCloseKey 4
well, I should include the correct library, I thought....
it was unclear how to do that, finally I tried
Nov 21 2002
The library that you need is: advapi32.lib I found it through the MSVC++ documentation, so I can't really help you with a tool that could find the libs that you need. It usually is only a problem for a few minutes of searching, so I almost doubt that there's one out there... Evan Lloyd Dupont wrote: Nov 21 2002
oh.. yes,.. I later found it in the doc too. In fact I never pay attention to the lib section in the documentation up to now and was quite happily surprised to see it. newvermind. regards, Lloyd Evan McClanahan wrote:The library that you need is: advapi32.lib I found it through the MSVC++ documentation, so I can't really help you with a tool that could find the libs that you need. It usually is only a problem for a few minutes of searching, so I almost doubt that there's one out there... Nov 21 2002
"Evan McClanahan" <evan dontSPAMaltarinteractive.com> wrote in message news:arii9s$a07$1 digitaldaemon.com...The library that you need is: advapi32.lib I found it through the MSVC++ documentation, so I can't really help you with a tool that could find the libs that you need. It usually is only a problem for a few minutes of searching, so I almost doubt that there's one out there... Nov 22 2002
|