|
Check that you didn't missed to call "InitCommonControls" in your application initialization function.
Put a breakpoint and find the exact location where the crash occurs, you will defiantly find a NULL pointer or HANDLE (m_hWnd).
|
|
|
|
|
You haven't show the line in this code where that causes the fault. I've got a question: have you got any shell extensions installed?
Steve
|
|
|
|
|
uhen execute DoModal() of CFileDialog,this problem occur.
what type of shell extension?
|
|
|
|
|
The kind that's crashes! Call you post a call stack?
Steve
|
|
|
|
|
Call Stack is
SECUR32! 6c9121dc()
SECUR32! 6c91232a()
SECUR32! 6c912254()
SHELL32! 769b146c()
SHELL32! 76b7a2a0()
SHELL32! 7698236f()
SHELL32! 76b7a345()
SHELL32! 76b7a41e()
COMDLG32! 763e0323()
COMDLG32! 763e23f8()
SHELL32! 76c16feb()
SHELL32! 76c16f45()
SHLWAPI! 77760f49()
SHELL32! 76a9dcbd()
SHELL32! 76a9dbf9()
SHELL32! 76a9dbf9()
SHELL32! 76a9dbf9()
SHELL32! 76a9dbf9()
SHELL32! 76a9dbf9()
SHELL32! 76a9dbf9()
SHELL32! 76a77331()
SHELL32! 76a76a23()
SHELL32! 76a76eef()
SHELL32! 76a3d57d()
COMDLG32! 763bd124()
COMDLG32! 763b92cf()
COMDLG32! 763b9783()
USER32! 7621fd72()
USER32! 76214ae0()
USER32! 7621481f()
USER32! 762226da()
USER32! 7621fd72()
USER32! 7621fe4a()
USER32! 762209d3()
USER32! 7622b759()
Test! 01010bf0()
Test! 01012983()
Test! 01010d28()
Test! 01013133()
Test! 010131c2()
USER32! 7621fd72()
USER32! 7621fe4a()
USER32! 76220943()
USER32! 7620b19f()
USER32! 76232dad()
USER32! 76232eec()
USER32! 76232f10()
COMDLG32! 763b6eb8()
Test! 0101db54()
Test! 0100daec()
Test! 010163fa()
Test! 01016609()
Test! 0100f7b8()
Test! 01013ce6()
Test! 01014770()
Test! 01010d28()
Test! 01013133()
Test! 010131c2()
USER32! 7621fd72()
USER32! 7621fe4a()
USER32! 76220943()
USER32! 76220b36()
COMCTL32! 74d2b4b2()
COMCTL32! 74d2b514()
COMCTL32! 74d2b61f()
USER32! 7621fd72()
USER32! 7621fe4a()
USER32! 762209d3()
USER32! 7622b759()
Test! 01010bf0()
Test! 01010d3f()
Test! 01013133()
Test! 010131c2()
USER32! 7621fd72()
USER32! 7621fe4a()
USER32! 7622018d()
USER32! 7622022b()
USER32! 762151f5()
USER32! 76221891()
Test! 010158cd()
Test! 01011147()
Test! 0100f795()
Test! 0100e1c4()
Test! 0101b52c()
Test! 0101b70d()
Test! 0101b577()
Test! 0101b75a()
Test! 0100fdf9()
Test! 01002863()
Test! 01045af9()
Test! 010302ba()
KERNEL32! 762ed0e9()
NTDLL! 778d19bb()
NTDLL! 778d198e()
|
|
|
|
|
This isn't very helpful without symbol names! Try in a debug build and post the stack. If it only crashes in release mode (which is a clue in itself) turn on debug information for the release build and try again.
Steve
|
|
|
|
|
This problem not occur when i run application from Code,
but it occurs when i run the Application exe from purticular location.
i really dont know how this happens,coz its occur only from some location.
please help me for this.
thanks.
|
|
|
|
|
Like I said, get a stack trace with a build that has debug information. There's little point to having a stack trace with no symbol names.
Steve
|
|
|
|
|
Hello sirs
1.Most recently we are creating Tiff compression , When I compressed the TIFF Image using LZW which is opened Microsoft document Imaging / Microsoft Picture manager but the Compression ratio is such big as compared to JPEG / Old Style JPEG.
2. When I used JPEG Compression mode , the compression ratio is good but not opened Microsoft document Imaging / Microsoft Picture manager.
3. But When I used OLD JPEG Compression mode , the compression ratio is good and also its opened Microsoft document Imaging / Microsoft Picture manager...[testing in one sample file]
But I dont know how to create OLD style JPEG compression mode in Tiff Image.
This is my problem
Please replay me !
Thanks
Failure is Success If we learn from it!!
|
|
|
|
|
int i=65336;
char c=i;
printf("%d",'c')
wat will be the output
|
|
|
|
|
Give it a spin and see.....
Steve
|
|
|
|
|
99
since 65536 % 256 = 56 and 'i' = 105
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read formatted code with indentation, so please use PRE tags for code snippets.
I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).
|
|
|
|
|
Luc Pattyn wrote: since 65536 % 256 = 56
Are you kidding? Or you C# guys have lost the powers-of-two sequence?
And yes, I know it was a typo.
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.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
modified on Friday, May 14, 2010 2:48 AM
|
|
|
|
|
Me? Never.
just a typo perhaps.
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read formatted code with indentation, so please use PRE tags for code snippets.
I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).
|
|
|
|
|
Is this a new type joke or cheap quiz?
Or somewhat a mystery what I don't know?
|
|
|
|
|
You should find a 'charitable' compiler for your code...
And what about semantics?
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.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Manoj Kumar Bestha wrote: wat will be the output
Certainly nothing like the answer you are expecting; take a closer look at your code. Also note that for questions like this you can get an immediate answer by compiling the code and running it at home.
It's time for a new signature.
|
|
|
|
|
Any ideas on what caused this and how to fix it?
Thanks for any help.
Alan
|
|
|
|
|
Can you be more specfic are u Debugging Building an app
Anyway What is the Host OS I have had problems regarding access Going fro XP to Vista
If this is your issue try runing Visual Studio as Adminstrator Just right Click on the VS Icon and
there should be a option "Run as Adminstrator"
|
|
|
|
|
Hi:
Yes, I'm building the app and I want to add some more controls and I right click on the DLG in the class view to try to view it so I can modify it and all the sudden I was denied access. I was able to do it before. I'm running Visual Studio Std edition Service Pack 1 on XP.
Thanks, Alan
|
|
|
|
|
One thing you could try, is to exit Visual Studio. Then go to the folder where your project is and delete the *.NCB file. The file will automatically be rebuilt next time you open your project.
This might help.
|
|
|
|
|
Nope. Tried that and it didn't work.
Thanks for the suggestion though.
This is really annoying !
|
|
|
|
|
Hi,
I am trying to re-create the Yellow arrow the Visual Studio Debugger displays while stepping thru code
Is that custom cursor or custom windows/control ???
thsnxk
|
|
|
|
|
|