Home » U++ Library support » U++ Library : Other (not classified elsewhere) » .BRC files and .exe in memory
.BRC files and .exe in memory [message #26069] |
Mon, 29 March 2010 18:06 |
|
koldo
Messages: 3355 Registered: August 2008
|
Senior Veteran |
|
|
Hello all
I have prepared a function for Windows (RunFromMemory(const char *)) that reads a buffer with a program and runs it in memory.
So imagine. In a basic sample there are two files:
- launcher.exe
- realprogram.xxx
launcher.exe is just this:
GUI_APP_MAIN {
RunFromMemory(LoadFile("realprogram.xxx"));
}
It runs well with different U++ programs but when using it with one that includes .brc files, realprogram.xxx crashes.
Could it be because the .exe in memory wants to read .brc from file instead of from memory?. As there is no realprogram.exe file, it could crash.
Best regards
Iñaki
|
|
|
|
|
|
Goto Forum:
Current Time: Thu Mar 28 17:12:17 CET 2024
Total time taken to generate the page: 0.01582 seconds
|