Click here to Skip to main content
15,885,365 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Coonected USB Device Pin
Hamid_RT14-Apr-09 20:22
Hamid_RT14-Apr-09 20:22 
AnswerRe: Coonected USB Device Pin
Randor 14-Apr-09 23:12
professional Randor 14-Apr-09 23:12 
AnswerRe: Coonected USB Device Pin
Jonathan Davies15-Apr-09 1:22
Jonathan Davies15-Apr-09 1:22 
GeneralRe: Coonected USB Device Pin
Davitor15-Apr-09 1:40
Davitor15-Apr-09 1:40 
GeneralRe: Coonected USB Device Pin
Jonathan Davies15-Apr-09 1:53
Jonathan Davies15-Apr-09 1:53 
GeneralRe: Coonected USB Device Pin
Davitor15-Apr-09 2:04
Davitor15-Apr-09 2:04 
GeneralRe: Coonected USB Device Pin
Jonathan Davies15-Apr-09 2:53
Jonathan Davies15-Apr-09 2:53 
QuestionGIF showing problem Pin
subhabasu14-Apr-09 18:49
subhabasu14-Apr-09 18:49 
Hi all,
I am trying to show single-frame/animated GIF images in a window created by 'CreateWindowEx'. I have used Image *, Graphics * (method DrawImage(Image *, INT, INT, INT, INT)) of GdiPlus dll. I used memry DC to avoid flickering. This was working fine.
Now the problem is that - When I add 2 commands /DYNAMICBASE and /NXCOMPAT in linker command line (VS 2005 project settings), the application simply crashes when trying to show any kind of GIF image. Although it is showing BMP, DIB, WMF, JPG, JPEG and TIFF images perfectly.
To see where the actual problem is i ran it in debug mode and find GdiPlus::Graphics::DrawImage fail to process. The Application Verifier 4.0 points that it is due to some bad address pointer. The astonishinig matter is that, in debug mode if I ignore the crash and click on 'Continue', the 'DrawImagw' returns StatusResult "Ok" and 'BitBilt' draws the image perfectly in my application window.
Thanks in advance, for helping me out of this situation.
Subha
AnswerRe: GIF showing problem Pin
Xing Chen14-Apr-09 20:02
Xing Chen14-Apr-09 20:02 
GeneralRe: GIF showing problem Pin
subhabasu14-Apr-09 20:13
subhabasu14-Apr-09 20:13 
GeneralRe: GIF showing problem Pin
Hamid_RT14-Apr-09 20:26
Hamid_RT14-Apr-09 20:26 
GeneralRe: GIF showing problem Pin
ThatsAlok14-Apr-09 23:14
ThatsAlok14-Apr-09 23:14 
GeneralRe: GIF showing problem Pin
subhabasu14-Apr-09 20:28
subhabasu14-Apr-09 20:28 
GeneralRe: GIF showing problem Pin
Hamid_RT14-Apr-09 20:37
Hamid_RT14-Apr-09 20:37 
GeneralRe: GIF showing problem Pin
subhabasu14-Apr-09 20:51
subhabasu14-Apr-09 20:51 
GeneralRe: GIF showing problem Pin
Hamid_RT14-Apr-09 21:04
Hamid_RT14-Apr-09 21:04 
GeneralRe: GIF showing problem Pin
subhabasu14-Apr-09 22:17
subhabasu14-Apr-09 22:17 
GeneralRe: GIF showing problem Pin
Xing Chen14-Apr-09 21:48
Xing Chen14-Apr-09 21:48 
GeneralRe: GIF showing problem Pin
subhabasu14-Apr-09 23:49
subhabasu14-Apr-09 23:49 
GeneralRe: GIF showing problem Pin
Xing Chen15-Apr-09 0:22
Xing Chen15-Apr-09 0:22 
Questionversion change Pin
Purish Dwivedi14-Apr-09 18:28
Purish Dwivedi14-Apr-09 18:28 
AnswerRe: version change Pin
_AnsHUMAN_ 14-Apr-09 18:48
_AnsHUMAN_ 14-Apr-09 18:48 
QuestionRe: version change Pin
Purish Dwivedi14-Apr-09 19:25
Purish Dwivedi14-Apr-09 19:25 
AnswerRe: version change Pin
_AnsHUMAN_ 14-Apr-09 19:34
_AnsHUMAN_ 14-Apr-09 19:34 
GeneralRe: version change Pin
Rajesh R Subramanian14-Apr-09 20:49
professionalRajesh R Subramanian14-Apr-09 20:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.