1.å¨Delphiç¼ç¨ä¸ä½¿ç¨Cè¯è¨ä»£ç [2]
2.Cè¯è¨ä»£ç å¥ç¨å¨Delphiç¼ç¨ä¸[1]
å¨Delphiç¼ç¨ä¸ä½¿ç¨Cè¯è¨ä»£ç [2]
源码源码ghost explorer源码ãä¸:å¨Delphiä¸ç´æ¥é¾æ¥Cè¯è¨çOBJæ件
ããè¿ç§æ¹æ³ç好å¤å¨äºæç»EXEä¸ç¨å¸¦ä»»ä½å¤é¨æ件 ä¹ä¸ç¨å¯¹Cè¯è¨è¿äºçæ
源码源码ghost explorer源码ããæ们é½ç¥é 代ç å¨ç¼è¯æå¯æ§è¡æ件(æDLL OCXæ件 ä¸å)ä¹å é½å¿ é¡»å¾å çæOBJæ件(DELPHIä¸è¬æ¯DCUæ件 ä½ä¹å¯ä»¥éè¿ç¼è¾ç¼è¯é项çæOBJæ件) ç¶åæOBJæ件åèµæºæ件(* RES)é¾æ¥ææç»çå¯æ§è¡æ件 å©ç¨è¿ä¸ªæ¹æ³ æ们å¯ä»¥ç´æ¥æOBJæ件é¾æ¥å°æ们çç¨åºéé¢
源码源码ghost explorer源码ããä¸è¿éè¦æ³¨æçæ¯ ç¼è¯å¨ä¸å çæçOBJæ件ä¹ä¸ä¸æ · Microsoftçç¼è¯å¨çæçOBJæ件æ¯COFFæ ¼å¼ èBorlandçC++Builderçæçæ¯OMFæ ¼å¼ å 为æ们éè¦å¨Delphiä¸é¾æ¥ æä»¥å¿ é¡»ä½¿ç¨CBC æè Borlandå®æ¹ç«ç¹å¸¦çå è´¹ç¼è¯å·¥å · ä¸é¢æ们éè¿ä¸ä¸ªç®åçä¾åæ¥è¯´æå ·ä½æä½æ¥éª¤:
源码源码ghost explorer源码ããè¿ä¸ªä¾åæ¯ç®åçæä¾ä¸ä¸ªå½æ° ç¨æ¥å¤æä¸ä¸ªæ件æ¯å¦ä¸ºDatæ ¼å¼çVCDæ件 头æ件声æå¦ä¸:
源码源码ghost explorer源码源码源码ghost explorer源码
以ä¸æ¯å¼ç¨ç段 ãã/* ããæ件å称:DatFormat h ãã*/ ãã#ifndef DatFormat_H ãã#define DatFormat_H ãã#include ãã#pragma pack(push )//è¿ä¸ªä¸ä¸é¢çé 对 ä¸è¬ç¨å°è®°å½ç±»åçæ¶åéè¦å®ä¹ è¿éå®é ä¸ç¨ ãã#ifdef __cplusplus ããextern C { ãã#endif ããextern BOOL CheckIsDatFile(const char * FileName BOOL *IsDatFile); ãã#ifdef __cplusplus ãã} ãã#endif ãã#pragma pack(pop) ãã#endif // DatFormat_H ããå ·ä½å®ç°ä»£ç DatFormat cå¦ä¸: ãã#include DatFormat h ããBOOL CheckIsDatFile(const char * FileName BOOL *IsDatFile) ãã/* ããå½æ°è¯´æ:该å½æ°ç¨äºå¤æä¸ä¸ªæ件æ¯å¦ä¸ºDatæ件(å³VCDæ件)æ ¼å¼ ããåæ°: ããIN: ããFileName:欲å¤æçæ件å称 ããIN OUT: ããIsDatFile:æ¯å¦ä¸ºDatæ ¼å¼æ件 ããOUT: ãã读æ件失败è¿åFALSE å¦åè¿åTRUE ãã ããä½è :éç»é¬ // soft lovejingtao@ cn ãã*/ ãã{ ããHANDLE hFile; ããDWORD dwBytesRead; ããBOOL re; ããchar MyBuf[ ]; ãã*IsDatFile=FALSE; ãã//建ç«è¯»æ件å¥æ ããhFile = CreateFile(FileName ããGENERIC_READ ããFILE_SHARE_READ ããNULL ããOPEN_EXISTING ãã ãã ); ããif (hFile == INVALID_HANDLE_VALUE) return FALSE; ãã//读æ件 ããre = ReadFile(hFile ãã&MyBuf ãã ãã&dwBytesRead ããNULL); ããif (dwBytesRead!= ) ãã{ ããCloseHandle(hFile); ããreturn FALSE; ãã} ãã//读æ件失败çæ¶å ããif (re!=TRUE) ãã{ ããCloseHandle(hFile); ããreturn FALSE; ãã} ããCloseHandle(hFile); ãã*IsDatFile=(MyBuf[ ]== R && MyBuf[ ]== I && MyBuf[ ]== F && MyBuf[ ]== F ); ããreturn(TRUE); ãã}
源码源码ghost explorer源码lishixinzhi/Article/program/Delphi//源码源码ghost explorer源码Cè¯è¨ä»£ç å¥ç¨å¨Delphiç¼ç¨ä¸[1]
源码源码ghost explorer源码 ããDelphiéåç¨æ¥å¼ååºç¨ç¨åº ä½æ¯ææ¶ä¾¯ä¸äºåºå±çä¸è¥¿å¯ä»¥ç´æ¥ä½¿ç¨Cè¯è¨æ¥å¼å æå¨å ¬å¸ç»å¸¸å¼åè·ç¡¬ä»¶ç¸å ³çé¡¹ç® èå¾å¤ç¡¬ä»¶çSDKå æ¯ç¨Cæ¥åç è¿ä¸ªæ¶åæä¸è¬æå®ä»¬è½¬æ¢æDelphi(PASCAL)è¯æ³ç代ç 源码源码ghost explorer源码ããä¸:å°Cè¯è¨çç¨åºç¼è¯æDLLä¾Delphiè°ç¨ è¿ç§æ¹æ³è¿äºç®å èä¸éè¦é¢å¤å¸¦ä¸ä¸ªDLLæ件 æ以ä¸å¨æ¬æç讨论èå´ä¹å
源码源码ghost explorer源码ããäº:ç´æ¥è½¬æ¢Cè¯è¨ä»£ç å°DELPHI代ç
源码源码ghost explorer源码ããCè¯è¨çå½æ°æ ¼å¼ä¸Delphiä¸å å®ä»¬æ¯å½æ°è¿åç±»åå¨å å½æ°å£°æå¨å 对äºæ²¡æä»»ä½è¿åç±»åçå½æ°åå®ä¹ä¸ºVOIDç±»å
源码源码ghost explorer源码ããä¾å¦:Delphiä¸å½æ°function MyFunction:(intIN:integer):Bool;ç¸åºçCè¯è¨ä»£ç å°±åæBool MyFunction(int intIN);åä¾å¦procedure MyProcedure;====>void MyProcedure;éç¨è¿ç§æ¹æ³ ä¸è¬è¦æ±å¯¹Cè¯è¨æ¯è¾çæ æä¸è¬æ¯éç¨è¿ç§æ¹æ³ ä¸é¢æ¯ææ¶éæ´ççèªå·±å¸¸ç¨çDelphiä¸Cä¹é´çç±»å对åºè¡¨ å ¶ä¸å·¦è¾¹æ¯Cç±»å å³è¾¹æ¯å¯¹åºçDelphiç±»å:
源码源码ghost explorer源码源码源码ghost explorer源码
ãã以ä¸æ¯å¼ç¨ç段:ã
源码源码ghost explorer源码ABC > TABC ããACCEL > TAccel ããATOM > TAtom ããBITMAP > TBitMap ããBITMAPCOREHEADER > TBitmapCoreHeader ããBITMAPCOREINFO > TBitmapCoreInfo ããBITMAPFILEHEADER > TBitmapFileHeader ããBITMAPINFO > TBitmapInfo ããBITMAPINFOHEADER > TBitmapInfoHeader ããBOOL > Bool ããCBT_CREATEWND > TCBT_CreateWnd ããCBTACTIVATESTRUCT > TCBTActivateStruct ããCHAR > Char ããCHAR* > PChar ããCLIENTCREATESTRUCT > TClientCreateStruct ããCOLORREF > TColorRef ããPAREITEMSTRUCT > TCompareItemStruct ããSTAT > TComStat ããCREATESTRUCT > TCreateStruct ããCTLINFO > TCtlInfo ããCTLSTYLE > TCtlStyle ããCTLtype > TCtltype ããDCB > TDCB ããDDEAACK > TDDEAck ããDDEADVISE > TDDEAdvise ããDDEDATA > TDDEData ããDDEPOKE > TDDEPoke ããDEBUGHOOKINFO > TDebugHookInfo ããDELETEITEMSTRUCT > TDeleteItemStruct ããDEVMODE > TDevMode ããDOUBLE > Double ããDRAWITEMSTRUCT > TDrawItemStruct ããDWORD > LongInt ããENUMLOGFONT > TEnumLogFont ããEVENTMSG > TEventMsg ããFARPROC > TFarProc ããFIXED > TFixed ããFLOAT > Single ããGLYPHMETRICS > TGlyphMetrics ããHANDLE > THandle ããHANDLETABLE > THandleTable ããHARDWAREHOOKSTRUCT > THardwareHookStruct ããHELPWININFO > THelpWinInfo ããINT > Integer ããKERNINGPAIR > TKerningPair ããLOGBRUSH > TLogBrush ããLOGFONT > TLogFont ããLOGPALETTE > TLogPalette ããLOGPEN > TLogPen ããLONG > LongInt ããLONG DOUBLE > Extended ããLONG INT > LongInt ããLPSTR > PChar ããLPWSTR > PWideChar ããMAT > TMat ããMDICREATESTRUCT > TMDICreateStruct ããMEASUREITEMSTRUCT > TMeasureItemStruct ããMENUITEMTEMPLATE > TMenuItemTemplate ããMENUITEMTEMPLATEHEADER > TMenuItemTemplateHeader lishixinzhi/Article/program/Delphi//源码源码ghost explorer源码