Click here to Skip to main content
15,894,180 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Can anybody help me to convert some vb function in vc++? Pin
Malli_S26-Jan-11 23:21
Malli_S26-Jan-11 23:21 
AnswerRe: Can anybody help me to convert some vb function in vc++? Pin
CPallini26-Jan-11 23:38
mveCPallini26-Jan-11 23:38 
Questionhow to use CButton class in win 32 Pin
rajniyadav1a26-Jan-11 19:41
rajniyadav1a26-Jan-11 19:41 
AnswerRe: how to use CButton class in win 32 Pin
_AnsHUMAN_ 26-Jan-11 20:19
_AnsHUMAN_ 26-Jan-11 20:19 
AnswerRe: how to use CButton class in win 32 Pin
Cedric Moonen26-Jan-11 20:31
Cedric Moonen26-Jan-11 20:31 
AnswerRe: how to use CButton class in win 32 Pin
CPallini26-Jan-11 21:30
mveCPallini26-Jan-11 21:30 
Questionhow to close document handle Pin
VCsamir26-Jan-11 18:19
VCsamir26-Jan-11 18:19 
AnswerRe: how to close document handle Pin
Cedric Moonen26-Jan-11 20:38
Cedric Moonen26-Jan-11 20:38 
How did you allocated the "document" ? I mean how did you create the pointer doc (it seems it is a pointer, right?).
When you release your document (for instance by deleting the memory), you also always have to assign null to it, so that you can check whether it has been deallocated. If you do that, then your code will work properly (the if segment won't be entered since doc is NULL).
Cédric Moonen
Software developer

Charting control [v3.0]
OpenGL game tutorial in C++

AnswerRe: how to close document handle Pin
CPallini26-Jan-11 22:02
mveCPallini26-Jan-11 22:02 
GeneralRe: how to close document handle Pin
VCsamir26-Jan-11 22:21
VCsamir26-Jan-11 22:21 
GeneralRe: how to close document handle Pin
Richard MacCutchan26-Jan-11 22:38
mveRichard MacCutchan26-Jan-11 22:38 
Questionelse does nto return expected value Pin
jharn26-Jan-11 9:34
jharn26-Jan-11 9:34 
AnswerRe: else does nto return expected value Pin
TheGreatAndPowerfulOz26-Jan-11 9:47
TheGreatAndPowerfulOz26-Jan-11 9:47 
GeneralRe: else does not return expected value Pin
jharn26-Jan-11 10:04
jharn26-Jan-11 10:04 
GeneralRe: else does not return expected value Pin
TheGreatAndPowerfulOz26-Jan-11 10:08
TheGreatAndPowerfulOz26-Jan-11 10:08 
GeneralRe: else does not return expected value Pin
jharn26-Jan-11 10:10
jharn26-Jan-11 10:10 
GeneralRe: else does not return expected value Pin
TheGreatAndPowerfulOz26-Jan-11 10:12
TheGreatAndPowerfulOz26-Jan-11 10:12 
GeneralRe: else does not return expected value Pin
jharn26-Jan-11 10:21
jharn26-Jan-11 10:21 
GeneralRe: else does not return expected value Pin
TheGreatAndPowerfulOz26-Jan-11 10:44
TheGreatAndPowerfulOz26-Jan-11 10:44 
AnswerRe: else does not return expected value Pin
jharn26-Jan-11 11:04
jharn26-Jan-11 11:04 
GeneralRe: else does not return expected value Pin
TheGreatAndPowerfulOz26-Jan-11 11:07
TheGreatAndPowerfulOz26-Jan-11 11:07 
GeneralRe: else does not return expected value Pin
jharn26-Jan-11 11:12
jharn26-Jan-11 11:12 
GeneralRe: else does not return expected value Pin
TheGreatAndPowerfulOz26-Jan-11 10:10
TheGreatAndPowerfulOz26-Jan-11 10:10 
QuestionRe: else does nto return expected value Pin
Maximilien26-Jan-11 9:56
Maximilien26-Jan-11 9:56 
AnswerRe: else does nto return expected value Pin
jharn26-Jan-11 10:08
jharn26-Jan-11 10:08 

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.