Re: Compile
- Posted by ghaberek (admin) Jan 28, 2015
- 1495 views
Traced the problem within the source code..
It seems that a win32Lib "Combo" has been the source of failed compiles..
The program starts with a combo for the user to chose a database to use..
Could not get past it as I had disabled menu items pending this selection..
Have changed to a list and now all is well..
I wonder if this is a Common Controls version problem. The euiw exectuable is compiled with a "manifest" file that sets the Common Controls version to 6.0, and without this, your compiled application uses the older versions. This is what makes tabs and other controls look "old" like Windows 9x. You can easily inject a manifest to your executable during the call to euc.
Save this as file.exe.manifest (matching your exectuable file name). Make sure to update the fields as necessary.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity processorArchitecture="x86" version="5.1.0.0" type="win32" name="foo.exe"/> <description>Foo program</description> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" publicKeyToken="6595b64144ccf1df" language="*" processorArchitecture="x86"/> </dependentAssembly> </dependency> </assembly>
Save this as file.rc (again, update to match your actual file name).
1 24 "file.exe.manifest"
And then add -rc-file=file.rc in your call to euc.
-Greg