Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
koldo is currently offline  koldo
Messages: 3357
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
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to input Time Of Day ( only time no date needed )
Next Topic: Calendar problem
Goto Forum:
  


Current Time: Sun Apr 28 17:10:12 CEST 2024

Total time taken to generate the page: 0.06110 seconds