Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Boudewijn Lutgerink
  Where is Boudewijn Lutgerink?
 Hoonaardstraat, Driel
 Netherlands
 Boudewijn Lutgerink
 To: joe Degorio
  Where is joe Degorio?
 Tacloban City
 Philippines
 joe Degorio
 Tags
Subject: RE: how to use io.dll
Thread ID: 112172 Message ID: 112298 # Views: 29 # Ratings: 1
Version: Visual FoxPro 8 Category: Active X Controls & OLE Automation
Date: Tuesday, November 07, 2006 8:08:29 AM         
   


> Hi Sir,
>To be honest I'm not sure if I did it right, I put the Declaration in the init event of a form , but I got a syntax error pointing to "Declare Integer PortIn Lib in IO.DLL Integer nPort". I used the same io.dll in VB6 and just follow the guide in adding it to form and declare it as instructed and it worked. But I want VFP to be my main development tool. kindly extend your help sir on this....
>
> thanks


OOPs, typo, instead of:
Declare Integer PortIn Lib in IO.DLL  Integer nPort


make it
Declare Integer PortIn in IO.DLL  Integer nPort


Removing the LIB word.
I actually copied the code from the site and translated it to VFP, I forgot to remove the LIB word on this line. My error.

I like what you write here:
But I want VFP to be my main development tool

Good choice!

Boudewijn LutgeĀ®ink
The attitude of "An eye for an eye and a tooth for a tooth" will make this world toothless and blind (Ghandi)

COMPLETE THREAD

how to use io.dll Posted by joe Degorio @ 11/5/2006 2:57:36 AM
RE: how to use io.dll Posted by Koen Piller @ 11/5/2006 8:45:45 PM
RE: how to use io.dll Posted by joe Degorio @ 11/6/2006 1:27:54 AM
RE: how to use io.dll Posted by Boudewijn Lutgerink @ 11/6/2006 11:45:49 AM
RE: how to use io.dll Posted by joe Degorio @ 11/7/2006 1:15:38 AM
RE: how to use io.dll Posted by Boudewijn Lutgerink @ 11/7/2006 8:08:29 AM
RE: how to use io.dll Posted by joe Degorio @ 11/8/2006 5:57:24 AM
RE: how to use io.dll Posted by Bernard Bout @ 11/8/2006 8:14:45 AM
RE: how to use io.dll Posted by Koen Piller @ 11/9/2006 1:30:16 PM
RE: how to use io.dll Posted by Bernard Bout @ 11/10/2006 5:36:04 AM