Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #12060
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: C-DLL with paramter VARIANT and FILETIME? |
| Date | Fri, 19 Oct 2018 06:18:05 +0200 |
| Lines | 41 |
| Message-ID | <g2t47vF5268U1@mid.individual.net> (permalink) |
| References | <pqbg3b$hf7$1@news-1.m-online.net> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| X-Trace | individual.net aQetq6n3kpznKJg0b5IUHARR1w5jn20cOlt2wtvrIMq55kWSs= |
| Cancel-Lock | sha1:X35d4ycK6YcTlLEZJykuevBYjNM= |
| User-Agent | XanaNews/1.18.1.6 |
| Xref | csiph.com comp.lang.clipper.visual-objects:12060 |
Show key headers only | View raw
Hi Gerhard, probably you have to allocate memory for the relative structures and pass in the pointers. local strTimeStamp as _winFileTime strTimeStamp := MemAlloc( _sizeof( _winFileTime ) ) and after the call to the function, don't forget to call MemFree(), Wolfgang Gerhard Bunzel wrote: > Hi all, > > I have to use a C-DLL in a VO application. > Most of the C DLL-Functions are working fine - only one function with > parameters as Variant and FILETIME wont work. > > This is the C-function: > BOOL ReadOPCItem (HANDLE hConnect, HANDLE hGroup, HANDLE hItem, > VARIANT *pVar, FILETIME *pTimeStamp, DWORD *pQuality); > > Have used that with PTR, _winVariant, _winFiletime, __Variant2Usual() > - nothing is working. I would be very pleased if somone had a tip on > how this C-funktion can be used. > > Thanks in advance. > > Best regards > > Gerhard Bunzel --
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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