Õâ¸öզд³Édelphi´úÂ룿 лл
[Õâ¸öզд³Édelphi´úÂ룿 лл
code=C/C++]
BOOL CheckFile(LPCTSTR szFile)
{
BOOL bFindFile;
ATL::CString cPath = szFile;
cPath.MakeUpper();
if (PathFileExists(cPath.GetString()))
{
return TRUE;
}
else
{
cPath.Remove(L'\"');
if (cPath.Find(L"\\") == -1)
{
return TRUE;
}
if (cPath.Left(1) == L"\\")
{
return TRUE;
}
if (cPath.Find(L"\\") == -1)
{
return TRUE;
}
if (cPath.Find(L"RUNDLL32") != -1)
{
return TRUE;
}
if (cPath.Left(8) == L"SYSTEM32")
{
return TRUE;
}
if (cPath.Find(L"SYSTEM32\\SVCHOST") != -1)
{
return TRUE;
}
int nEmpty = cPath.Find(L".EXE");
if (nEmpty != -1)
{
cPath = cPath.Left(nEmpty + 4);
}
TCHAR szPath[MAX_PATH] = { 0 };
if (ReplaceEnvironmentString(cPath.GetString(), szPath))
{
cPath = szPath;
}
bFindFile = PathFileExists(cPath.GetString());
}
return bFindFile;
}
[/code]
function CheckFile(szFile:str
Ïà¹ØÎÊ´ð£º
procedure RunFunction;
type
TFunc = function(A: Integer): Integer;stdcall;¡¡//ÕâÀï¸ù¾ÝDLLÀïÃæº¯ÊýµÄÉùÃ÷ÐÞ¸Ä
var
......
delphi ÊÖ¶¯×°ÔØÇý¶¯ÎļþÌáʾ£º
RROR (1058): The driver is marked as disabled (Start=4) in its service database entry.
ÊDz»ÊÇÕâ¸öÇý¶¯±ØÐèÒªÓÃINFÀ´°²×°¡£¡£ÓÃ×Ô´øµÄINFÀ´×°ÊÇÕý³£µÄ¡£ÓÃÊÖ¶¯×°ÔؾÍÌáʾÈçÉÏ¡ ......
×î½ü»»Á˼ҹ«Ë¾£¬ÓôÃÆµÄÊǹØÓÚDelphiµÄÎÊÌ⣬¹«Ë¾Ö®Ç°ÓõÄÒ²ÊÇD°æDelphi7ÆóÒµ°æµÄ¡£ºóÀ´±»ËÍÁËÂÉʺ¯ÒԺ󣬾ÍÇ¿ÖÆ¸ÄÓÃDelphi7¸öÈ˰棬¾ç˵Õâ¸ö°æ±¾ÊÇÃâ·Ñ°æ£¬»òÕß˵ºÜ±ãÒË£¬Èç¹û²é³öÀ´£¬¾ÍÂò¸öºÃÁË¡£ÕâÏ¿ɺ᣿àÁËÎ ......
ÎÒ±¾À´ÔÚѧУÊÇŪµÄJ2EE
×òÌìÈ¥Á˳¤É³Ò»¼Ò¹«Ë¾Ó¦Æ¸ ˵ÊÇÓÐÒ»¸öÏîÄ¿ delphiµÄ
ʵϰÆÚÒ»¸öÔ ËÄÌì°ëµÄdelphiÅàѵ ºóÃæ25Ìì¸øÄãÒ»¸öÉè¼ÆÎĵµ×Ô¼º×öÒ»¸öÏîÄ¿
×ߺ󲻾ôòµç»°¹ýÀ´½ÐÎÒÐÇÆÚһȥ±¨µ½
¿´µ½delphiµ ......