|
Hi all,
I keep getting this exception:
First chance exception at $7C812A5B. Exception class EOSError with message
'System Error. Code: 1400.Invalid window handle'. Process Application.exe (2932)
I have no idea where the exception takes place cause my compile open some funny code that I'm not familier with. does anyone know how to handle such an exception, or maybe what I'm doing wrong.
Many Thanks
Regards,
The only programmers that are better than C programmers are those who code in 1's and 0's.....
Programm3r
My Blog: ^_^
|
|
|
|
|
Maybe posting relevant code (your not the one VS IDE prompted) will help.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
CPallini wrote: Maybe posting relevant code
Don't know what code to post, cause I'm note sure where the exception occures, thus posting code would won't help. But I presume that the exception occurs on the OnClose of the form .... right ?
Thanks for the response
Regards,
The only programmers that are better than C programmers are those who code in 1's and 0's.....
Programm3r
My Blog: ^_^
|
|
|
|
|
Can you show code snippet?
|
|
|
|
|
When you debug the application and the exception occurs, what does the call stack look like? Can you find any code that you recognize in the call stack? Post that code in that case.
Otherwise you have to explain what you're trying to do when the exception occurs.
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
|
Programm3r wrote: for some or other funny reason...the exception is not occuring anymore.....it would seem like the problem is solved.
Ohh, the error has corrected itself...
I just love self-correcting code.
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
|
My code:
<br />
CString cstr;<br />
<br />
char s[8];<br />
byte b[8]; <br />
<br />
...<br />
<br />
cstr.Format("%s", s);
cstr.Format("%s", b); <br />
What class, template or object can store byte array like Cstring stroe string?
Thanks!
|
|
|
|
|
You can use CArray<unsigned char> or (better) std::vector<unsigned char> .
hanlei0000000009 wrote: cstr.Format("%s", b); /* compile no problem, but content is different between cstr and b */
What are you trying to do? (i.e. you probably have to write your own function to obtain the string representation of the array content...)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
hanlei0000000009 wrote: What class, template or object can store byte array like Cstring stroe string?
CByteArray.
|
|
|
|
|
|
hi...
i am doin files dragdrop task. i want to drop a file in a richedit box,...While dropping a file i want to display the particular file icon also....
how to do that..any idea?
|
|
|
|
|
|
how to read data from every cells of xls (Ms excell) file?
I need sample.
thx
|
|
|
|
|
|
|
I want to use a bitmap array in my project (it is in core c )and i only found exapmle of MFC and Directx application.
Yes U Can ...If U Can ,Dream it , U can do it ...ICAN
|
|
|
|
|
FreeImage - Google is your friend
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
CBitmap bm[30];//Deklaration of an array.
Thats it?
Greetings from Germany
|
|
|
|
|
the problem is that CBitmap is an MFC class which i cant use ,the project is in core C.anyways thanks
Yes U Can ...If U Can ,Dream it , U can do it ...ICAN
|
|
|
|
|
How about an array of NBITMAPs then?
Or you can add all the bitmaps to an Image List.
Mark
"Go that way, really fast. If something gets in your way, turn."
|
|
|
|
|
hi...
i have a diaog box(derived from cdialog) on that treecrtl(another class) is also there... i want to drop some a file inside the tree ctrl...
Instead of dialog class if i use view class the functions
onDragenter()
ondragover()
ondrop()
these all are supporting....but the above all functions i want to acess in dialog class...i tried....but it is saying that cdialog class does not support..
have any idea.... pls reply ...
|
|
|
|
|
Have you tried implementing IDropTarget in your tree control?
http://www.catch22.net/tuts/dragdrop.asp
|
|
|
|
|
ya...using that only i did in view class...but the same thing it is not supporting in Cdialog class
|
|
|
|