|
There was a project desighned using VC6.
now i installed vs2005 and I add the new component to the exisisting project .
there is no problem in compiling and debugging.
But if i click the newly added component, i am getting the error as
Debug assertion failed(press retry to debug your applicaiton).
and if i retry it will displaying an error message as[A break point is generated in the dlgdata.cpp at the line ASSERT(FALSE)]
please help me to solve this problem
-- modified at 0:11 Friday 30th March, 2007
Help Ever Hurt Never
|
|
|
|
|
An assertion failure without the context (surrounding code) is meaningless. Often there is a comment in the source near the assertion that explains the problem or it is obvious from the context. Can you post the code surrounding the ASSERT statement?
Steve
|
|
|
|
|
sonavi wrote: Debug assertion failed(press retry to debug your applicaiton).
and if i retry it will displaying an error message as[A break point is generated in the dlgdata.cpp at the line ASSERT(FALSE)]
If you see at the call stack, it would tell you exact reason for falure. And we could not guess it.
|
|
|
|
|
sonavi wrote: Debug assertion failed(press retry to debug your applicaiton).
and if i retry it will displaying an error message as[A break point is generated in the dlgdata.cpp at the line ASSERT(FALSE)]
comment that line and rebuild it.. that are there for debugging!
|
|
|
|
|
I am trying to display two lines in an edit box. The edit box is checked for multi-line. The code displays the following just fine:
one two three four five six
I want it to display:
one two three
four five six
How do I do it? Here's the code I'm using:
RawString.Format("%s %s %s %s %s %s", F1, F2, F3, F4, F5, F6);
GetDlgItem(IDC_EDIT_RawBidAsk)->SetWindowText(RawString);
Thanks
|
|
|
|
|
Put \r\n in the string to create a line break
|
|
|
|
|
Thanks. I inserted the \r\n into the string and it works fine.
RawString.Format("%s %s %s\r\n%s %s %s", F1, F2, F3, F4, F5, F6);<br />
GetDlgItem(IDC_EDIT_RawBidAsk)->SetWindowText(RawString);
|
|
|
|
|
Hey,
I need to read data coming in from a circuit into the microphone or the audio plug in C++. I looked at WaveIn** functions and the MCI library in MSDN and they all record the incoming data (sound) into a wave format, however I need to directly interface with the sound card and read voltages instead of in a wave file. Anyone knows how to do that or has examples of work done to read sound from the microphone directly from C++.
Thanks!
|
|
|
|
|
hello, I'm new to win32 and have created a ListBox where I'm hadling WM_CTLCOLORLISTBOX messages and setting the background color to black. The problem is, with application running and logging off then back in the list box doesn't repaint it self.
These are the steps to reproduce:
Launch application
press ctl + alt + delete which brings up the "Windows Security" dialog
press escape to cancel "Windows Security" dialog
Result:
Only the items in the list box have black backgrounds the rest of it is white?
The vertical scroll bar is not painted.
Dragging the window off the screen and back repaints the ListBox?
Any ideas???
Thanks Allan
|
|
|
|
|
towertsk wrote: have created a ListBox where I'm hadling WM_CTLCOLORLISTBOX messages and setting the background color to black
Can you show, how you have done this?
towertsk wrote: Launch application
press ctl + alt + delete which brings up the "Windows Security" dialog
press escape to cancel "Windows Security" dialog
Result:
Only the items in the list box have black backgrounds the rest of it is white?
The vertical scroll bar is not painted.
Can you explain this ?
|
|
|
|
|
How can I create a makefile for a VC++ project from within Visual Studio 2005? Please help
Vibhu
|
|
|
|
|
Hi,
I have a callback which is a static void function, will there be any benefit to adding an inline to this?
Is there any free profilers available for Visual C++ .NET Unmanaged code?
Thanks in advance.
|
|
|
|
|
Callbacks are usually called through a function pointer - In that case inline wouldn't be doable
I would think.
Mark
"If you can dodge a wrench, you can dodge a ball."
|
|
|
|
|
godspeed123 wrote:
I have a callback which is a static void function, will there be any benefit to adding an inline to this?
naah. don't do it.. as inline.. as doesn't work.. as static function force compiler to behave it as function instead of piece of code to be inserted
|
|
|
|
|
Lets say there are three menu items File, Edit, View as you can see in your browser. Now my question is,
1. how to get the on click/select event of either of the menu items?(here they are popup menu's so ID's are not associated with them and we cant make use of ON_COMMAND)
2.how to get the name of the selected menu item? (here menu items are appended dynamically using MF_POPUP)
|
|
|
|
|
Super Hornet wrote: here they are popup menu's
You cannot click on a pop up menu. Even if you click on a pop up menu nothing will happen..
nave
|
|
|
|
|
Super Hornet wrote: how to get the on click/select event of either of the menu items?(here they are popup menu's so ID's are not associated with them and we cant make use of ON_COMMAND)
you have to use TrackPopmenu with TPM_RETURNCMD flag...
|
|
|
|
|
Sorry.... friends. I deleted this link. Because There is having some problems.
Nice talking to you. If you judge people, you have no time to love them. -- Mother Teresa
|
|
|
|
|
|
but beware it seems to hold pirated book.. you will be in trouble.. delete the post!
|
|
|
|
|
Thanks Mr. Alok
Nice talking to you. If you judge people, you have no time to love them. -- Mother Teresa
|
|
|
|
|
hi all
i want to convert one audio format to another. for this i will have to get hold of digital o/p of audio data and than apply compression algorithms according to specification of various file formats.
i wanted to ask how to get hold of that uncompressed digital data?
|
|
|
|
|
puneet_cha wrote: i wanted to ask how to get hold of that uncompressed digital data?
Wouldn't you get that by uncompressing the source data?
"If you can dodge a wrench, you can dodge a ball."
|
|
|
|
|
From which format to which format?
Press: 1500 to 2,200 messages in just 6 days? How's that possible sir?
Dr.Brad :Well,I just replied to everything Graus did and then argued with Negus for a bit.
|
|
|
|
|
i have to mainly consider 2 formats MP3 and WAVE.
but main issue is that how to get the digital data given by A/D converter.
can somebody help me in this
|
|
|
|