Re: [Dev-C++] Problem with WNetAddConnection2 function
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
From: Per W. <pw...@ia...> - 2008-08-04 12:01:27
|
Have you googled for the function name? There are no magic check boxes in the project options. You have to keep track of what libaries your application needs. M$ says: Client: Requires Windows Vista, Windows XP, Windows 2000 Professional, Windows NT Workstation, Windows Me, Windows 98, or Windows 95. Server: Requires Windows Server 2008, Windows Server 2003, Windows 2000 Server, or Windows NT Server. Header: Declared in Winnetwk.h. Library: Use Mpr.lib. DLL: Requires Mpr.dll. Unicode/ANSI Implemented as WNetAddConnection2W (Unicode) and WNetAddConnection2A (ANSI). /pwm On Mon, 4 Aug 2008, ag...@li... wrote: > Hi, > I'm generating a program which use WNetAddConnection2 function. > The error is: > [Linker Error] undefined reference to `WNetAddConnection2A@16' > I have been see the option project panel but i don't see anything special. > Thanks > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |