Click to See Complete Forum and Search --> : compiling .rc file inside a program


theluckin
January 27th, 2006, 04:29 AM
Dear all,
in my application, user specifies a .rc file , then the program read the .rc file and display only the dialog box present in the rc file.
the problem is that how could i will do it???


one way is compiling this .rc file inside the application to .res, can you
suggest how to link the compiler with this .rc file inside application and how to add a .h file inside an application in programming.

The other way is parsing this .rc file and creating dialog template..which
is really a huge job.......
please let me know if anyone knows how to compile and link .rc file to your application by writing code..not manually....in SDK programming

ovidiucucu
January 27th, 2006, 07:45 AM
Not very clear your problem, however...
Are using VC++ 6.0?
You have already that .rc and .h files and you want to add them to the project?
If yes, see the attached image.
If not, please give the details I have asked.

See also THIS THREAD (http://www.codeguru.com/forum/showthread.php?t=241405).