Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Desktop to Device API Question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00530745
Message ID:
00530789
Vues:
21
Hi Bob,
Try following:
- Make the string null-terminated
- Pass Null instead of empty string
- Pass -1 as True because that parameter is defined as Integer or try to change OVERWRITE AS INTEGER to OVERWRITE AS Boolean and pass .T.
cDesktop = 'E:\Devel\Handheld\Data\Liquor.Mdb' <b>+ CHR(0)</b>
cPPC	 = '\My Documents\Liquor.cdb' <b>+ CHR(0)</b>

intRetVal = DEVICETODESKTOP(cDesktop, <b>.null.</b>, .f., <b>-1</b>, cPPC)
>Hi Dave,
>
>Heres the whole deal...
>
>DECLARE long DEVICETODESKTOP IN "adofiltr.dll" ;
> desktoplocn AS STRING, ;
> tablelist AS STRING, ;
> sync AS Boolean, ;
> OVERWRITE AS INTEGER, ;
> devicelocn AS STRING
>
>cDesktop = 'E:\Devel\Handheld\Data\Liquor.Mdb'
>cPPC = '\My Documents\Liquor.cdb'
>
>intRetVal = DEVICETODESKTOP(cDesktop, "", .f., .t., cPPC)
>
>Thanx for looking at this!
>Bob
>
>
>
>
>>Bob,
>>
>>I hate to ask the obvious... *s* what does your call ti look like?
>>
>>>Thanx Dave, but I still get the "Too many Arguments" error.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform