Click here to Skip to main content
16,011,784 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with registring server Pin
9-Jan-02 22:28
suss9-Jan-02 22:28 
GeneralRe: Problem with registring server Pin
James R. Twine10-Jan-02 5:06
James R. Twine10-Jan-02 5:06 
GeneralWith a little help from my friends Pin
Joaquín M López Muñoz9-Jan-02 5:17
Joaquín M López Muñoz9-Jan-02 5:17 
GeneralStretchBlt question Pin
jafrazee9-Jan-02 5:05
jafrazee9-Jan-02 5:05 
GeneralRe: StretchBlt question Pin
Ernest Laurentin9-Jan-02 5:28
Ernest Laurentin9-Jan-02 5:28 
GeneralRe: StretchBlt question Pin
jafrazee9-Jan-02 5:37
jafrazee9-Jan-02 5:37 
GeneralRe: StretchBlt question Pin
Ernest Laurentin9-Jan-02 6:47
Ernest Laurentin9-Jan-02 6:47 
GeneralRe: StretchBlt question Pin
Jon Hulatt9-Jan-02 6:30
Jon Hulatt9-Jan-02 6:30 
I'd do some tracing in the debugger.

You never check your return values... one of these might help identify the problem.

It's hard to tell with only this code, but I'm not 100% about your CreateBitmap call... is Image (void *) valid? where does it come from. Also, you say that your image data is 1 bit per pixel. is it really? or is it 1 byte per pixel? you'd get a "scrambled" picture if this was wrong.

Just some ideas. it's hard to tell whats going on unless you post more code.

Also, things to try that will help debug are replacing strechblt with bitblt, does it work then? then, try stretchblt, but set dest size = to source size, what happens then?

Sorry to dissapoint you all with my lack of a witty or poignant signature.
GeneralRe: StretchBlt question Pin
Joel Lucsy9-Jan-02 7:52
Joel Lucsy9-Jan-02 7:52 
QuestionDLLs - catching messages? Pin
User 66589-Jan-02 5:01
User 66589-Jan-02 5:01 
AnswerRe: DLLs - catching messages? Pin
Rickard Andersson209-Jan-02 6:35
Rickard Andersson209-Jan-02 6:35 
AnswerRe: DLLs - catching messages? Pin
Joaquín M López Muñoz9-Jan-02 7:02
Joaquín M López Muñoz9-Jan-02 7:02 
GeneralRe: DLLs - catching messages? Pin
User 66589-Jan-02 9:54
User 66589-Jan-02 9:54 
Generalproblem opening files in application Pin
Stew9-Jan-02 4:42
Stew9-Jan-02 4:42 
GeneralRe: problem opening files in application Pin
Michael P Butler9-Jan-02 4:49
Michael P Butler9-Jan-02 4:49 
GeneralRe: problem opening files in application Pin
Stew9-Jan-02 5:14
Stew9-Jan-02 5:14 
GeneralRe: problem opening files in application Pin
James R. Twine9-Jan-02 5:35
James R. Twine9-Jan-02 5:35 
QuestionMenu not enabled? Pin
Fredrik Skog9-Jan-02 3:42
Fredrik Skog9-Jan-02 3:42 
AnswerRe: Menu not enabled? Pin
Nish Nishant9-Jan-02 3:57
sitebuilderNish Nishant9-Jan-02 3:57 
GeneralRe: Menu not enabled? Pin
Fredrik Skog9-Jan-02 22:50
Fredrik Skog9-Jan-02 22:50 
GeneralRe: Menu not enabled? Pin
James R. Twine10-Jan-02 10:19
James R. Twine10-Jan-02 10:19 
GeneralWindows XP: GetWindowsDirectory(), GetSystemDirectory(), GetTempPath() Pin
Ana Lucia9-Jan-02 3:20
Ana Lucia9-Jan-02 3:20 
GeneralRe: Windows XP: GetWindowsDirectory(), GetSystemDirectory(), GetTempPath() Pin
Nish Nishant9-Jan-02 6:52
sitebuilderNish Nishant9-Jan-02 6:52 
GeneralRe: Windows XP: GetWindowsDirectory(), GetSystemDirectory(), GetTempPath() Pin
Ana Lucia9-Jan-02 6:58
Ana Lucia9-Jan-02 6:58 
GeneralRe: Windows XP: GetWindowsDirectory(), GetSystemDirectory(), GetTempPath() Pin
Nish Nishant9-Jan-02 18:16
sitebuilderNish Nishant9-Jan-02 18:16 

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.