Embed a confugeration file inside exeutable
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
.
Relevant Pages
- hibernate annotations I get a MappingNotFoundException
... hibernate version, but I have the latest 3.2 release. ... I can generate a database schema fine, So I assume that something else ... Here is the error I get and my Configuration file ... INFO: configuring from resource: /hibernate.cfg.xml ... (comp.lang.java.programmer) - Re: C parser document
... > I'm trying to parse a configuration file, ... > this is the first time I'm trying something like this, ... > C's I/O functions are a mess and hard to use, that is if you want to ... Be more specific about what you're trying to parse and the problems ... (comp.lang.c) - Parse toolbar resource
... i have to parse different resource types at runtime to dynamically ... - load resource from external localized resource-only dll ... it would be nice if i could process toolbars ... (microsoft.public.vc.mfc) - Re: Embed a confugeration file inside exeutable
... Since this isn't a user-modifiable configuration file, there are numerous ways to get the contents ... you can include constant literal strings in an #include ... You can also create a custom resource which you can retrieve at runtime ... Look for the MSDN Library article entitled "Creating a New Custom or Data Resource" ... (microsoft.public.vc.ide_general) - Re: Resources in a static library
... unparses them ... But for this use there is no need to parse the binary resource. ... (microsoft.public.vc.mfc) |
|