I'm fairly new to both wxWidgets and c++ so I'd appreciate it if you'd give me a little patience.
I'm using vscode as my ide and the wingw compiler (if that means anything for this question)
I've got a basic application with wxwidgets that compiles and runs just fine. However, I've come to find that the application has a windows 95 look, so after some googling I've found a few answers that either say I need an application recourse file or a manifest file (with the wxwidgets faq mentioning both). So what file do I need and what needs to be put in said file?
wxWidgets in vscode - Application manifest Topic is solved
- doublemax@work
- Super wx Problem Solver
- Posts: 474
- Joined: Wed Jul 29, 2020 6:06 pm
- Location: NRW, Germany
Re: wxWidgets in vscode - Application manifest
https://docs.wxwidgets.org/3.2/plat_msw_winxp.html
A sample manifest lies in <wxdir>/include/wx/msw/wx.manifest
https://github.com/wxWidgets/wxWidgets/ ... x.manifest
A sample manifest lies in <wxdir>/include/wx/msw/wx.manifest
https://github.com/wxWidgets/wxWidgets/ ... x.manifest
Re: wxWidgets in vscode - Application manifest
Thanks for the resources. However, I'm still a little confused and I'm not entirely sure what to do. What I've gathered is that I need both a .manifest and a .rc file, but what do each of these do, and what do I need to do with them? I've tried googling what to do with them and nothing too helpful comes up. Again sorry I am very new to c++ and wxwidgets alike after only coming here before using c# for a few years.
Re: wxWidgets in vscode - Application manifest
Unfortunately i use Visual Studio almost exclusively, so i can't give you an exact answer.
I only know that the tool to compile resources files is called "windres".
I found this random command line somewhere in the forum:
The resulting object file then just needs to be added to the linker input files.
Alternatively, you can also just place the .manifest file next to the executable with the same name.
I only know that the tool to compile resources files is called "windres".
I found this random command line somewhere in the forum:
Code: Select all
windres -v -I${MINGW_HOME}\include\wx-3.2 ../resources/resources.rc ../resources/resources.o
Alternatively, you can also just place the .manifest file next to the executable with the same name.
Use the source, Luke!
Re: wxWidgets in vscode - Application manifest
Yes! That was it. I had found the windres command but it just gave me an error every time I ran it, turns out all I needed was to include the wxwidgets include folder with the command. Thank you