Re: Embed a confugeration file inside exeutable
- From: "Scot T Brennecke" <ScotB@xxxxxxxxxxxxxxxxxx>
- Date: Sat, 23 Jul 2005 23:33:28 -0500
Since this isn't a user-modifiable configuration file, there are numerous ways to get the contents
into your application. I don't know the nature of the data in this config file, is it readable
text, or just binary data? If it's text, you can include constant literal strings in an #include
file, or string resources. You can also create a custom resource which you can retrieve at runtime
and open and read its contents as needed.
Look for the MSDN Library article entitled "Creating a New Custom or Data Resource"
"Victor" <victor@xxxxxxxx> wrote in message news:uOBvwi4jFHA.3656@xxxxxxxxxxxxxxxxxxxxxxx
>I open a configuration file with fopen and parse its content in my VC 6.0
> application. I want to embed it (as a resource or something similar) inside
> the executable - so that the user will never see it or even know about its
> existence.
>
> Is this possible and how?
>
> Thanks in advance.
>
> Victor
>
>
.
- References:
- Embed a confugeration file inside exeutable
- From: Victor
- Embed a confugeration file inside exeutable
- Prev by Date: Re: AutoComplete using Custom Library
- Next by Date: Using defines to specify an include path
- Previous by thread: Embed a confugeration file inside exeutable
- Next by thread: Using defines to specify an include path
- Index(es):
Relevant Pages
|