Article View: cn.bbs.comp.lang.visual-basic
Article #20622����VB������VC������DLL
From: ǧ�u���L
Date: Fri, 08 Aug 2003 09:19
Date: Fri, 08 Aug 2003 09:19
15 lines
1624 bytes
1624 bytes
����VCд��һ������ͳ���ֻ�������һ�����ͨ��DLL��VB��ȡ��ֵ���������
����VB��
VC�������int jia (int x,int y)
{
return(x+y);
}
VB���������� private declare function jia lib "f:\jia.dll"
(ByVal x as integer,ByVal y as integer)
��FORM1 CLICK�����¼��� ��ϣ����ʾ��TEXT1��
���Ծ�д Text1.text=jia(ByVal x,ByVal y)
������ǵ��Դ��� �����ָ��
--
[m[1;34m�� ��Դ:��BBS ˮľ�廪վ smth.org��[FROM: 61.240.160.73][m
Technical Details
Message-ID:
<000000$4ui@smth.org>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-05!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!nntp1.fuse.net!logbridge.uoregon.edu!newsengine.sol.net!news-out.visi.com!petbe.visi.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!SMTHShow Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB X-Google-Thread: 109fdd,defe64f5d2013770,start X-Google-Attributes: gid109fdd,public X-Google-ArrivalTime: 2003-08-08 02:20:10 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-05!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!nntp1.fuse.net!logbridge.uoregon.edu!newsengine.sol.net!news-out.visi.com!petbe.visi.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!SMTH From: activeyu@smth.org (ǧ�u���L) Newsgroups: cn.bbs.comp.lang.visual-basic Subject: ����VB����ε���VC������DLL Date: 08 Aug 2003 09:19:31 GMT Organization: BBS ˮľ�廪վ Message-ID: <000000$4ui@smth.org> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit X-Filename: VisualBasic/k/M.1060333765.U0 Lines: 15