Hiya,<br><br>A quick search with Google tells me that you might need to link winmm.lib too. Google is your friend :)<br><br>VC++
doesn't really care if you add .h files, they're just there to help
you. They don't get compiled, just included into the source files. I'd
really advise you to read up on what goes on during a compile, it's
useful knowledge!
<br><br>No need to thank me, I'm pretty much plagarizing Google as we speak ;D<br><br>Best of luck,<br>- Paul<br><br><div><span class="gmail_quote">On 5/23/06, <b class="gmail_sendername">Matija Runkas</b> <<a href="mailto:matija.runkas@zg.t-com.hr">
matija.runkas@zg.t-com.hr</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>
<div bgcolor="#ffffff">
<div><font face="Arial" size="2">Hi,</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">it almost worked :(</font></div>
<div><font face="Arial" size="2">Compiling the main program with enet.lib now
prduces the folowing errors and i have no idea how to solve them:</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"><em>enet.lib(win32.obj) : error LNK2001: unresolved
external symbol </em><a href="mailto:__imp__timeBeginPeriod@4" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><em>__imp__timeBeginPeriod@4</em></a><br><em>enet.lib(win32.obj)
: error LNK2001: unresolved external symbol </em><a href="mailto:__imp__timeEndPeriod@4" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><em>__imp__timeEndPeriod@4</em></a><br><em>enet.lib(win32.obj
)
: error LNK2001: unresolved external symbol </em><a href="mailto:__imp__timeGetTime@0" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><em>__imp__timeGetTime@0</em></a></font></div><div><span class="q">
<font face="Arial" size="2"><br><em>Debug/test1.dll
: fatal error LNK1120: 3 unresolved externals<br>Error executing
link.exe.</em></font></span></div><div></div>
<div><em><font face="Arial" size="2"></font></em> </div>
<div><font face="Arial" size="2">Creating .lib went trough without any warnings or
errors. What could be the problem?</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">PS. When creating .lib do I just add .c files to
project or .h files as well?</font></div></div><div><span class="sg">
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Matija</font></div>
</span></div></div><br></blockquote></div><br>