|
wrote: shashank.s
dude look here Answer[^]... why you are posting same message again and again
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
Maybe same question=difference answers
|
|
|
|
|
he he he
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
WhiteSky wrote: Maybe same question=difference answers
So he volunteers to get confused by us?
"We trained hard, but it seemed that every time we were beginning to form up into teams we would be reorganised. I was to learn later in life that we tend to meet any new situation by reorganising: and a wonderful method it can be for creating the illusion of progress, while producing confusion, inefficiency and demoralisation."
-- Caius Petronius, Roman Consul, 66 A.D.
|
|
|
|
|
jhwurmbach wrote: confused
But why confused?
|
|
|
|
|
WhiteSky wrote: But why confused?
Because he seems to be a bloody beginner without a clue, and he is harvesting Tips along the line "Use CFile ".
This is technically correct and morally (he does not describe his problem, wants uns to do his homework and refuses to answer questions of any kind) too.
But he is probably not able to benefit from such a "pointer into the documentation".
"We trained hard, but it seemed that every time we were beginning to form up into teams we would be reorganised. I was to learn later in life that we tend to meet any new situation by reorganising: and a wonderful method it can be for creating the illusion of progress, while producing confusion, inefficiency and demoralisation."
-- Caius Petronius, Roman Consul, 66 A.D.
|
|
|
|
|
hello,
1. In a Dialog box application, as shown in the Attachment.
On Read Button ask the file name to read using FileDialog and Read the File Using ReadFile()and Display in the EditBox.
2On Save Button ask the file name to save using FileDialog and Write the File Using WriteFile(), Data Entered in the EditBox.
shashank.s
|
|
|
|
|
wrote: as shown in the Attachment.
where? I coudn't find any attachment?
And whats your question? Or is that an assignment for us?
nave
|
|
|
|
|
wrote: 1. In a Dialog box application, as shown in the Attachment.
Where ?
wrote: On Read Button ask the file name to read using FileDialog and Read the File Using ReadFile()and Display in the EditBox.
2On Save Button ask the file name to save using FileDialog and Write the File Using WriteFile(), Data Entered in the EditBox.
Can you be clear about what you want to say ?
Are you looking for CFileDialog ?
|
|
|
|
|
And your problem can you be more specific
|
|
|
|
|
So CStdioFile will read file for you.. SetDlgItemText and GetDlgItemText will do the job for setting and getting text for you!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
do you know code of program :"compress image"?
help me.thanks
|
|
|
|
|
I think you're looking for google.
The most obvious way to compress an image is to save it as a jpeg.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
|
THANKs
|
|
|
|
|
You're welcome
|
|
|
|
|
Hi
I have a question regarding map file please help me
I made a release version of an application with map file so that if my application crash I easily pinpoint out the function/s causes that problem. Unfortunately the Crash address that I get is not included in the map file that Ive created, it seems that the preferred load address of my Map file is 0x00400000 and all the crash address that I have are startin 0x006...
I hope you could help guys
waiting for your response ASAP
|
|
|
|
|
Sure that the crash reported from your exe/dll/module? Double check the crash error dialog
|
|
|
|
|
Yah! Im positive and abosulutely sure that those crash log was from my exe file. but when i search that log file to my map file the crash address was not found. How I will resolved this thing? Thanks
|
|
|
|
|
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q196/7/55.asp&NoWebContent=1
|
|
|
|
|
Thanks for the site, I already know how to read the crash logs using Map file. anyway I suspected that error occur in one of the DLL that I've used. Maybe I will just create a released exe file with debug information.
Thanks for your help again,
|
|
|
|
|
You need a stack dump. You probably called a function in a DLL with bad parameters. By the way, you don’t need to use MAP files to debug release builds, and in fact should not. Simple make your release builds with debug information and debug as normal.
Steve
|
|
|
|
|
Yha! Maybe your right, I will create a new release exe file with debug information and I will deploy it again. just incase that the problem occur again I will easily debug and saw it in the call stack using the crash address
Thanks again Steve,
Till next time
|
|
|
|
|
I feel dumb for asking this - but:
In VS2005 in an MFC project, how do I add an WM_INITDIALOG - Handler to a dialog?
"Events" only list child controls, and "Messages" does not include WM_INITDIALOG (only gems such as WM_INITMENU and WM_INITMENUPOPUP). I can't find anything either in solution explorer or the dialog editor.
2
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers! We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP Linkify!|Fold With Us!
|
|
|
|
|
I'm on 2003, but it's in the overrides (OnInitDialog()), not in the messages. MFC makes the
virtual call always so there's no need to handle the message directly
Mark
|
|
|
|