Click here to Skip to main content
15,891,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: floating point error in C++ Pin
Vivek Narayanan2-Feb-09 6:30
Vivek Narayanan2-Feb-09 6:30 
QuestionRe: floating point error in C++ Pin
David Crow2-Feb-09 7:21
David Crow2-Feb-09 7:21 
AnswerRe: floating point error in C++ Pin
Vivek Narayanan3-Feb-09 3:54
Vivek Narayanan3-Feb-09 3:54 
AnswerRe: floating point error in C++ Pin
Koolski2-Feb-09 9:56
Koolski2-Feb-09 9:56 
Questionencode wave to ogg [modified] Pin
Daerner Mandla2-Feb-09 5:08
Daerner Mandla2-Feb-09 5:08 
QuestionConverting Microsoft Visual C/C++ version 2.0 solution to Visual C++ 2005/2008 Pin
Cosmin Ciuraru2-Feb-09 3:56
Cosmin Ciuraru2-Feb-09 3:56 
AnswerRe: Converting Microsoft Visual C/C++ version 2.0 solution to Visual C++ 2005/2008 Pin
Iain Clarke, Warrior Programmer2-Feb-09 4:52
Iain Clarke, Warrior Programmer2-Feb-09 4:52 
QuestionError: Debug assertion failed! Pin
sam_psycho2-Feb-09 3:38
sam_psycho2-Feb-09 3:38 
Hi All,
When I clickoon system tray icon first time menu works fine , but second time I am getting error like this ;

"Debug assertion failed!
Program: ...
File: F:\rtm\vctools\vc7libs\ship\atlmfc\winmenu.cpp
line 84
retry abort "


code is goes like:


LRESULT CDialogOnTopDlg::onTrayNotify(WPARAM wParam,LPARAM lParam)
{
UINT uMsg = (UINT) lParam;
switch (uMsg )
{
case WM_RBUTTONDOWN:
m_TrayMenu.LoadMenu(IDR_MENU1); // second time crashing here
CPoint pt;
GetCursorPos(&pt);
m_TrayMenu.GetSubMenu(0)->TrackPopupMenu(0,pt.x,pt.y,this);
break;
}
return TRUE;
}

Plz tell me wot could be possible causes.
Cry | :((
AnswerRe: Error: Debug assertion failed! Pin
Code-o-mat2-Feb-09 3:41
Code-o-mat2-Feb-09 3:41 
GeneralRe: Error: Debug assertion failed! Pin
sam_psycho2-Feb-09 3:47
sam_psycho2-Feb-09 3:47 
GeneralRe: Error: Debug assertion failed! Pin
Code-o-mat2-Feb-09 4:03
Code-o-mat2-Feb-09 4:03 
AnswerRe: Error: Debug assertion failed! Pin
Iain Clarke, Warrior Programmer2-Feb-09 4:26
Iain Clarke, Warrior Programmer2-Feb-09 4:26 
AnswerRe: Error: Debug assertion failed! Pin
David Crow2-Feb-09 5:44
David Crow2-Feb-09 5:44 
Questionstatic Picture control not loading a bmp Pin
VC++Maniac2-Feb-09 1:36
VC++Maniac2-Feb-09 1:36 
AnswerRe: static Picture control not loading a bmp Pin
Hamid_RT2-Feb-09 3:19
Hamid_RT2-Feb-09 3:19 
GeneralRe: static Picture control not loading a bmp Pin
VC++Maniac2-Feb-09 3:20
VC++Maniac2-Feb-09 3:20 
AnswerRe: static Picture control not loading a bmp Pin
Code-o-mat2-Feb-09 3:39
Code-o-mat2-Feb-09 3:39 
GeneralRe: static Picture control not loading a bmp Pin
VC++Maniac2-Feb-09 3:44
VC++Maniac2-Feb-09 3:44 
GeneralRe: static Picture control not loading a bmp Pin
VC++Maniac2-Feb-09 4:12
VC++Maniac2-Feb-09 4:12 
Questioncopying line Pin
mac_g2-Feb-09 0:52
mac_g2-Feb-09 0:52 
AnswerRe: copying line Pin
CPallini2-Feb-09 1:08
mveCPallini2-Feb-09 1:08 
GeneralRe: copying line Pin
mac_g2-Feb-09 1:10
mac_g2-Feb-09 1:10 
GeneralRe: copying line Pin
CPallini2-Feb-09 1:32
mveCPallini2-Feb-09 1:32 
GeneralRe: copying line Pin
mac_g2-Feb-09 2:06
mac_g2-Feb-09 2:06 
GeneralRe: copying line Pin
Malli_S2-Feb-09 1:11
Malli_S2-Feb-09 1:11 

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.