| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -9,8 +9,8 @@ AOBJS = launcher.o | |||
| 9 | 9 | ||
| 10 | 10 | application.exe: $(AOBJS) | |
| 11 | 11 | $(LINK.cc) $(CXXFLAGS) -DEXPORT -o $@ $(AOBJS) | |
| 12 | - cp application.exe ../work/lib/export/ | ||
| 13 | - cp application.exe ../../shared/lib/export/ | ||
| 12 | + cp application.exe ../work/modes/java/application/template.exe | ||
| 13 | + cp application.exe ../../../java/application/template.exe | ||
| 14 | 14 | ||
| 15 | 15 | $(POBJS): Makefile | |
| 16 | 16 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -282,9 +282,9 @@ WinMain (HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpCmd, int nShow) | |||
| 282 | 282 | strcat(outgoing_cmd_line, " "); | |
| 283 | 283 | ||
| 284 | 284 | // for 2.0a2, add the 'lib' folder to the java.library.path | |
| 285 | - strcat(outgoing_cmd_line, "-Djava.library.path="); | ||
| 285 | + strcat(outgoing_cmd_line, "\"-Djava.library.path="); | ||
| 286 | 286 | strcat(outgoing_cmd_line, exe_directory); | |
| 287 | - strcat(outgoing_cmd_line, "\\lib "); | ||
| 287 | + strcat(outgoing_cmd_line, "\\lib\" "); | ||
| 288 | 288 | ||
| 289 | 289 | // add the name of the class to execute and a space before the next arg | |
| 290 | 290 | strcat(outgoing_cmd_line, java_main_class); | |
@@ -310,6 +310,8 @@ WinMain (HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpCmd, int nShow) | |||
| 310 | 310 | ||
| 311 | 311 | SHELLEXECUTEINFO ShExecInfo; | |
| 312 | 312 | ||
| 313 | + //MessageBox(NULL, executable, outgoing_cmd_line, MB_OK); | ||
| 314 | + | ||
| 313 | 315 | // set up the execution info | |
| 314 | 316 | ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO); | |
| 315 | 317 | ShExecInfo.fMask = 0; | |
@@ -328,7 +330,6 @@ WinMain (HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpCmd, int nShow) | |||
| 328 | 330 | } | |
| 329 | 331 | ||
| 330 | 332 | if (reinterpret_cast<int>(ShExecInfo.hInstApp) <= 32) { | |
| 331 | - | ||
| 332 | 333 | // some type of error occurred | |
| 333 | 334 | switch (reinterpret_cast<int>(ShExecInfo.hInstApp)) { | |
| 334 | 335 | case ERROR_FILE_NOT_FOUND: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments