Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Karl-Heinz" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: C-DLL with paramter VARIANT and FILETIME? Date: Sun, 21 Oct 2018 16:36:29 +0200 Lines: 26 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: individual.net LhbAuho86S1Hbr/COMP8Qwr4+LtbO56apiP4gTWzoTYx6QTQk= Cancel-Lock: sha1:CqLFo5RNqeT8r16kKo4YEV5RP8Q= In-Reply-To: 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:12071 Hi Gerhard, i think you´ve also tried : struVariant := memalloc ( _sizeof ( _winVariant ) ) ? i found a description of the ReadOPCItem() func // // ReadOPCItem(...) // // May be used by an application to read the current value of an item. // Is only valid if EnableDLLBuffering has been set to TRUE when the // connection was established. // Did you set EnableDLLBuffering to true according the docs ? What does Getlasterror() show after the ReadOPCItem() call ? regards Karl-Heinz