Click here to Skip to main content
16,020,345 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCan anybody help me to convert some vb function in vc++? [modified] Pin
Le@rner26-Jan-11 23:12
Le@rner26-Jan-11 23:12 
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 
hi friends,

i have have a MDI Application. when i close a document using onclosedocument. my document handle remains active though the members used in document are set to null. so i cannot check this condition
if(doc)
as it returns true. whereas in the if block it cannot access the members so app crashes
eg.
<pre>
if(doc) //handle =FAEX000
{
doc->getprivatevariable_or_functions(); // the application crashes here
}
</pre>

thanking in anticipation

REgards
Samir
AnswerRe: how to close document handle Pin
Cedric Moonen26-Jan-11 20:38
Cedric Moonen26-Jan-11 20:38 
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 

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.