[delphi] shellexec

Pagina: 1
Acties:

  • Tom-my
  • Registratie: November 2000
  • Laatst online: 19-06 09:25

Tom-my

w03iz0rz

Topicstarter
Hello,

weet iemand een methode waardoor shellexec wel werkt als je spaties in je parameter heeft staan? Ik snap er geen kloot van nl :).

"Then there was the man who drowned crossing a stream with an average depth of six inches."


Verwijderd

je parameters mee geven met "'s er om heen wil wel eens werken.

  • Tom-my
  • Registratie: November 2000
  • Laatst online: 19-06 09:25

Tom-my

w03iz0rz

Topicstarter
uhm ja das zowiezo nodig als je een string doorgeeft of zie ik dat verkeerd *D

"Then there was the man who drowned crossing a stream with an average depth of six inches."


Verwijderd

String zonder spaties hoeft het nie dacht ik hoor. (deze uitspraken zijn uiteraard allemaal gebaseerd op pure speculatie en 'n rot brein)

  • Varienaja
  • Registratie: Februari 2001
  • Laatst online: 14-06-2025

Varienaja

Wie dit leest is gek.

code:
1
2
3
4
5
6
7
8
9
HINSTANCE ShellExecute(

    HWND hwnd,  // handle to parent window
    LPCTSTR lpOperation,    // pointer to string that specifies operation to perform
    LPCTSTR lpFile, // pointer to filename or folder name string
    LPCTSTR lpParameters,   // pointer to string that specifies executable-file parameters 
    LPCTSTR lpDirectory,    // pointer to string that specifies default directory
    INT nShowCmd     // whether file is shown when opened
   );

Even de parameters goed gebruiken lijkt me (lpParameters) :)

Siditamentis astuentis pactum.


  • Tom-my
  • Registratie: November 2000
  • Laatst online: 19-06 09:25

Tom-my

w03iz0rz

Topicstarter
neuh ik heb het al gevonden, shellexecute will de mp3 naam in dos formaat, dus 8+3 .. ZUCHT! maja

"Then there was the man who drowned crossing a stream with an average depth of six inches."

Pagina: 1