Article View: comp.lang.pascal.borland
Article #802how can i use this function (written in VC , GEO3D.dll)
From: iceGEO
Date: Wed, 31 Jul 2002 09:59
Date: Wed, 31 Jul 2002 09:59
59 lines
2187 bytes
2187 bytes
hi..
i am novice in both Delphi and Visual C++.
but i have to use VC function in Delphi.
(i use delphi 6 edition.)
how can i use this function (written in VC , GEO3D.dll)
XIS_EXPORT BOOL X3DGTF_SetPlaneTableInfo( HGTFWND _GTFWnd, char*
_strTableName )
XIS_EXPORT BOOL X3DGTF_Invalidate( HGTFWND hGTFWnd )
XIS_EXPORT void X3DGTF_SetPlane( HGTFWND _hGTFWnd, BOOL _bflag, BOOL
_bUpdate )
XIS_EXPORT BOOL X3DGTF_Invalidate( HGTFWND hGTFWnd )
i tried to use like this
//in declare unit
function X3DGTF_SetPlaneTableInfo( hGTFWnd:HGTFWND ; strTableName:Pchar )
: BOOL; cdecl; external GEO3D;
// in main unit
BoolsetPlane:=X3DGTF_SetPlaneTableInfo( hGTFWnd ,pchar('Plane')); // 486
Line
but it cannot work..
error message like below.
//[Error] Main.pas(486): '(' expected but ',' found
how can i do..
Sorry for my poor english....
JJ
Technical Details
Message-ID:
<QxO19.824$Bq.911@news.hananet.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.dacom.co.kr!newsfeed.hananet.net!news.hananet.net!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 115f97,1ffe285c29fc43ca,start X-Google-Attributes: gid115f97,public X-Google-Thread: fd817,1ffe285c29fc43ca,start X-Google-Attributes: gidfd817,public X-Google-Thread: 111659,1ffe285c29fc43ca,start X-Google-Attributes: gid111659,public X-Google-Thread: 110b53,1ffe285c29fc43ca,start X-Google-Attributes: gid110b53,public X-Google-ArrivalTime: 2002-07-31 02:59:13 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.dacom.co.kr!newsfeed.hananet.net!news.hananet.net!not-for-mail From: "iceGEO" <icetiger@hananet.net> Newsgroups: comp.lang.pascal.borland,alt.comp.lang.borland-delphi,han.comp.devtools.delphi,it.comp.lang.delphi Subject: how can i use this function (written in VC , GEO3D.dll) Lines: 63 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: <QxO19.824$Bq.911@news.hananet.net> Date: Wed, 31 Jul 2002 18:59:08 +0900 NNTP-Posting-Host: 218.55.123.125 X-Trace: news.hananet.net 1028109552 218.55.123.125 (Wed, 31 Jul 2002 18:59:12 KST) NNTP-Posting-Date: Wed, 31 Jul 2002 18:59:12 KST