C++Builder Programming Forum
C++Builder  |  Delphi  |  FireMonkey  |  C/C++  |  Free Pascal  |  Firebird
볼랜드포럼 BorlandForum
 경고! 게시물 작성자의 사전 허락없는 메일주소 추출행위 절대 금지
C++빌더 포럼
Q & A
FAQ
팁&트릭
강좌/문서
자료실
컴포넌트/라이브러리
메신저 프로젝트
볼랜드포럼 홈
헤드라인 뉴스
IT 뉴스
공지사항
자유게시판
해피 브레이크
공동 프로젝트
구인/구직
회원 장터
건의사항
운영진 게시판
회원 메뉴
북마크
볼랜드포럼 광고 모집

C++빌더 Q&A
C++Builder Programming Q&A
[3127] application에서 dll사용하기
알에스 [] 4090 읽음    2000-03-20 00:00
해당 어플리케이션에서 DLL File을 어떻게 사용하나요?

windecl.h의 내용은 다음과 같습니다

#ifdef _WINDOWS
    #ifndef _WIN32                /* if (WINVER < 0x0400) */
        #define GPIBAPI _far _pascal
    #else
        #define GPIBAPI __stdcall
    #endif
#else
    #define GPIBAPI __stdcall
#endif


/* Global status variables */
#if defined (__cplusplus)
    extern "C" {
#endif
/* Global status variables */
#ifdef _WIN32
    __declspec( dllimport ) int  ibsta;
    __declspec( dllimport ) int  iberr;
    __declspec( dllimport ) int  ibcnt;
    __declspec( dllimport ) long ibcntl;
#else
    extern int  ibsta;
    extern int  iberr;
    extern int  ibcnt;
    extern long ibcntl;
#endif
#if defined (__cplusplus)
    }
#endif


/* GPIB function prototypes */
#if defined (__cplusplus)
    extern "C" {
#endif
    int GPIBAPI ibask(int board, int item, int *value);

                                    (__stdcall *Callback)(),void *CBRefData);

    VOID GPIBAPI Send(int board, short listener, void FAR *databuf, long datacnt, int

#if defined (__cplusplus)
    }
#endif

DLL File name은 GPIB-32.dll입니다

Application에서 Send함수를 사용하고자 하면 어떻게 해야합니까?

+ -

관련 글 리스트
3127 application에서 dll사용하기 알에스 4090 2000/03/20
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.