Click here to Skip to main content
16,007,687 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Multithread (Client Server) Problem (Repost) Pin
Tim Smith27-Mar-02 2:11
Tim Smith27-Mar-02 2:11 
GeneralRe: Multithread (Client Server) Problem (Repost) Pin
Jon Hulatt27-Mar-02 3:53
Jon Hulatt27-Mar-02 3:53 
GeneralRe: Multithread (Client Server) Problem (Repost) Pin
Le centriste27-Mar-02 6:22
Le centriste27-Mar-02 6:22 
Questionis there any way to pass a double's array like a paramenter by reference to a function? Pin
27-Mar-02 0:43
suss27-Mar-02 0:43 
AnswerRe: is there any way to pass a double's array like a paramenter by reference to a function? Pin
Tomasz Sowinski27-Mar-02 1:28
Tomasz Sowinski27-Mar-02 1:28 
GeneralRe: is there any way to pass a double's array like a paramenter by reference to a function? Pin
1-Apr-02 0:16
suss1-Apr-02 0:16 
GeneralHGLOBAL IStream IPicture... AAAAAH ! Pin
Braulio Dez27-Mar-02 0:04
Braulio Dez27-Mar-02 0:04 
GeneralRe: HGLOBAL IStream IPicture... AAAAAH ! Pin
Paul M Watt27-Mar-02 4:00
mentorPaul M Watt27-Mar-02 4:00 
Very first thing, I would use an HRESULT and catch the return value from OleLoadPicture. In fact you should be checking the return values of all of your COM function calls especially the ones that cross process boundaries. With COM the functions can fail due to unforeseen problems outside of your program.

after you get the HRESULT, you can test if it is valid with the SUCCEEDED(hResult) macro, or if it failed with the FAILED(hResult) macro. Also if you want to know what the error code is when it fails you can look it up in the tools menu with error lookup.
GeneralRe: HGLOBAL IStream IPicture... AAAAAH ! Pin
Braulio Dez27-Mar-02 4:05
Braulio Dez27-Mar-02 4:05 
GeneralRe: HGLOBAL IStream IPicture... AAAAAH ! Pin
Paul M Watt27-Mar-02 4:48
mentorPaul M Watt27-Mar-02 4:48 
GeneralControl Toolbars with Owner Drawn Combo Boxes Pin
John Clump26-Mar-02 23:40
John Clump26-Mar-02 23:40 
GeneralRe: Control Toolbars with Owner Drawn Combo Boxes Pin
wangyiming27-Mar-02 19:39
wangyiming27-Mar-02 19:39 
GeneralRe: Control Toolbars with Owner Drawn Combo Boxes Pin
John Clump27-Mar-02 21:13
John Clump27-Mar-02 21:13 
GeneralRe: Control Toolbars with Owner Drawn Combo Boxes Pin
wangyiming28-Mar-02 17:17
wangyiming28-Mar-02 17:17 
GeneralMultible tables in one dialog Pin
26-Mar-02 23:32
suss26-Mar-02 23:32 
Generalusing DLL error Pin
26-Mar-02 23:05
suss26-Mar-02 23:05 
GeneralRe: using DLL error Pin
Tomasz Sowinski26-Mar-02 23:05
Tomasz Sowinski26-Mar-02 23:05 
GeneralRe: using DLL error Pin
Jack Hui27-Mar-02 5:21
Jack Hui27-Mar-02 5:21 
GeneralPressing key stuff problems... Pin
Rickard Andersson2026-Mar-02 22:59
Rickard Andersson2026-Mar-02 22:59 
GeneralRe: Pressing key stuff problems... Pin
Paul M Watt27-Mar-02 4:09
mentorPaul M Watt27-Mar-02 4:09 
GeneralData Grid with ADO Pin
Forlegend26-Mar-02 22:58
Forlegend26-Mar-02 22:58 
GeneralRe: Data Grid with ADO Pin
Mazdak26-Mar-02 23:09
Mazdak26-Mar-02 23:09 
GeneralRe:Re: Data Grid with ADO Pin
Forlegend26-Mar-02 23:27
Forlegend26-Mar-02 23:27 
GeneralRe:Re: Data Grid with ADO Pin
Mazdak26-Mar-02 23:47
Mazdak26-Mar-02 23:47 
GeneralRe:Re: Data Grid with ADO Pin
Forlegend27-Mar-02 0:31
Forlegend27-Mar-02 0:31 

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.