GUI of app built in FinalBuilder(with dcc32.exe) differs from one built in Embarcadero IDE - delphi-xe2

When I build an app in FinalBuilder, apparently with dcc32.exe, GUI looks like windows xp app, but if I compile it in IDE, it looks normal as Windows 7 program. Also TLinkLabel is recognized as a simple TLabel. Any ideas what can be the problem?

In order to enable runtime themes during the compilation of XE2 project in FinalBuilder, you have to include manifest file in resources:
default_app.manifest

Related

mfc120.dll missing for an application built in VS2013

I have a VC++ based application developed in VS2010 which uses some of the win32 component. I ported the code in VS2013 and I built the code after removing all compilation error in Release Mode. Now when I am trying to run the exe in Computer where VS2013 is installed it is working fine where as it is giving an error of mfc120.dll is missing where only VS2010 is installed. I don't think after building the code in Release mode I should get an error of missing dll. I have not tried to run the exe where no Visual Studio is installed.
If you are using the DLL version of the MFC you also need to install the corresponding VS-2013 runtime DLLs vsredist_x86
Or you switch to a complete static build.
I have found out the solution for this problem. Basically the win32 code I was building was using the Configuration Properties->General-> 'Use MFC in a Shared DLL' which I changed to 'Use MFC in a Shared DLL'. All working fine there after

Deploy QT WebKitWidgets app to windows XP

Coming from Linux, using QT5.4 (app compiles and works as expected)
If you are interested in the topic, just get fancybrowser example running on a XP machine without QT installed...
My first attempt was using MXE (and manually copying dlls). No success.
set up VM with Windows XP.
using windeployqt.
app "works" but QWebView doesn't display anything.
trying qt.conf
[Paths]
Prefix=.
and more things.
Still not successful.
windeployqt with all options to include webkit, compiler, angle...
No success...
Reading about QWebEngine will be the next.
Compiling a small example on Linux(OK) Windows (Mingw does not support qwebengine!!!).
So before setting up a new vm with windows 8 (msvc 2010 does not support qwebengine) and may find out the the app won't run on XP....
and porting from QWebView to QWebEngineView....
Please help:
How to deploy webkitwidgets app on windows? (without installing Qt, which will be my last chance...)
Edit
Next step done was Running ProcessExplorer on the dev machine and on the target machine. Parsing the output of the loaded dlls on both machines, they do not differ. All required dlls are loaded? Still no display...
The problem should be solved in Qt5.5.1 which was released last week.
Just use the Deploy Tool of Qt :)

Runtime error for QT application?

I have developed an application on Qt5.1 for windows 7 and now I want to distribute it. Since I have used the MINGW compiler I cannot build it static. I used dependency walker to find out all the dlls and packaged it. When I run the application on a machine which doesnot have QT development environment installed the application crashes with Microsoft Visual C++ Runtime Library error.
Could anybody please point me out the problem?
The error was
Fixed the problem:
The fix is add a folder platform into the location of your application executable and into that copy qwindows.dll from the loaction 5.1.0-rc2\mingw48_32\plugins\platforms of your QT installation.
Also all the dlls need to be copied!
It seems like you have missed some DLLs. Try again with dependency walker, I have faced the same issue once. The dependency walker did not show missing DLLs but some were missing. Try to search in SO, there are similar questions.
Do I have to include all these Qt dlls with my application?
How to run Qt 5 applications on other computers (Windows 7)

Is it possible to run applications compiled by Visual Studio 2008 on Linux?

Is it possible to run applications compiled by Visual Studio 2008 on Linux? Is there plugin that can convert my project exe to a Linux runnable file?
As far as I know, there is no software that allows Visual Studio to generate non-Windows executables.
If it's a native executable (not .NET) you can try running it under WINE and see if that works. If it doesn't I'd guess the options are either to make it work with WINE or see if you can build it as a native Linux application. The latter will be rather painful if it's a GUI application, obviously, and I'd question if it is worth it. Porting a command line app might be doable but don't underestimate the work involved.
if you use dot net there is a MONO library that enables running some dot net application on linux.
but it not fully compatible.
Otherwise you can do it, (maybe using silverlite you would...)
Mono Project

Compile a WinCE app as a PC app in VS2005

anyone knows a way how to compile a WinCE app as a PC app in VS2005. I want to change a standard MFC smart device app to an mfc windows app.
You likely need to design your application to achieve this from the beginning.
We use our own framework (built directly on top of Win32) and have a single vcproj and sln that targets multiple platforms including Windows Mobile and Win32 on the desktop...
So I can vouch that it is achievable. The catch is that I had to hand code our vcproj files ;) Microsoft don't permit it in the wizards...
Apparently MFC on CE is a lot closer to the desktop equivalent now, so that might make it a lot easier.

Resources