|
|
Google says:
The instruction in "0x0000000" refers to memory in "0x00000000". The procedure "READ" could not be implemented on the memory.
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
|
|
|
|
|
Well, thanks so far.
I recompiled the project with a map-file an debugging infos. Now I get this call stack:
testMFC.exe!ATL::CRegParser::MAX_VALUE() + 0x1f<br />
mfc71d.dll!CWnd::OnWndMsg(unsigned int message=272, unsigned int wParam=459270, long lParam=0, long * pResult=0x0012f990) Zeile 2013 + 0x11<br />
mfc71d.dll!CWnd::WindowProc(unsigned int message=272, unsigned int wParam=459270, long lParam=0) Zeile 1745 + 0x1e<br />
mfc71d.dll!AfxCallWndProc(CWnd * pWnd=0x0012fe3c, HWND__ * hWnd=0x000300e6, unsigned int nMsg=272, unsigned int wParam=459270, long lParam=0) Zeile 241 + 0x1a<br />
mfc71d.dll!AfxWndProc(HWND__ * hWnd=0x000300e6, unsigned int nMsg=272, unsigned int wParam=459270, long lParam=0) Zeile 389<br />
mfc71d.dll!AfxWndProcBase(HWND__ * hWnd=0x000300e6, unsigned int nMsg=272, unsigned int wParam=459270, long lParam=0) Zeile 209 + 0x15<br />
user32.dll!77d18734() <br />
user32.dll!77d18816() <br />
user32.dll!77d1b89b() <br />
user32.dll!77d24e28() <br />
user32.dll!77d2514c() <br />
user32.dll!77d39b1b() <br />
mfc71d.dll!CWnd::CreateDlgIndirect(const DLGTEMPLATE * lpDialogTemplate=0x004188d8, CWnd * pParentWnd=0x00000000, HINSTANCE__ * hInst=0x00400000) Zeile 310 + 0x2a<br />
mfc71d.dll!CDialog::DoModal() Zeile 519 + 0x20<br />
testMFC.exe!CtestMFCApp::InitInstance() Zeile 58 + 0xb<br />
mfc71d.dll!AfxWinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x00141f0c, int nCmdShow=1) Zeile 39 + 0xb<br />
testMFC.exe!WinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x00141f0c, int nCmdShow=1) Zeile 25<br />
testMFC.exe!WinMainCRTStartup() Zeile 390 + 0x39<br />
kernel32.dll!7c816d4f() <br />
ntdll.dll!7c925b4f() <br />
kernel32.dll!7c8399f3() <br />
|
|
|
|
|
|
Annoying, isn't it? I thought it was a little funny how he gave us an error code written in German and expected us to understand it, when this site is worldwide.
Danny
The stupidity of others amazes me!
|
|
|
|
|
And yet, english is the dominant language. Why aren't we all writing in Chinese?
babelfish and google have free translation services.
--
Look straight into the light!
|
|
|
|
|
Ever heard of lingua franca? It was a term that began back when French was the dominant language. Everyone used French, to dicuss science, art, international anything.
When England became a world power dominating a fourth of the world's population, "the country that the sun never set on" or something like that, English became the dominant language.
America became the dominant world power, well, at least since the atomic bomb was created, but before that as well. Hey, they beat England to become free! Hence, the world speaks American English.
If the Chinese could become anything worth not laughing at, maybe we would be speaking Chinese.
Thanks for the tip on the translation services, though.
Danny
The stupidity of others amazes me!
|
|
|
|
|
Someone said I should read the call trace to find a solution for this error. Well, there it is, but I don't understand it. The program which produced this error (stated above - translation just some post under my first post!!) is an empty MFC-app generated from the MFC-Application Wizard. I made NO changes to the code.
If you guys (BugDanny & toxcct) would have read my first posting and the postings from the other guys, maybe you wouldn't have judged me stupid and annoying.
No I am NOT a VC++/MFC guru like you might be. That's why I thought I could find some answers on this board.
|
|
|
|
|
rncwnd wrote:
If you guys (BugDanny & toxcct) would have read my first posting and the postings from the other guys, maybe you wouldn't have judged me stupid and annoying.
I did read all the postings before I made my post. My post was intended as a comment on the mildly annoying, albeit funny way that you posted your error in German originally, since you seem to be able to write English as well and this is a worldwide slight. I did not judge, or even all you stupid. (This is bugDanny writing, from a computer a don't usually use.) Neither did toxcct, I don't think.
rncwnd wrote:
No I am NOT a VC++/MFC guru like you might be.
And that's all right. This is the place to come for questions. You do not need to be a VC++/MFC guru to post your questions in Enlighs on a worldwide site (see my earlier post on lingua franca) or to make a statement or comment along with your long stack call list.
rncwnd wrote:
That's why I thought I could find some answers on this board.
And this is the perfect place to come. As another noted, I would suggest, if the error was produced just by using the MFC App Wizard, to redo the action in another directory and see if the problem reproduces. If it does, I would suggest uninstalling and reinstalling your VC Studio. Perhaps the program had gotten corrupted somehow. As an alternative, you could post exactly which selections you made in the App Wizard. Perhaps there were selections you made that put this program in this state. At the very least, someone might be able to reproduce your error.
I'm sorry if I deeply offended you. I did not intend my post to be taken that seriously.
|
|
|
|
|
Anonymous (that is bugDanny) wrote:
I did read all the postings before I made my post. My post was intended as a comment on the mildly annoying, albeit funny way that you posted your error in German originally, since you seem to be able to write English as well and this is a worldwide slight. I did not judge, or even all you stupid. (This is bugDanny writing, from a computer a don't usually use.) Neither did toxcct, I don't think.
Well, then I misunderstood you both and I'm sorry for that.
I didn't know that e.g. google translates of error messages are that good (I didn't want to translate the error message because I was afraid to give it a completly diferent signification...)!!!
My program works now. After I deinstalled VS and installed it again after a memory and hdd check... After a "new rebuild" of all my MFC-programs they worked again.
Sometimes computers drive me really crazy.
|
|
|
|
|
If your app was generated with the application wizard and you didn't change anything (at least, not intentionally), I'd suggest creating a new one in a separate directory and see if it produces the same error. If not, as I would expect, compare all the sources (*.cpp; *.h; *.rc) to see what's causing the problem.
Other than that, and according to the call stack you posted, the problem occurs while your dialog receives the WM_INITDIALOG message. From CWnd::OnWndMsg (the second item from the top of the stack), it's going to ATL::CRegParser::MAX_VALUE, which is weird and would indicate some corruption.
Hope that helps,
--
jlr
http://jlamas.blogspot.com/[^]
|
|
|
|
|
i derived my class XView from CListView. I set the mode to LVS_REPORT so that always the view is a table with Five columns with headers. Now i add values to the rows it works fine.
Now what i want is in one of the "client name" column there should be a facility to change the text on double click or so.
Thanks
|
|
|
|
|
catch the HDN_ITEMDBLCLICK notification from the header control embedded in the ListView control.
|
|
|
|
|
|
is it possible to make the radio button click automatically in dialog application after i make the data analysis?
from the books, i jst found that they teach how to make it function when we click the radio button. could anyone give me example of programming to make a button click automatically among a group of button wtht to click it manually?
|
|
|
|
|
I believe you want CheckRadioButton() or maybe just CheckDlgButton()
|
|
|
|
|
Now I had almost finished coding. I need to document my gui, so that in future if i read it or someone else read it they can regenerate the application.
I possible give me a proffesional documentation teamplate.
Thanks a lot.
|
|
|
|
|
|
Sure !! It's a great tool and it's not so tedious work I've you have taken it in consideration during developing time.
Marc Soleda.
... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.
|
|
|
|
|
i want to specify the caption of the owner draw button at design time.
|
|
|
|
|
Place your caption in the resource file (as with a classic button), then extract your text at runtime using GetWindowText. With an owner-drawn button, you will need to draw the text yourself.
Regards,
BB
http://spin.neostrada.pl
|
|
|
|
|
Hello,
I am developing an USB pen drive app,
the program works well with XP(or 2000) administrative privileges,
but it doesn't work without it,
because the way I get the drive handle is(suppose the usb pen drive is E:\):
HANDLE hDevHandle;
char szDrive[]= "\\\\.\\E:";
hDevHandle = CreateFile(szDrive,
GENERIC_WRITE | GENERIC_READ,
FILE_SHARE_READ | FILE_SHARE_WRITE,
NULL,
OPEN_EXISTING,
0,
NULL);
CreateFile fail without administrative privileges,
following is the description of limitation from MSDN:
You can use the CreateFile function to open a physical disk drive or a
volume. The function returns a handle that can be used with the
DeviceIoControl function. This enables you to access the disk's partition
table. It is potentially dangerous to do so, since an incorrect write to a
disk could make its contents inaccessible. The following requirements must be
met for such a call to succeed:
1.The caller must have administrative privileges.
2.The dwCreationDisposition parameter must have the OPEN_EXISTING flag.
3.When opening a volume or floppy disk, the dwShareMode parameter must
have the FILE_SHARE_WRITE flag.
item 1 cause the fail,
How could I get drive handle without administrative privileges?
Thanks,
Chandler
|
|
|
|
|
|
can anyone tell me how to print in MFC
application
I have a public derived class whose
base class is CScrollView.
Have displayed some text on the view
want to just preview & print it on
the printer
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
Hi
I have used CBannerStatic Class functions and running my text horizontally like Banner.
Now I have two to three sentence and I want to show one Bullete (may be one filled dot/circle) then how to show it ?
Thankx
Amarelia Maehsh
Gujarat
India
|
|
|
|
|