<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#000000 size=2>Deepest thanks to whoever can help,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I tried creating .lib files for groupsock, usageenvironment, basicusageenvironment, livemedia so that I can use them to link to one of the test file (testMPEG1or2VideoStreamer).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I using Visual C++ to do the programming. However, when I link the libraries file to the test files, there are a lof of error LNK 2001.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Method used in creating library files: (Microsoft Visual C++ 6.0)</FONT></DIV>
<DIV><FONT face=Arial size=2>1) File -&gt; New -&gt; projects -&gt; Win32 Static Lib</FONT></DIV>
<DIV><FONT face=Arial size=2>2) Did not choose precompiled header and MFC support</FONT></DIV>
<DIV><FONT face=Arial size=2>3) Add in the source files of groupsock directory</FONT></DIV>
<DIV><FONT face=Arial size=2>4) Add in all the header files of groupsock, usageenvironment, basicusageenvironment, livemedia</FONT></DIV>
<DIV><FONT face=Arial size=2>5) Build</FONT></DIV>
<DIV><FONT face=Arial size=2>6) Under the debug folder, I found the groupsock.lib together with some obj, pch files</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Question:</FONT></DIV>
<DIV><FONT face=Arial size=2>1) Is my method of building lib files correct? Do I need those obj, pch files? Can i just use the groupsock.lib file?</FONT></DIV>
<DIV><FONT face=Arial size=2>2) Some of the errors are: error LNK2001: unresolved external symbol <A href="mailto:_getsockname@12">_getsockname@12</A></FONT></DIV>
<DIV><FONT face=Arial size=2>3) Even if i dont use .lib files, I add in all the .cpp .c files to compile and build with the testMPEG1or2VideoStreamer.cpp, the error LNK2001 still exisits.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Many many thanks in advanced</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Kunhui</FONT></DIV></BODY></HTML>