コメント |
@DIV
#if _MSC_VER < 1400
this->fp = fopen( "PRT.TXT", "wt" );
if ( this->fp == NULL ) {
this->Dlg->MsgOk( "ファイルを OPEN できませんでした " );
return;
}
#else
if ( fopen_s( &(this->fp), "PRT.TXT", "wt" ) != 0 ) {
this->Dlg->MsgOk( "ファイルを OPEN できませんでした " );
return;
}
#endif
@END
@HTML
<A href="http://msdn.microsoft.com/ja-jp/library/z5hh6ee9(VS.80).aspx">MSDN2 ( fopen_s )</A>
@HEND |