<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1543" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Yes im using the latest version.</FONT></DIV>
<DIV><FONT face=Arial size=2>Ill try that now since&nbsp;creating lib 
using&nbsp;.mak file doesnt work. I followed instructions in .dsp file wich 
say:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><EM>!MESSAGE This is not a valid makefile. To build 
this project using NMAKE,<BR>!MESSAGE use the Export Makefile command and 
run<BR>!MESSAGE <BR>!MESSAGE NMAKE /f "enet.mak". </EM></FONT></DIV>
<DIV><EM><FONT face=Arial size=2></FONT></EM>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Using export makefile doesnt create anything, 
without the .mak file it wont work :(</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Matija</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=paching@gmail.com href="mailto:paching@gmail.com">Paul Collier</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=enet-discuss@cubik.org 
  href="mailto:enet-discuss@cubik.org">Discussion of the ENet library</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, May 23, 2006 9:02 PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [ENet-discuss] Newbie error 
  - VC++6</DIV>
  <DIV><BR></DIV>Hiya,<BR><BR>Are you using the latest version from <A 
  href="http://enet.bespin.org">enet.bespin.org</A>?<BR><BR>I don't think you 
  should need a .mak file... try creating an empty library project, adding all 
  of the .c files, and compiling to create a lib file. In project directories 
  under includes, you're going to have to add the path to the enet-1.0/include/ 
  folder. Make sure to add ws2_32 or whatever it's called to the library 
  objects.<BR><BR>Good luck,<BR>Paul<BR><BR>
  <DIV><SPAN class=gmail_quote>On 5/23/06, <B class=gmail_sendername>Matija 
  Runkas</B> &lt; <A 
  href="mailto:matija.runkas@zg.t-com.hr">matija.runkas@zg.t-com.hr</A>&gt; 
  wrote:</SPAN>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
    <DIV>
    <DIV bgcolor="#ffffff">
    <DIV><FONT face=Arial size=2>Tried to compile the supplied .dsp i get the 
    follwoing error:</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2><EM>NMAKE : fatal error U1052: file 'enet.mak' 
    not found</EM></FONT></DIV>
    <DIV><EM><FONT face=Arial size=2></FONT></EM>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Adding files manualy just produces more 
    errors</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Doh stuck as i can get :(</FONT></DIV></DIV>
    <DIV><SPAN class=sg>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Matija</FONT></DIV></SPAN></DIV>
    <DIV>
    <BLOCKQUOTE 
    style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px"></BLOCKQUOTE></DIV>
    <DIV><SPAN class=q>
    <DIV 
    style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal">----- 
    Original Message ----- </DIV>
    <DIV 
    style="BACKGROUND: rgb(228,228,228) 0% 50%; FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial"><B>From:</B> 
    <A title=paching@gmail.com 
    onclick="return top.js.OpenExtLink(window,event,this)" 
    href="mailto:paching@gmail.com" target=_blank>Paul Collier</A> </DIV>
    <DIV 
    style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>To:</B> 
    <A title=enet-discuss@cubik.org 
    onclick="return top.js.OpenExtLink(window,event,this)" 
    href="mailto:enet-discuss@cubik.org" target=_blank>Discussion of the ENet 
    library</A> </DIV></SPAN></DIV>
    <DIV><SPAN class=e id=q_10b62886f9eeea63_4>
    <DIV 
    style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Sent:</B> 
    Tuesday, May 23, 2006 4:59 PM </DIV>
    <DIV 
    style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Subject:</B> 
    Re: [ENet-discuss] Newbie error - VC++6</DIV>
    <DIV><BR></DIV>Yeah, you'll definitely have to create it ;D Enet's source 
    distribution comes with a VC project file (.dsp); try compiling that. It'll 
    produce some sort of .lib file, then just point your project at 
    it.<BR><BR>Another alternative to all this is that you just add all of the 
    enet source files directly to your project and don't bother linking at all. 
    I think that should work too. But linking is probably the better solution. 
    <BR><BR>- Paul<BR><BR>
    <DIV><SPAN class=gmail_quote>On 5/23/06, <B class=gmail_sendername>Matija 
    Runkas</B> &lt;<A onclick="return top.js.OpenExtLink(window,event,this)" 
    href="mailto:matija.runkas@zg.t-com.hr" 
    target=_blank>matija.runkas@zg.t-com.hr</A>&gt; wrote:</SPAN> 
    <BLOCKQUOTE class=gmail_quote 
    style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
      <DIV>
      <DIV bgcolor="#ffffff">
      <DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
      <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
      <DIV><FONT face=Arial size=2>thank you for you input, I tried to add 
      enet.lib to Project -&gt; Settings -&gt; Link tab -&gt; Object/library 
      modules, right at the end where</FONT></DIV>
      <DIV><FONT face=Arial size=2>tutorial said you should put ws2_32.lib, 
      tried to compile and then got:</FONT></DIV>
      <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
      <DIV><FONT face=Arial size=2><EM>LINK : fatal error LNK1104: cannot open 
      file "enet.lib"</EM></FONT></DIV>
      <DIV><EM><FONT face=Arial size=2></FONT></EM>&nbsp;</DIV>
      <DIV><FONT face=Arial size=2>Where do I get enet.lib? (/emote fears you 
      will say " you have to create it and ofc next question would be 
      "how?"&nbsp;:-)</FONT></DIV>
      <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
      <DIV><FONT face=Arial size=2>Thank you for your help</FONT></DIV>
      <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
      <DIV><FONT face=Arial size=2>Matija</FONT></DIV>
      <BLOCKQUOTE 
      style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px"></BLOCKQUOTE></DIV>
      <DIV><SPAN>
      <DIV 
      style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal">----- 
      Original Message ----- </DIV>
      <DIV 
      style="BACKGROUND: rgb(228,228,228) 0% 50%; FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial"><B>From:</B> 
      <A title=paching@gmail.com 
      onclick="return top.js.OpenExtLink(window,event,this)" 
      href="mailto:paching@gmail.com" target=_blank>Paul Collier</A> </DIV>
      <DIV 
      style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>To:</B> 
      <A title=enet-discuss@cubik.org 
      onclick="return top.js.OpenExtLink(window,event,this)" 
      href="mailto:enet-discuss@cubik.org" target=_blank>Discussion of the ENet 
      library</A> </DIV>
      <DIV 
      style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Sent:</B> 
      Tuesday, May 23, 2006 4:33 PM </DIV>
      <DIV 
      style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Subject:</B> 
      Re: [ENet-discuss] Newbie error - VC++6</DIV>
      <DIV><BR></DIV>Hello,<BR><BR>Yeah, you have to link against the enet 
      library in order to use it. You should probably go read up about this sort 
      of thing, you'll likely have to do it again ;D That -lenet line doesn't 
      apply to VC++, that's GCC command-line style. For VC++, you'll probably 
      have to go into your Project Settings in the Linker section and add 
      enet.lib to the list of libraries that the project needs.<BR><BR>Hope this 
      helps,<BR>- Paul<BR><BR>
      <DIV><SPAN class=gmail_quote>On 5/23/06, <B class=gmail_sendername>Matija 
      Runkas</B> &lt;<A onclick="return top.js.OpenExtLink(window,event,this)" 
      href="mailto:matija.runkas@zg.t-com.hr" target=_blank> 
      matija.runkas@zg.t-com.hr</A>&gt; wrote:</SPAN> 
      <BLOCKQUOTE class=gmail_quote 
      style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
        <DIV>
        <DIV bgcolor="#ffffff">
        <DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>Im a newb in C++ waters so i need some 
        quick help.</FONT></DIV>
        <DIV><FONT face=Arial size=2>Been doing some things in VC++ 6 and it 
        worked nicely, with alot of pain of course :-)</FONT></DIV>
        <DIV><FONT face=Arial size=2>Anyway while working on network FPS game 
        using, well one game engine (dont want advertise here) I found it is 
        cripling me</FONT></DIV>
        <DIV><FONT face=Arial size=2>since I am able to create games for only 4 
        players and its perfromance is not what I expected. In order to learn 
        more and make </FONT></DIV>
        <DIV><FONT face=Arial size=2>this "thing" work properly I ventured into 
        creating network dll as this engine supports use of such 
        things.</FONT></DIV>
        <DIV><FONT face=Arial size=2>I tried RakNet and did some basic stuff 
        with it unfortunaly they changed their licencing and i dont have $$ to 
        buy it.</FONT></DIV>
        <DIV><FONT face=Arial size=2>So i found Enet, look like very much what I 
        need.</FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>Unfortunaly im a VC newb so I cant get it 
        to work.</FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>I follwed brief instructions on how to get 
        it into&nbsp;my project and I have read trough threads on disscusion 
        board named </FONT></DIV>
        <DIV><FONT face=Arial size=2>"Initialization" and havent found 
        solution.</FONT></DIV>
        <DIV><FONT face=Arial size=2>I have included only:</FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2><EM>#include 
"enet\enet.h"</EM></FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>and added functions that are suposed to 
        only initialize and deinitialize Enet:</FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2><EM>#define DLL_USE<BR>#include 
        "adll.h"</EM></FONT></DIV>
        <DIV><EM></EM>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2><EM></EM></FONT>&nbsp;</DIV>
        <DIV><EM></EM>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2><EM>//#include "win32.h"</EM></FONT></DIV>
        <DIV><EM></EM>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2><EM>BOOL APIENTRY DllMain( HANDLE hModule, 
        <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        DWORD&nbsp; ul_reason_for_call, 
        <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        LPVOID lpReserved<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        )<BR>{<BR>&nbsp;engine_bind();<BR>&nbsp;&nbsp;&nbsp; return 
        TRUE;<BR>}</EM></FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2><EM>DLLFUNC var DllInitNet(void) //main 
        (int argc, char ** argv) <BR>{<BR>&nbsp;&nbsp;&nbsp; if (enet_initialize 
        () != 0)<BR>&nbsp;&nbsp;&nbsp; 
        {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //fprintf (stderr, "An 
        error occurred while initializing 
        ENet.\n");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return 
        _VAR(1);//return EXIT_FAILURE;<BR>&nbsp;&nbsp;&nbsp; 
        }<BR>&nbsp;&nbsp;&nbsp; atexit (enet_deinitialize);<BR>&nbsp;return 
        _VAR(0);<BR>}</EM></FONT></DIV>
        <DIV><EM><FONT face=Arial size=2></FONT></EM>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>Compiling spits this out and i cant get rid 
        of it:</FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2><EM>test1.obj : error LNK2001: unresolved 
        external symbol _enet_deinitialize<BR>test1.obj : error LNK2001: 
        unresolved external symbol _enet_initialize<BR>Debug/test1.dll : fatal 
        error LNK1120: 2 unresolved externals<BR>Error executing 
        link.exe.</EM></FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>In other "similar" threads people said "put 
        -lenet" somewhere, but I dont know where to put that, if that would 
        solve it?</FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial 
        size=2>Matija</FONT></DIV></DIV></DIV><BR>_______________________________________________<BR>ENet-discuss 
        mailing list<BR><A 
        onclick="return top.js.OpenExtLink(window,event,this)" 
        href="mailto:ENet-discuss@cubik.org" 
        target=_blank>ENet-discuss@cubik.org</A><BR><A 
        onclick="return top.js.OpenExtLink(window,event,this)" 
        href="http://lists.cubik.org/mailman/listinfo/enet-discuss" 
        target=_blank>http://lists.cubik.org/mailman/listinfo/enet-discuss</A><BR><BR><BR></BLOCKQUOTE></DIV><BR></SPAN></DIV>
      <DIV>
      <P></P>
      <HR>
      </DIV>
      <DIV><SPAN>
      <P></P>_______________________________________________<BR>ENet-discuss 
      mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)" 
      href="mailto:ENet-discuss@cubik.org" 
      target=_blank>ENet-discuss@cubik.org</A><BR><A 
      onclick="return top.js.OpenExtLink(window,event,this)" 
      href="http://lists.cubik.org/mailman/listinfo/enet-discuss" 
      target=_blank>http://lists.cubik.org/mailman/listinfo/enet-discuss</A><BR></SPAN></DIV>
      <DIV>
      <P></P>
      <HR>

      <P></P>No virus found in this incoming message.<BR>Checked by AVG Free 
      Edition.<BR>Version: 7.1.392 / Virus Database: 268.7.0/345 - Release Date: 
      22.5.2006<BR>
      <P></P>
      <P></P></DIV></DIV><BR>_______________________________________________<BR>ENet-discuss 
      mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)" 
      href="mailto:ENet-discuss@cubik.org" 
      target=_blank>ENet-discuss@cubik.org</A><BR><A 
      onclick="return top.js.OpenExtLink(window,event,this)" 
      href="http://lists.cubik.org/mailman/listinfo/enet-discuss" 
      target=_blank>http://lists.cubik.org/mailman/listinfo/enet-discuss</A><BR><BR><BR></BLOCKQUOTE></DIV><BR>
    <P></P>
    <HR>

    <P></P>_______________________________________________<BR>ENet-discuss 
    mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)" 
    href="mailto:ENet-discuss@cubik.org" 
    target=_blank>ENet-discuss@cubik.org</A><BR><A 
    onclick="return top.js.OpenExtLink(window,event,this)" 
    href="http://lists.cubik.org/mailman/listinfo/enet-discuss" 
    target=_blank>http://lists.cubik.org/mailman/listinfo/enet-discuss</A><BR>
    <P></P>
    <HR>

    <P></P>No virus found in this incoming message.<BR>Checked by AVG Free 
    Edition.<BR>Version: 7.1.392 / Virus Database: 268.7.0/345 - Release Date: 
    22.5.2006<BR>
    <P></P>
    <P></P></SPAN></DIV>
    <DIV></DIV></DIV><BR>_______________________________________________<BR>ENet-discuss 
    mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)" 
    href="mailto:ENet-discuss@cubik.org">ENet-discuss@cubik.org</A><BR><A 
    onclick="return top.js.OpenExtLink(window,event,this)" 
    href="http://lists.cubik.org/mailman/listinfo/enet-discuss" 
    target=_blank>http://lists.cubik.org/mailman/listinfo/enet-discuss</A><BR><BR><BR></BLOCKQUOTE></DIV><BR>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>ENet-discuss mailing 
  list<BR>ENet-discuss@cubik.org<BR>http://lists.cubik.org/mailman/listinfo/enet-discuss<BR>
  <P>
  <HR>

  <P></P>No virus found in this incoming message.<BR>Checked by AVG Free 
  Edition.<BR>Version: 7.1.392 / Virus Database: 268.7.0/345 - Release Date: 
  22.5.2006<BR></BLOCKQUOTE></BODY></HTML>