How to call execution files in different directories in two command buttons

zhaozj2021-02-17  40

How to call execution files in different directories in two command buttons

All files in the two directories are the same name, and the execution file has its own INI file.

How do I achieve?

Void crrrdlg :: onbutton1 () {// Todo: add your control notification handler code here winexec ("c // test.exe", sw_maximize);}

Void crrrdlg :: onbutton2 () {// Todo: add your control notification handler code here winexec ("pascal // Test.exe", sw_maximize);}

Void CRRDLG: ONBUTTON3 () {// Todo: Add Your Control Notification Handler Code Here Winexec ("Fortran // Test.exe", SW_MAXIMIZE);

Where C, Fortran, Pascal are all directory, and there are Test.exe files in each directory and have their own INI files and other files. I don't find INI.

转载请注明原文地址:https://www.9cbs.com/read-29894.html

New Post(0)