Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using an fll inside a dll
Message
 
 
To
29/09/2003 15:14:34
Dave Nantais
Light speed database solutions
Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00833271
Message ID:
00833502
Views:
23
This message has been marked as the solution to the initial question of the thread.
Hi Dave,

You may consider using 32-bit Windows API. See Re: Dialer does not work under XP. Message #803626.

>will the following code
>
>
>SET LIBRARY TO foxtools.fll
>
>OPENCOMM = REGFN("OpenComm", "CII", "I")
>WRITECOMM = REGFN("WriteComm", "ICI", "I")
>CLOSECOMM = REGFN("CloseComm", "I", "I")
>ATCommand = "ATDT" + NUMTODIAL + CHR(13)
>COM1 = CALLFN(OPENCOMM, "COM1:", 100, 100)
>=CALLFN(WRITECOMM, COM1, ATCommand, LEN(S))
>ATCommand = "ATH0" + CHR(13)
>=CALLFN(WRITECOMM, COM1, ATCommand, LEN(S))
>=CALLFN(CLOSECOMM, COM1)
>
>
>work inside a foxpro project built into a .dll ?
>
>
>Of couse I'll define the class library as OLEPUBLIC
>and so forth.
>
>As long as I avoiding any user interface functions can I use the functions inside Foxtools.fll from within a .dll ?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform