🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: cn.bbs.comp.program
1 messages
1 total messages Started by ׷����� Sat, 10 Jan 1998 00:00
Re: Visual ForPro����API�������,��!!!
#2177
Author: ׷�����
Date: Sat, 10 Jan 1998 00:00
36 lines
2134 bytes
�� �� tigerqiu (ˮ��) �Ĵ������ᵽ: ��
: 
:   Visual FoxPro 5.0����windows API����֪�к�
:   �涨?�������η����FoxPro������?����FoxPro
:   �ɷ����Լ������ͣ������ϣ��ṹ����û��ָ��?
: 
:   ����ֲ��ߴͽ�! ��л!!!!!!!
: 
�﷨�����ο�DECLARE����
DECLARE [cFunctionType] FunctionName IN          LibraryName [AS AliasName]
    [cParamType1 [@] ParamName1,
     cParamType2 [@] ParamName2, ...]

һ������Ϳ�ֱ�Ӵ�
   C                    VFP
CHAR*          @STRING
INT                INTEGER
INT                LOGICAL
                        .
                       .
ע����API������ָ��ֵ,����FOXPRO ���������
����,�ڱ���ǰ��@��ʾ��ַ.
FOXPRO ��֧�ֽṹ,���Ե�API��ṹ����ָ��ʱ
�൱�鷳(�ɲο�VFP��CONTROL.PRJ ����),׼ȷ
������ṹ�����ֽ�N,����һ�ַ�STR1=SPACE(N),��@STR1��Ϊ�����API,����
���غ�,׼ȷ����ṹ��ÿһ�ֶο�ʼ�ֽ�i����ռ
�ֽ�j,SUBSTR(STR1,i,j)���������ֶεĶ�������
����ASC(?)ȡ��,������ڴ�Ѱַ�ȵ�λ���λ
��׼��ת������������.
�Ƿ�ܸ���?
��Ҳ���Կ��DZ�дFLL����C����ֱ�ӵ�API.
��

--
 ��Դ: ����������BBSվ��bbs.nease.net�E[FROM: www-post@bbs.nease.n]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads