Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using an fll inside a dll
Message
 
 
À
29/09/2003 15:14:34
Dave Nantais
Light speed database solutions
Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00833271
Message ID:
00833502
Vues:
25
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform