Click here to Skip to main content
15,914,222 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralChanging ComboBox selection by text editing Pin
Ultimate Newbie5-Apr-05 10:53
sussUltimate Newbie5-Apr-05 10:53 
GeneralRe: Changing ComboBox selection by text editing Pin
David Crow5-Apr-05 11:43
David Crow5-Apr-05 11:43 
Generalemail client Pin
_tasleem5-Apr-05 9:52
_tasleem5-Apr-05 9:52 
GeneralRe: email client Pin
David Crow5-Apr-05 11:45
David Crow5-Apr-05 11:45 
GeneralPersistent GlobalAlloc or "Resource Leaks on purpose!" Pin
iwasiunknown5-Apr-05 9:22
iwasiunknown5-Apr-05 9:22 
GeneralRe: Persistent GlobalAlloc or "Resource Leaks on purpose!" Pin
Shog95-Apr-05 13:55
sitebuilderShog95-Apr-05 13:55 
GeneralRe: Persistent GlobalAlloc or "Resource Leaks on purpose!" Pin
iwasiunknown7-Apr-05 4:41
iwasiunknown7-Apr-05 4:41 
Generalneed help please: error LNK2001 urgent Pin
xeru_slash5-Apr-05 9:21
xeru_slash5-Apr-05 9:21 
hi i want to write a DLL that using header from libyahoo2(http://www.libyahoo2.sourceforge.net)

here is the code snipets
==========================================================================
#include "stdafx.h"
#include <libyahoo\yahoo2.h>
#include <libyahoo\yahoo2_callbacks.h>

//function declaration
extern "C" __declspec(dllexport) void __cdecl Close(int id);

BOOL APIENTRY DllMain( HANDLE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
return TRUE;
}

__declspec(dllexport) void __cdecl Close(int id)
{
yahoo_close(id);
}
======================================================================

when i compile this dll project, i've got no error
but when i execute this project i've got 2 error said:

======================================================================
Linking...
Creating library Debug/YahooLib.lib and object Debug/YahooLib.exp
YahooLib.obj : error LNK2001: unresolved external symbol _yahoo_close
Debug/YahooLib.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

YahooLib.dll - 2 error(s), 0 warning(s)
=====================================================================

please helppp me, i am really don't know what to do Cry | :((
i appreciate any help
thankss
GeneralRe: need help please: error LNK2001 urgent Pin
David Crow5-Apr-05 11:48
David Crow5-Apr-05 11:48 
GeneralRe: need help please: error LNK2001 urgent Pin
xeru_slash5-Apr-05 22:05
xeru_slash5-Apr-05 22:05 
GeneralRe: need help please: error LNK2001 urgent Pin
ThatsAlok5-Apr-05 22:28
ThatsAlok5-Apr-05 22:28 
GeneralRe: need help please: error LNK2001 urgent Pin
David Crow6-Apr-05 2:01
David Crow6-Apr-05 2:01 
GeneralSock with database Pin
Blacknight_815-Apr-05 8:02
Blacknight_815-Apr-05 8:02 
GeneralRe: Sock with database Pin
Alexander M.,5-Apr-05 8:33
Alexander M.,5-Apr-05 8:33 
GeneralRe: Sock with database Pin
ThatsAlok5-Apr-05 18:13
ThatsAlok5-Apr-05 18:13 
GeneralAdding late Pages in CPropertySheet - A resizing problem Pin
Bruno Norberto5-Apr-05 7:48
Bruno Norberto5-Apr-05 7:48 
QuestionProblem with ROT from Remote machine ? Pin
vgrigor15-Apr-05 7:30
vgrigor15-Apr-05 7:30 
GeneralSaving graphical data in MDI Architecture Pin
laiju5-Apr-05 6:26
laiju5-Apr-05 6:26 
GeneralRe: Saving graphical data in MDI Architecture Pin
Alexander M.,5-Apr-05 8:05
Alexander M.,5-Apr-05 8:05 
Generaldisplay text when mouse is over a button Pin
wiselum5-Apr-05 6:06
wiselum5-Apr-05 6:06 
GeneralRe: display text when mouse is over a button Pin
Ravi Bhavnani5-Apr-05 6:57
professionalRavi Bhavnani5-Apr-05 6:57 
GeneralRe: display text when mouse is over a button Pin
wiselum5-Apr-05 19:56
wiselum5-Apr-05 19:56 
GeneralHorizontal Scrolling CRichEditView Pin
RobJones5-Apr-05 5:31
RobJones5-Apr-05 5:31 
GeneralRe: Horizontal Scrolling CRichEditView Pin
RobJones5-Apr-05 6:55
RobJones5-Apr-05 6:55 
Questionlinux segmentation fault strtok!? Pin
ThinkingPrometheus5-Apr-05 5:26
ThinkingPrometheus5-Apr-05 5:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.