apologies for the second question today... i am getting started with C# and am trying to include the p2p sdk from MS. am not sure how to include the associated Library files. Could soomebody tell me how to add a "dot lib" file.
C# doesn't have include files like C and C++ do. Nor does it have .lib files like those languages do.
Assuming the file you received is a .NET assembly, all you should have to do is copy it into the bin\debug directory in your project, then add a reference in the project explore. You set a reference by right-clicking on "References" then choose "Add..". In the dialog, click the browse button and find your assembly. Select it, then click "OK". In your .cs file, put a "using" statement at the top.
Chip H.
____________________________________________________________________ If you want to get the best response to a question, please read FAQ222-2244 first
i don't think it is. it is P2P.lib, and a bunch of .h files. i don't get why MS didn't write its p2p architecture for .net. I think there are .dll's out there that wrap the lower level code for visual studio. need to hunt those down. thanks for your reply.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.