C/C++ code:
con.Dr7=con.Dr7&~0xc0;
ÇëÎÊÕâ¾äÔõôת³Édelphi?
°¢·¢²®µÄÕý½â
......
¸÷λ´óÏÀ°ïæ·ÖÎöһϣº
ÎÒÓÃQueryÖ´ÐÐÒ»¸ö´æ´¢¹ý³Ì£¬²Ù×÷Íê³ÉÖ®ºó£¬´æ´¢¹ý³ÌÖ»ÊÇÖ´ÐÐÁËÒ»°ë£¨Ã¿Ö´ÐÐÒ»²¿·Ö£¬¶¼»áдһÌõÖ´ÐмǼµ½ÎÒ½¨Á¢History±í£¬½á¹ûÿ´Îдµ½Ò»°ë¾ÍûÓнá¹ûÁË£©
ͬÑùµÄÌõ¼þ£¬Í¬ÑùµÄÓï¾ä£¬ÎÒÖ±½ÓÓÃSQL µÄ²éѯ·ÖÎöÆ÷£¬History±íÖеļǼÍê³É£¬µ½×îºóÒ»ÌõµÄÊý¾Ý¼Ç¼¶¼´æÔÚ¡£
&n ......
ÏÖÔÚ±íÖУº
Æ·Ãû1 Æ·Ãû2 Æ·Ãû3 ÊýÁ¿
Ìú ÉúÌú 2
Ìú ÊìÌú 3
¿ó·Û ½ø¿Ú¿ó ÔÓ¿ó 1
¿ó·Û ±¾¿ó 2
¿ó·Û ½ø¿Ú¿ó ´ó¿ó 3
¿ó·Û ½ø¿Ú¿ó ÔÓ¿ó 1
ͳ¼Æºó£º
Ìú 5
ÆäÖÐÉúÌú2
ÊìÌú3
¿ó·Û7
ÆäÖнø¿Ú¿ó5
ÆäÖÐÔÓ¿ó2
´ó¿ó3
......
ºÜ¼òµ¥µÄGrid£¬¾ÍÏñÊÇwindows×ÊÔ´¹ÜÀíÆ÷Óá°Ïêϸ×ÊÁÏ¡±ÏÔʾʱÄÇÖÖ£¬»òמÍÊÇXPµÄ¡°ÈÎÎñ¹ÜÀíÆ÷¡±ÖС°½ø³Ì¡±ÄÇÖÖ¡£Óжà¸öÁУ¬Ã¿ÁÐÏÔʾÎÒÏëÒªµÄÒ»¸ö×ֶΡ£ÁкÍÁл¹¿ÉÒÔ×Ô¼ºÍ϶¯Ë³Ðò£¨Õâ¸öÎÒ²»ÒªÇ󣩡£ÌýÆðÀ´ÓеãÏñÊÇDBGrid»òÕßStringGrid£¬µ«ÊÇDBGridòËÆÖ»ÄÜ´ÓÊý¾ÝÔ´£¨DataSource£©ÖжÁÈ¡ÄÚÈÝ£¬ÕÒÁË°ëÌìҲûÕÒµ½ÔõÑù²»Á¬½ÓÊý¾ ......
ÈçºÎ½«Î»Í¼16X16µÄµ¥É«
ÔÚdelphiÖÐÐýתΪ
GDI+·½·¨Ö§³Ö BITMAP,JPEG,PNG,GIF,TIFµÈͼƬ¸ñʽ
sorry
µÚÒ»ÖÖ·½Ê½ÍüÁË°ÑÊý¾Ý½á¹¹¶¨ÒåдÉÏÁË£¬²¹ÉÏ
Delphi(Pascal) code:
type
THelpRGB = packed record
rgb: TRGBTriple;
dummy: byte;
end;
type
pRGBArray = ^TRGBArray;
TRGBArr ......
C/C++ code:
void RefreshThreadList (DWORD dwOwnerPID)
{
HANDLE hThreadSnap = NULL;
BOOL bRet = FALSE;
THREADENTRY32 te32 = {0};
int px=0;
hThreadSnap = CreateToolhelp32Snapshot(TH32CS_SNAPTHREAD, 0);
te32.dwSize = sizeof(THREADEN ......