![]() |
passing arguments with shellexecute
-excuse me for my english -
i want to execute a program from an other with shellexecute and with passing multiple arguments, the problem is just the first argument is passed to the other ... what can i do :shout:? the frist Code:
#include <stdio.h>Code:
#include <windows.h> |
Re: passing arguments with shellexecute
first of all parameters are separated by space.
so,when you pass "1h 45" as parameter ,you actually pass 2 parameters 1st="1h" 2nd="45" i changed your code a lit bit. =================== Code:
#include <stdio.h>second change ============== Code:
then i create one string with your parameters separated by space in variable tabs which i pass to insert.exe program. |
| All times are GMT +5.5. The time now is 14:14. |