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ÈçºÎÏòAccessÊý¾Ý±íÖÐ×Ô¶¨Òå×Ö¶Î?È»ºóÏÔʾµ½DBGridÖÐ
ÔõôûÈËÀíÎÒѽ
·Ö·Ö߯ÉÙßÖ£¬Ò»°ãÈ˶¼ÀÁµÃ½øÀ´¡¡*^_^*
SQL
creat table TableName(ID Counter Primary Key,FieldName varchar(20))
ADOQue ......
´ÓÊý¾ÝÀï¶Á³öһЩÊý¾Ý·Åµ½Ò»¸ölistviewÀï È»ºóÓû§ÒªËÑË÷¡®Åܳµ¡¯ ÎÒ¾ÍÒª°ÑÖ»ÒªÓÐÅܳµ×ÖÑÛµÄÊý¾Ý¶¼È¡³öÀ´±ÈÈ硯·¨ÀÀûÅܳµ¡® ÇëÎÊ Õâ¸ö×Ö·û´®Ôõô±È½Ïѽ£¿ ²»ÄÜÔÚÊý¾Ý¿âÀïд´æ´¢¹ý³ÌÀ´È¡£¬Ö»ÄÜÔÚµ±Ç°µÄlistvie ......
±ÈÈçÔÚdelphi´úÂëÀ¶Ôij¸ö·½·¨»òÕßform²»Á˽⣬°´ÏÂctrl¼ü£¬ÓÃÊó±êµãһϣ¬¾Í»áÌøµ½Õâ¸öform»ò·½·¨µÄ´úÂëÄÄÀïÈ¥¡£
ÎÒ¸Õѧc#£¬ÏÈÏÂÁËÒ»¸öϵͳµÄÔ´´úÂë¿´£¬ÀïÃæºÜ¶à¿Ø¼þ¡¢·½·¨²»ÖªµÀÊÇÄÄÀïÀ´µÄ£¬Ò²Ã»·¨È¥ÕÒ¡£ ......
SQL.Add('SELECT formula,val(DMAF) as i from Åä·½Õï¶Ï±í where 1=1 and formula ='''+Combobox3.Text+''' and formula ='''+Combobox4.Text+'''');
Õ ......