From: k. h. <kla...@nl...> - 2006-03-23 11:25:48
|
Hi, I think it is good to have such an application. John Labenski wrote: > >Any thoughts on this or does someone know how to append data to an exe >that can be accesed > as const char* so >that a compiler wouldn't be needed? > > What i could find quickly, i did sent to you. They idea is to add copy the executable + uniquestring + data to a new exeplusdata.exe. The new executable reads itself until the uniquestring, and from there read the data into the string wanted. I think this brings the executable in memory + a copy of the data part. This is not ideal, but if the data is not huge, i would not care. So may it is possible to do it with an initialized string being the size of the data. In such a case the new executable generated, could directly access it. regards, Klaas -- Unclassified |