Hi everybody.
Could anyone help me to solve this problem: how can I use xrc file, generated by wxFormBuilder, in my Visual Studio 2003 C++ solution?
Thanks in advance.
using *.xrc in VC2003
-
- Earned a small fee
- Posts: 17
- Joined: Mon Mar 20, 2006 11:09 am
- Location: Ukraine, Dnipropetrovsk
how can I embed resource files in my *.exe file to not be obliged to copy *.xrc files in the same directory as *.exe file to be able to load them.
when I built xrc example with VC2003 and tried to start xrcdemo.exe - it failed because it couldn't load *.xrc files. And xrcdemo.exe started successfully only when I copied \rc folder in the it's working folder. How can I solve this problem.
Thanks in advance.
when I built xrc example with VC2003 and tried to start xrcdemo.exe - it failed because it couldn't load *.xrc files. And xrcdemo.exe started successfully only when I copied \rc folder in the it's working folder. How can I solve this problem.
Thanks in advance.
the xrc files not found in the samples in a"bug"... in nearly all the samples that load files, because the source code is not written knowing that executables are written in sub-folders (debug/release, ...)
Nothing forces you to embed the XRC files in your app.
For my apps, I install the XRC and icon files (.png) in a ZIP file, near the .exe file, and it works well.
Nothing forces you to embed the XRC files in your app.
For my apps, I install the XRC and icon files (.png) in a ZIP file, near the .exe file, and it works well.