Hi John, > I just added a resource and manifest file for wxLua's lua.exe, but it didn't > change how the calendar control looked. > Is there anything that you did differently?
Just to clarify: I tried both ways and got it to work. I tried compiling from scratch with zbstudio.exe and I also tried moving manifest from wxlua to lua.exe as I described earlier. For compiling from scratch I used this script: https://github.com/pkulchenko/ZeroBraneStudio/blob/master/build/build-win32.sh#L247-L248 and the files are here: https://github.com/pkulchenko/ZeroBraneStudio/tree/master/zbstudio/res (zbstudio.rc and zbstudio.manifest; this manifest doesn't reference Common-Controls as I couldn't get it to work with my mingw-compiled 2.9.5, but it works with your 2.8.12 dlls). Paul. On Mon, Aug 19, 2013 at 8:44 PM, Paul K <paulclin...@yahoo.com> wrote: > Hi John, > >> I just added a resource and manifest file for wxLua's lua.exe, but it didn't >> change how the calendar control looked. >> Is there anything that you did differently? > > I went the easy way: I extracted the manifest from wxlua and added it > to lua.exe: > > "C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\mt.exe" > -inputresource:wxlua.exe -out:extracted.manifest > "C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\mt.exe" -manifest > extracted.manifest -outputresource:lua.exe > > After that wxlua and lua produce the same (calendar) results. You can > also tweak the manifest before embedding it to see the effect. > >> I don't know what you mean. What DLL is included with Windows that you ship? > > Not sure; when I tried the same manifest with my wx.dll compiled with > mingw, I get side-by-side error: > > Activation context generation failed for "...zbstudio.exe". Dependent > Assembly > Microsoft.Windows.Common-Controls,publicKeyToken="6595b64144ccf1df",type="win32",version="6.0.0.0" > could not be found. > > When I copy all the dlls from 2.8.12 and run with the same executable, > everything is fine. I'm not sure what dll I'm missing, but I thought > it was one of wxmsw28_*vc_custom.dll. > > Paul. > > On Mon, Aug 19, 2013 at 8:06 PM, John Labenski <jlaben...@gmail.com> wrote: >> On Mon, Aug 19, 2013 at 12:33 AM, Paul K <paulclin...@yahoo.com> wrote: >>> >>> > It seems like the required addition to the manifest is quite simple >>> (as per >>> http://msdn.microsoft.com/en-us/library/windows/desktop/bb773175(v=vs.85).aspx): >>> >>> okay, I managed to get my application running with the right manifest >>> (and I'm even using mingw instead of VS). What I mentioned earlier was >>> correct, but I was missing a proper way to reference the manifest. >>> >>> It turned out that the way I included manifest was not correct as my >>> .rc file had "1 RT_MANIFEST zbstudio.manifest" and it should have been >>> "1 24 zbstudio.manifest". After I added the correct reference (and >>> included <dependentAssembly> reference) the manifest was recognized >>> and I could run my application using wxlua 2.8.12 DLLs and could see >>> the expected results. >>> >> >> I just added a resource and manifest file for wxLua's lua.exe, but it didn't >> change how the calendar control looked. >> >> http://sourceforge.net/p/wxlua/svn/190/ >> https://github.com/wxWidgets/wxWidgets/blob/master/include/wx/msw/wx.manifest >> >> Is there anything that you did differently? >> >> >>> >>> Unfortunately, this doesn't really help me as I was hoping to >>> reference a DLL that is included with Windows, rather than ship mine, >>> but maybe this will help others... >>> >> >> I don't know what you mean. What DLL is included with Windows that you ship? >> >> Regards, >> John >> >> >> ------------------------------------------------------------------------------ >> Introducing Performance Central, a new site from SourceForge and >> AppDynamics. Performance Central is your source for news, insights, >> analysis and resources for efficient Application Performance Management. >> Visit us today! >> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk >> _______________________________________________ >> wxlua-users mailing list >> wxlua-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wxlua-users >> ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users