delphi record תC# - .NET¼¼Êõ / C#
delphi
Delphi(Pascal) code:
zoke_bt_object = record
end;
pzoke_bt_object = ^zoke_bt_object;
ÇëÎʸ÷λ´óÏÀÕâ¸öתΪC#ÊÇÔõÑù°¡£¿
pzoke_bt_object = ^zoke_bt_object;
Õâ¸öÄØ£¿
²»Ã÷°×¡£¡£ Õâ¾ä»°ÊÇʲôÒâ˼£¿ ʲôȡ·ÇÁË£¿ Äã¼ÓÏÂ×¢ÊÍ
Õâ¸öÊÇdelphiµÄд·¨ÎÒÒ²²»Ã÷°×¡£¡£¡£
¡£¡£¡£¡£ ÄÇÄãÈ¥delphiÎÊÎÊ¿´
ÄÇתΪC#Ôõôд°¡£¬Ð»Ð»
zoke_bt_object*ÊÇÕâÑùÂð£¿
pzoke_bt_object = *zoke_bt_object;
µ«ÊÇC#ÔÚÍйÜϲ»Ö§³ÖÖ¸Õ룬ÐèҪʹÓÃunsafe¹Ø¼ü×Ö¡£
LZÓ¦¸Ã·ÅÑÛÕû¸ö³ÌÐò£¬¸ãÇå³þ×÷ÁËʲô£¬Ã»±ØÒªÍêȫģ·Âdelphi¡£
Ŷ£¬ºÃµÄ£¬ÄÇpzoke_bt_objectÊÇʲôÀàÐͺÃÄØ£¿
¶÷ ÒªÒÔÕûÌåµÄ½Ç¶È·Òë Ò»¾äÒ»¾ä·Òë ¾ÍÏñ·ÒëÓïÑÔÒ»Ñù ²»Í¨
Ïà¹ØÎÊ´ð£º
txt ºÍXML ¸ñʽÏàÓ¦
²»½èÖúDataSet
µ¼Èë¶ÁÈ¡TXTÎļþ
È»ºóÖ±½ÓдÈëXML(ͬһÎļþ,²»Í¬Êý¾Ý,µÝÔöÔÊý¾ÝûÓб»¸²¸ÇÇé¿öÏÂÔö¼ÓÊý¾Ý.)
½Ì¸öÒªµã»ò×îºÃÊÇÓиö´úÂëÌáʾµÄ
¹ý·ºÃºº °ï¸öæÈö^^
²»»á£¬°ïÂ¥Ö÷ ......
ÈçÌ⣬C/C++ÖеÄexeclÔõôµ÷ÓÃдºÃµÄjava³ÌÐò£¬
execl("/opt/java1.5/bin/java","MyClass",NULL);
ÕâÑùµÄ²»ÐÐŶ¡£
²»»á.
ÔËÐÐjava³ÌÐò
ÕÒ¹¤¾ß²é¿´Ò»ÏÂÄǸö³ÌÐòµÄÃüÁîÐÐ
ËÑË÷Ï£ºjni ......
visual c++2008Ëٳɰ棬²»ÄܱàÒëC³ÌÐòÂð£¿Èç¹ûÄÜÊÇÔõô¿ªÊ¼µÄ°¡£¿ÓÃËü´øµÄÃüÁîÌáʾµ¥Ôª³ýÍâ ¡£
н¨¹¤³Ì£¨¿Õ¹¤³Ì»òwin32¿ØÖÆÌ¨£©
¾ø¶Ô¿ÉÒÔ¡£½¨Á¢win32¿ØÖÆÌ¨³ÌÐò¾Í¿ÉÒÔ
ÒýÓÃ
н¨¹¤³Ì£¨¿Õ¹¤³Ì»òwin32¿ØÖÆÌ¨£ ......
¹«Ë¾¿ª·¢Ò»¸ö´¥ÃþÆÁ³ÌÐò£¬ÎÒ¸ºÔðµÄÒ»¿é£¬ÊµÏÖÕâÑùÒ»¸ö¹¦ÄÜ£¬µ±Êó±êµã»÷´°¿ÚÖÐͼƬ£¨Ò»ÕÅͼ·Ö³É¼¸²¿·Ö£©µÄÆäÖÐÒ»²¿·Öʱ£¬½«Õⲿ·ÖͼƬ½ØÈ¡³öÀ´£¬µ¯³öеĴ°¿Ú£¬½«½ØÈ¡³öµÄͼƬÏÔʾ³öÀ´¡£ÎÒʹÓÃRectangeÀà¿ØÖÆÁË·µ»Ø£¬ ......
ÓÃlistviewÏÔʾ³ö´ÓÊý¾Ý¿âÖвéѯ³öµÄ¼Ç¼£¬ÏëÔÚ×îºó¼Ç¼ºóÃæÌí¼ÓÒ»ÌõºÏ¼ÆÐУ¬ÈçºÎʵÏÖ£¡Ð»Ð»´ó¼Ò£¡
°ó¶¨Êý¾ÝÄãÓ¦¸ÃûÎÊÌâ°É£¬°ó¶¨ÍêÒÔºóÓÃÒ»¸öÑ»·°ÑÄãҪͳ¼ÆÊý¾ÝµÄÁÐÖеÄÊý¾Ý×ܺÍÓÃÒ»¸ö±äÁ¿½ÓÊÜ£¬È»ºóÔÚÑ»·ÍâÃæne ......