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

C / C++ / MFC

 
GeneralRe: unhandled exception in Data.exe, OXC00000FD, Stack Overflow Pin
mrby12313-Apr-06 6:40
mrby12313-Apr-06 6:40 
Questionhow come my bmp is not displayed? thank you Pin
ewighell11-Apr-06 15:44
ewighell11-Apr-06 15:44 
AnswerRe: how come my bmp is not displayed? thank you Pin
Christian Graus11-Apr-06 17:06
protectorChristian Graus11-Apr-06 17:06 
AnswerRe: how come my bmp is not displayed? thank you Pin
Laxman Auti11-Apr-06 18:13
Laxman Auti11-Apr-06 18:13 
AnswerRe: how come my bmp is not displayed? thank you Pin
Hamid_RT11-Apr-06 18:38
Hamid_RT11-Apr-06 18:38 
AnswerRe: how come my bmp is not displayed? thank you Pin
PJ Arends11-Apr-06 20:53
professionalPJ Arends11-Apr-06 20:53 
JokeRe: how come my bmp is not displayed? thank you Pin
ewighell13-Apr-06 16:17
ewighell13-Apr-06 16:17 
Question"error LNK2001" on Release Build Pin
murali197311-Apr-06 13:46
murali197311-Apr-06 13:46 
Hello,

I have a simple application where I try to display a dialog with a timer. It builds fine in the debug mode but not in the release mode. This is the error I get:

MainFrm.obj : error LNK2001: unresolved external symbol "protected: long __thiscall CMainFrame::OnNotifyPowerOnTime(unsigned int,long)" (?OnNotifyPowerOnTime@CMainFrame@@IAEJIJ@Z)
Release/NotifyTimer.exe : fatal error LNK1120: 1 unresolved externals


Relevant Code:
////////////////////////////////////////////////
// CMainFrame

#define WM_NOTIFY_POWER_ON_TIME (WM_USER + 1)

IMPLEMENT_DYNCREATE(CMainFrame, CFrameWnd)

BEGIN_MESSAGE_MAP(CMainFrame, CFrameWnd)
//{{AFX_MSG_MAP(CMainFrame)
ON_WM_CREATE()
ON_MESSAGE(WM_NOTIFY_POWER_ON_TIME, OnNotifyPowerOnTime)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////
function definition
/////////////////////////////////
protected:
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg LRESULT OnNotifyPowerOnTime(WPARAM,LPARAM);
//////////////////////////////////


//////////////////the function///////////

LRESULT CMainFrame::OnNotifyPowerOnTime(WPARAM, LPARAM lParam)
{
...
...
return (LRESULT) 0;

}


Any suggestions? Help??
Thankyou

Murali

-- modified at 19:54 Tuesday 11th April, 2006
AnswerRe: "error LNK2001" on Release Build Pin
dabs11-Apr-06 14:10
dabs11-Apr-06 14:10 
GeneralRe: "error LNK2001" on Release Build Pin
murali197312-Apr-06 5:51
murali197312-Apr-06 5:51 
AnswerRe: "error LNK2001" on Release Build Pin
Laxman Auti11-Apr-06 18:20
Laxman Auti11-Apr-06 18:20 
GeneralRe: "error LNK2001" on Release Build Pin
murali197312-Apr-06 5:56
murali197312-Apr-06 5:56 
QuestionWin 32 DLL using .NET Pin
act_x11-Apr-06 13:16
act_x11-Apr-06 13:16 
AnswerRe: Win 32 DLL using .NET Pin
Ștefan-Mihai MOGA11-Apr-06 20:29
professionalȘtefan-Mihai MOGA11-Apr-06 20:29 
AnswerRe: Displaying HTML/web content within C++ app (no MFC) Pin
Stephen Hewitt11-Apr-06 15:49
Stephen Hewitt11-Apr-06 15:49 
GeneralRe: Displaying HTML/web content within C++ app (no MFC) Pin
chasetoys11-Apr-06 17:07
chasetoys11-Apr-06 17:07 
Questionsocket question Pin
nahitan11-Apr-06 11:02
nahitan11-Apr-06 11:02 
QuestionMemory Leak using Bounds checker Pin
act_x11-Apr-06 10:11
act_x11-Apr-06 10:11 
AnswerRe: Memory Leak using Bounds checker Pin
S. Senthil Kumar11-Apr-06 10:29
S. Senthil Kumar11-Apr-06 10:29 
GeneralRe: Memory Leak using Bounds checker Pin
act_x11-Apr-06 10:49
act_x11-Apr-06 10:49 
AnswerRe: Memory Leak using Bounds checker Pin
Joe Woodbury11-Apr-06 11:40
professionalJoe Woodbury11-Apr-06 11:40 
Question"LNK2001: unresolved external symbol" Error Pin
capricious_00111-Apr-06 9:57
capricious_00111-Apr-06 9:57 
AnswerRe: "LNK2001: unresolved external symbol" Error Pin
Joe Woodbury11-Apr-06 10:08
professionalJoe Woodbury11-Apr-06 10:08 
GeneralRe: "LNK2001: unresolved external symbol" Error Pin
capricious_00111-Apr-06 10:16
capricious_00111-Apr-06 10:16 
QuestionTo Jochen Kalmbach, Reg Stack Walker Pin
psbasha11-Apr-06 7:54
psbasha11-Apr-06 7:54 

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.