Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #12078

Re: C-DLL with paramter VARIANT and FILETIME?

Path csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "Karl-Heinz" <invalid@invalid.invalid>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: C-DLL with paramter VARIANT and FILETIME?
Date Mon, 22 Oct 2018 21:20:00 +0200
Lines 31
Message-ID <g36m7sF46l2U1@mid.individual.net> (permalink)
References <pqbg3b$hf7$1@news-1.m-online.net> <g2t47vF5268U1@mid.individual.net> <pqc867$oa4$1@news-1.m-online.net> <g32bruF75toU1@mid.individual.net> <pqhtkh$di7$1@news-1.m-online.net> <g33h9aFei8aU1@mid.individual.net> <pqkq76$8hj$1@news-1.m-online.net>
Mime-Version 1.0
Content-Type text/plain; format=flowed; charset="UTF-8"; reply-type=original
Content-Transfer-Encoding 8bit
X-Trace individual.net 5ESp8FDm11Ndz4EGgryAyQmE67mH0j47yjlr2qB3Jx+8Y7oMc=
Cancel-Lock sha1:aidcX1neGPmsLmsynBLlW73726M=
In-Reply-To <pqkq76$8hj$1@news-1.m-online.net>
X-Priority 3
X-MSMail-Priority Normal
Importance Normal
X-Newsreader Microsoft Windows Live Mail 16.4.3564.1216
X-MimeOLE Produced By Microsoft MimeOLE V16.4.3564.1216
Xref csiph.com comp.lang.clipper.visual-objects:12078

Show key headers only | View raw


Hi Gerhard,

> ReadOPCItem(myserverhandle, mygrouphandle, myItemhandle, ptrVariant,
> ptrFileTime, @nQuality)
> gives back a TRUE. GetLastError() is 0 - no Error.

strange ....


> This is the C-function:
> BOOL ReadOPCItem (HANDLE hConnect, HANDLE hGroup, HANDLE hItem, VARIANT
> *pVar, FILETIME *pTimeStamp, DWORD *pQuality);


_DLL FUNCTION ReadOPCItem (nConnect AS LONG, pGroupConnect AS LONG,
pItemConnect AS LONG, pVariant AS _winVARIANT, pFileTime AS _winFILETIME,
pQuality REF DWORD) AS LOGIC PASCAL:WTclient._ReadOPCItem@24

Why "AS LONG" ?  IMO nConnect, pGroupConnect and pItemConnect should be
declared "AS PTR" and not "AS LONG" ?

Have you tried to run the VB sample exe files that are included in
WTclient.zip - just to see that ReadOPCItem() works at least with VB ?


Isn“t there any C sample that shows how ReadOPCItem()  is called ?


regards
Karl -Heinz 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

C-DLL with paramter VARIANT and FILETIME? Gerhard Bunzel <g.bunzel@domonet.de> - 2018-10-19 04:38 +0200
  Re: C-DLL with paramter VARIANT and FILETIME? "Wolfgang Riedmann" <wriedmann@gmail.com> - 2018-10-19 06:18 +0200
    Re: C-DLL with paramter VARIANT and FILETIME? Gerhard Bunzel <g.bunzel@domonet.de> - 2018-10-19 11:29 +0200
      Re: C-DLL with paramter VARIANT and FILETIME? "Wolfgang Riedmann" <wriedmann@gmail.com> - 2018-10-21 05:58 +0200
        Re: C-DLL with paramter VARIANT and FILETIME? Gerhard Bunzel <g.bunzel@domonet.de> - 2018-10-21 15:06 +0200
          Re: C-DLL with paramter VARIANT and FILETIME? "Karl-Heinz" <invalid@invalid.invalid> - 2018-10-21 16:36 +0200
            Re: C-DLL with paramter VARIANT and FILETIME? Gerhard Bunzel <g.bunzel@domonet.de> - 2018-10-22 17:26 +0200
              Re: C-DLL with paramter VARIANT and FILETIME? "Karl-Heinz" <invalid@invalid.invalid> - 2018-10-22 21:20 +0200
                Re: C-DLL with paramter VARIANT and FILETIME? Gerhard Bunzel <g.bunzel@domonet.de> - 2018-10-23 16:47 +0200
                Re: C-DLL with paramter VARIANT and FILETIME? "Karl-Heinz" <invalid@invalid.invalid> - 2018-10-23 18:20 +0200
                Re: C-DLL with paramter VARIANT and FILETIME? "Karl-Heinz" <invalid@invalid.invalid> - 2018-10-23 21:07 +0200

csiph-web