Error Loading Winsock Library Hook Dll Following Process
Contents |
Powered by phpBB Forum Software © phpBB Group
Studio 2015 products Visual Studio Team Services Visual Studio Code Visual Studio Dev Essentials Office Office Word/Excel/PowerPoint Microsoft Graph wsadata structure Outlook OneDrive/Sharepoint Skype Services Store Cortana Bing Application Insights Languages
Wsadata Msdn
& platforms Xamarin ASP.NET C++ TypeScript .NET - VB, C#, F# Server Windows Server SQL wsastartup c++ Server BizTalk Server SharePoint Dynamics Programs & communities Students Startups Forums MSDN Subscriber downloads Sign in Search Microsoft Search Windows Dev Center Windows Dev Center Explore http://forum.admuncher.com/viewtopic.php?f=4&t=18911 What’s new for Windows 10 Intro to Universal Windows Platform Coding challenges Develop for accessibility Build for enterprise Windows Store opportunities Docs Windows apps Get started Design and UI Develop API reference Publish Monetize Promote Games Get started UI design Develop Publish Desktop Get started Design Develop API reference Test and deploy https://msdn.microsoft.com/en-us/library/windows/desktop/ms741688(v=vs.85).aspx Compatibility Windows IoT Microsoft Edge Windows Holographic Downloads Samples Support Why Windows Dashboard Explore What’s new for Windows 10 Intro to Universal Windows Platform Coding challenges Develop for accessibility Build for enterprise Windows Store opportunities Docs Windows apps Get started Design and UI Develop API reference Publish Monetize Promote Games Get started UI design Develop Publish Desktop Get started Design Develop API reference Test and deploy Compatibility Windows IoT Microsoft Edge Windows Holographic Downloads Samples Support Why Windows Dashboard Windows Sockets 2 Winsock Reference Winsock Functions Winsock Functions WSARecv WSARecv WSARecv accept AcceptEx bind closesocket connect ConnectEx DisconnectEx EnumProtocols freeaddrinfo FreeAddrInfoEx FreeAddrInfoW gai_strerror GetAcceptExSockaddrs GetAddressByName getaddrinfo GetAddrInfoEx GetAddrInfoExCancel GetAddrInfoExOverlappedResult GetAddrInfoW gethostbyaddr gethostbyname gethostname GetHostNameW GetNameByType getnameinfo getipv4sourcefilter GetNameInfoW getpeername getprotobyname getprotobynumber getservbyname getservbyport GetService getsockname getsockopt getsourcefilter GetTypeByName htond htonf htonl htonll htons inet_addr inet_ntoa InetNtop InetPton ioctlsocket listen ntohd ntohf ntohl ntohll ntohs recv recvfrom RIOCloseCompletionQueue RIOCreateCompletionQueue RIOCreateRequestQueue RIODequeueCompletion RIODeregisterBuffer RIONotify RIORecei
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us http://stackoverflow.com/questions/5220309/why-am-i-getting-linker-errors-for-ws2-32-dll-in-my-c-program Learn more about Stack Overflow the company Business Learn more about hiring developers or http://stackoverflow.com/questions/8955127/load-clr-form-from-hooked-dll posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Why am I getting linker errors for ws2_32.dll error loading in my C program? up vote 4 down vote favorite 3 I am writing my program in Visual Studio 2010. I am unable to link a file named ws2_32.dll with my project. Can anyone tell me how I can do that? c visual-studio winapi linker-error winsock2 share|improve this question edited Mar 7 '11 at 14:04 Cody Gray 146k23278368 asked Mar 7 '11 at 13:32 Sanjay 540146 2 error loading winsock What have you tried? Where have you changed things in your project? What actual results were obtained? If there were error messages, what were they? –Damien_The_Unbeliever Mar 7 '11 at 13:35 add a comment| 3 Answers 3 active oldest votes up vote 7 down vote Typically you dont link to ws2_32.dll directly but to WS2_32.Lib, which you can find in the Windows SDK. So in your code you write #include
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Load CLR Form from hooked DLL up vote 0 down vote favorite I have coded a DLL(native C++, Visual Studio 2010) that will hook send/recv winsock functions when DLL is loaded on a target. I want to add a windows form to control that hooked DLL. That's, when DLL is hooked to process a windows form is loaded to control everything DLL can do. Here is the code of native C++ DLL, InjectDLL.cpp: #include