Add params and headers

This commit is contained in:
Alexis Delhaie
2020-10-25 21:50:45 +01:00
parent 78fb958c22
commit 679fff5e63
20 changed files with 720 additions and 120 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

View File

@@ -52,7 +52,7 @@ END
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ICON2 ICON "C:\\Users\\robof\\Downloads\\icon.ico"
IDI_ICON2 ICON ".\\icon.ico"
#endif // English (United States) resources
/////////////////////////////////////////////////////////////////////////////

View File

@@ -13,7 +13,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdParam
si.cb = sizeof(si);
ZeroMemory(&pi, sizeof(pi));
LPTSTR command = _tcsdup(TEXT(".\\runtime\\bin\\javaw.exe --module-path \".\\lib\" --add-modules javafx.controls,javafx.fxml -jar .\\app\\EndPoint.jar"));
LPTSTR command = _tcsdup(TEXT(".\\runtime\\bin\\javaw.exe -cp .\\app\\EndPoint.jar ovh.alexisdelhaie.endpoint.Application"));
if (!CreateProcess(NULL, command, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi))
{
CloseHandle(&pi.hProcess);