VS.NET, C#, c++, DLL and sockests ....

Dec 9 2003 5:28 PM
sorry for my english ;) i wrote in c# interface engine of my program i wrote in c++ as DLL everything is ok i can use functions from my dll(c++) in interface(c#) but i have big problem: i can't use socket becouse when i add line: #include then -> "assembly access specifier modified from 'access'" "Compiler Warning (level 1) C4935" i can't too add ws2.dll as reference to project of my library becouse it is'nt in project menu in my project with interface (C#) i can do it : project->add reference in dll i can't HOW CAN I USE COSCKETS IN DLL ?? thanks