Standard C Library/Standard Library Functions |
The command in the system() API's argument should include the path of the executable to be launched from the system() API. For example: Say we have an executable sample.exe (executables are put in c:\sys\bin on the hardware). So, the system() command should be system("c:\sys\bin\sample.exe") . Normally, the same code is expected to work on the emulator as well, in which case make a folder bin in \epoc32\release\winscw\c\sys and place the executable at that location before execution.
©Nokia 2007 |