FlashÆô¶¯»Ãæ - C/C++ / C++ ÓïÑÔ
ÓÃshockwaveflash×öÁËÒ»¸öFlashÆô¶¯»Ã棬µ«ÊÇÑ»·²¥·ÅµÄ£¬Ïë²¥·ÅÍêÁË£¬¾Í×Ô¶¯½áÊø½øÈë³ÌÐò£¬²»ÖªÔõôʵÏÖ
ºÃÏñÓÐÏòµ¼µÄ
°ï¶¥¡£
up
ÆÚ´ý¸ßÈ˽â¾ö
Äã¾ßÌåÔõôʵÏֵģ¿
BOOL Cwork3App::OnIdle(LONG lCount)
//BOOL CFlashStartApp::OnIdle(LONG lCount)
{
// TODO: Add your specialized code here and/or call the base class
/////////////////////////////////////////////////
///////////////////////////////////////////
BOOL bResult=CWinApp::OnIdle(lCount);
// DWORD m_dwCurentTime=::GetCurrentTime;
CTime m_dwCurentTime=::GetCurrentTime();
// if (nFlag)
if (flashdlg&&nFlag)
{
if((m_dwCurentTime-m_dwSplashTime)>3000)
// if((::GetCurrentTime()-m_dwSplashTime)>3000)
{
flashdlg.EndDialog(IDCANCEL);
// m_pMainWnd£>ShowWindow(SW_NORMAL);
//m_pMainWnd£>UpdateWindow();
bResult=FALSE;
nFlag=FALSE;
}
else
{
bResult=TRUE;
}
}
return bResult;
}
BOOL Cwork3App::PreTranslateMessage(MSG* pMsg)
//BOOL CFlashStartApp::PreTranslateMessage(MSG* pMsg)
{
// TODO: Add your specialized code here and/or call the base class
if (flashdl
Ïà¹ØÎÊ´ð£º
дÁ˸ö²âÊÔ³ÌÐòÈçÏÂ
struct hostent *hp;
char AlarmDevIP[20];
int x2;
hp = gethostbyname("www.google.com");
if (hp)
{
......
´ó¼ÒºÃ£º
ÎÒÏëʵÏÖ¼ì²âµ½²åÈëSD¿¨ºó×Ô¶¯½«SD¿¨¸ñʽ»¯µÄ¹¦ÄÜ£¬²»ÖªC/C++ÖÐÓÐûÓиñʽ»¯UÅ̵ĺ¯Êý£¿
ÁíÍ⣬ÎÒ²»ÏëʹÓÃSHFormatDrive£¬ÒòΪÕâ¸öº¯Êý»áµ¯³öÊÇ·ñÒª¸ñʽ»¯µÄÌáʾ¿ò£¬ÎÒÐèÒªµÄÊÇϵͳ×Ô¶¯¸ñʽ»¯£¬¶ø²Ù×÷Õß² ......
ÊäÈë10ѧÉúµÄ³É¼¨£¬¹²4¿Æ£¬°´ÕÕÒªÇó±àдʵÏÖÏÂÁй¦ÄܵijÌÐò£¨ÓÃ×Óº¯ÊýʵÏÖ£©
1 Çó³öÿ¿ÆµÄƽ¾ù³É¼¨ ½«Æ½¾ù·Ö¡µ90µÄͬѧµÄÅÅÐò
×÷ÒµÌù~£¡
àÅ ÎÒͬѧ¸øÎÒ·¢µÄ×÷Òµ ÎÒ×òÌì×öÁË µ«Êǽá¹ûÔËÐв»¶Ô ×òÌìÓкö ......