Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WINMM.DLL and Saving File Names
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00552081
Message ID:
00552242
Vues:
20
>What's the function you're using to save the file? AFAIK, WINMM.DLL's sndPlaySound() function works fine with long file names. So I'm not so sure that's the problem.

I'm using the WINMM.DLL. The actual string is something like this:

mciSendString("save capture "+ThisForm.FileName,"0",0,0)

where ThisForm.FileName is the path returned from PutFile() and could be something like: C:\Program Files\Media\MyTest.wav

When I issue this command it does not save the file. As long as there are no spaces it works as expected. I have tried surround the FileName with chr(34) and everything. I'm going to play with it a little more tonight. If I can't get it to work, then I'm going to try your other suggestion.

Thanks a ton.

DJ :o)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform