Article View: cn.bbs.comp.lang.visual-basic
Article #86ʹ��win32 API����CreateFile��Щ�������
From: fire
Date: Thu, 21 Dec 2006 06:02
Date: Thu, 21 Dec 2006 06:02
21 lines
2083 bytes
2083 bytes
������win32 API�ĺ���CreateFileʱ����һЩ���⣬ϣ����ָ��һ�£� ��general��declarations��������Щ�������£� Private Declare Function CreateFile Lib "kernel32" Alias "CreateFileA" (ByVal lpFileName As String, ByVal dwDesiredAccess As Long, ByVal dwShareMode As Long, lpSecurityAttributes As SECURITY_ATTRIBUTES, ByVal dwCreationDisposition As Long, ByVal dwFlagsAndAttributes As Long, ByVal hTemplateFile As Long) As Long Private Declare Function ReadFile Lib "kernel32" (ByVal hFile As Long, ByVal lpBuffer As Long, ByVal nNumberOfBytesToRead As Long, lpNumberOfBytesRead As Long, ByVal lpOverlapped As Long) As Long �������֮��ϵͳ��ʾ�������£� Compile error: User-defined type not defined vb����CreateFile��������� ���ǣ�����ע���CreateFile �������ʱ�Ͳ��ᱨ�? �������Ǹ�ʲô���⣬ͬ����kernel32�еĺ���ΪʲôReadFile ����ʹ�ö�CreateFile ������Ĵ����أ� -- [m[37m�� ��Դ:��ˮľ���� http://newsmth.net��[FROM: 61.51.41.*][m
Technical Details
Message-ID:
<4RbJj6$5Wi@newsmth.net>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!elnk-atl-nf1!newsfeed.earthlink.net!out02a.usenetserver.com!news.usenetserver.com!in01.usenetserver.com!news.usenetserver.com!newsfeed.media.kyoto-u.ac.jp!news.cn99.com!news.newsmth.net!NEWSMTHShow Full Headers
Complete Article Headers
X-Google-Thread: 109fdd,be5a56eb8b9c620,start X-Google-Attributes: gid109fdd,public X-Google-Language: ENGLISH,GB Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!elnk-atl-nf1!newsfeed.earthlink.net!out02a.usenetserver.com!news.usenetserver.com!in01.usenetserver.com!news.usenetserver.com!newsfeed.media.kyoto-u.ac.jp!news.cn99.com!news.newsmth.net!NEWSMTH From: firewangxj@newsmth.net-SPAM.no (fire) Newsgroups: cn.bbs.comp.lang.visual-basic Subject: ʹ��win32 API����CreateFile��Щ������� Date: 21 Dec 2006 06:02:31 GMT Organization: ˮľ���� Message-ID: <4RbJj6$5Wi@newsmth.net> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit X-Filename: VisualBasic/K/M.1166680950.w0