c#±àдDLL ¸ødelphi µ÷ÓÃ
ÎÒÔÚc#ÀïдÁËÒ»¸öClassLibrary1Àà¿â£¬ ÉùÃ÷Ò»¸ö½Ó¿Ú£¬ÔÙʵÏָýӿڡ£
ÔÚ³ÌÐò¼¯ÐÅÏ¢ÀïÒѾ¹´Ñ¡ÁËʹCOM¿É¼û¡£
È»ºó¶Ô´Ë±àÒë³É¹¦µÄDLL¡¾beep_Class.dll¡¿½øÐд¦Àí£¬´ò¿ªvs2005×Ô´øµÄÃüÁîÐй¤¾ß¡£ÊäÈë tlbexp beep_Class.dll
ÎÊÌ⣺1£¬vs2005×Ô´øµÄÃüÁîÐй¤¾ßÊÇÊÓͼÖÐµÄ ÃüÁî´°¿Ú£¿
2£¬ÎÒÔÚÃüÁî´°¿ÚÀïÃæ Ö´ÐÐÁË tlbexp beep_Class.dll£¬×ÜÊÇ˵ÃüÁî¡°tlbexp¡±ÎÞЧ¡£
3£¬ »·¾³±äÁ¿ÊDz»ÊÇÐèÒªÉèÖÃÏ£¬¶ÔÓÚÕâ¸ö²»ÊÇÁ˽â
Ö»Ìý¹ýdephi±àдµÄ¸øC#Óá£
Äã˵µÄÎÒµÚÒ»´ÎÌý¹ý¡£¡£¡£¡£
ÕæÄÜÕâÑùÄǾͺÃÁË£¡
²»ÊÇ°É ÍøÉ϶àÎÄÕ¶à˵Dephi¿ÉÒÔµ÷ÓÃC#µÄdll
ûÈË°ïæ°¡
¸ßÊÖ°ïæÏ°¡···
DLLÓ¦¸ÃÊÇ¿ÉÒÔͨÓõģ¬Ö»ÒªÊ¹ÓõÄÀàÐÍÊDZê×¼ÀàÐÍ
Â¥Ö÷¿´¿´Õâ¸ö£¬ÊDz»ÊÇÄãµ÷ÓóöÎÊÌâÁË
http://www.fff8.org/Article/2009/20090924001542.html
http://hi.baidu.com/yxbsmx/blog/item/cbd2c6bf3d82bf0219d81ff1.html
http://topic.csdn.net/u/20080530/17/391602e2-166c-4914-b40f-42b6025b6c9f.html
ÄѶȹúÇì·Å¼Ù£¬¸ßÊÖ¶àÈ¥ÍæÁË£¿~~
using System;
using System.Collections.Generic;
using System.Text;
//using System.Runtime.InteropServices;
namespace ClassLibrary1
{
//[ClassInterface(ClassInterfaceType.AutoDual)]
public class Class1
{
public int add(int a, int b)
&n
Ïà¹ØÎÊ´ð£º
Óиöwinform³ÌÐò,ʹÓÃc#+mysql,ÐèÒªÔÚÒ»¸ö´°ÌåÉèÖÃmysql×Ô¶¯É¾³ý¹¦ÄÜ,°üÀ¨×Ô¶¯É¾³ý¶àÉÙÌì֮ǰµÄÊý¾ÝÒÔ¼°ÊÇ·ñ¿ªÆô×Ô¶¯É¾³ý¹¦ÄÜ,ÎÒ³ÌÐòÍ˳öºó,»¹Ôõô¿ØÖÆMysql×Ô¼ºÉ¾³ý°¡?ÊDz»ÊÇÒªÓÃmysqlµÄeventÀ´ÊµÏÖ?c#¿ÉÒÔµ÷ÓÃmysq ......
±ÈÈçÔÚdelphi´úÂëÀ¶Ôij¸ö·½·¨»òÕßform²»Á˽⣬°´ÏÂctrl¼ü£¬ÓÃÊó±êµãһϣ¬¾Í»áÌøµ½Õâ¸öform»ò·½·¨µÄ´úÂëÄÄÀïÈ¥¡£
ÎÒ¸Õѧc#£¬ÏÈÏÂÁËÒ»¸öϵͳµÄÔ´´úÂë¿´£¬ÀïÃæºÜ¶à¿Ø¼þ¡¢·½·¨²»ÖªµÀÊÇÄÄÀïÀ´µÄ£¬Ò²Ã»·¨È¥ÕÒ¡£ ......
ÇëÎÊÈçºÎÉèÖÃÒ»¸ö°´Å¥£¬Ò»µãµ½Ëü¾Í²»¶ÏÖ´Ðа´Å¥ÉϼÓÔصÄʼþ£¬ÖªµÀµã»÷ÁíÒ»¸ö°´Å¥²Å»áÍ£Ö¹£¬ÒòΪдÁ˸öÑ¡ºÅµÄС³ÌÐò£¬Ï£Íû¿ÉÒÔÏñµçÊÓÉÏÄÇÑù£¬Ò»µã¾Í²»¶ÏµÄË¢ ¶ø²»ÊǵãÒ»ÏÂˢһϣ¡£¡
Á½ÖÖ·½·¨
1.ÓÃtimerÈ¥¿ØÖÆÖ´ ......
ÇëÎʸ÷λÄܲ»ÄÜ¿´µ½delphiÖÐ×Ô´ø×é¼þµÄÄÚ²¿´úÂë,±ÈÈçÔõôȥ¿´speedbuttonµÄflat·½·¨ÖеĴúÂëµÈ.
SpeedButton1.Flat
Êó±êÒƵ½FlatÉÏ£¬°´×¡Ctrl¼ü£¬×ó»÷
¶ÔÁË£¬SpeedButton1 ±ØÐëÊÇ´´½¨ºÃµÄ
ÊÇ°¡£¬¾ÍÕâà ......