How to launch the program from another application? |
|
ShellExecute(NULL, "open", "C:\\Program Files\\fCoder\\2JPEG\\2JPEG.exe", "s=\"C:\\My Documents\\*.*\" d=\"C:\\JPEG Files\" -sf -sep -w200 -h100 -prop", NULL, SW_SHOWMAXIMIZED)
Shell ("""C:\Program Files\2JPEG\2JPEG.exe"" s=""D:\Graphic Files\in\*.*"" d=""D:\out"" -sf -sep -w200 -h100 -prop -log")
If you want to use the program as a part of your application you must purchase Business or Developer license.Read more...
* This example works the same way with 2GIF, 2TIFF, 2Bitmap, 2TGA, 2PNG and 2WBMP.