applications made in turbo c++ didn't work in win 10 - turbo-c++

I have downloaded turbo c++ 4.0 . It is not causing anything error. But the application I made in c++ is showing error outside of the IDE that: "this app can't run on your PC, to find a version for your PC check the software publisher". I have windows 10 64 bit, turbo c++ 4.0 x64
Thanks in advance!

Turbo C++ creates 16bit apps. 64bit versions of Windows cannot run 16bit apps directly. 32bit versions can, though. For 16bit apps, you can try installing DOSBox or other DOS emulator that can run 16bit code on 64bit systems.

The answer is that we have to download DOS-BOX or DOS-emulator and navigate to the executable file then open it will work there on the DOS box window and If the program is graphics type then just copy the EGAVGA.BGI to the folder in which exe file is located.
Thank you

Related

Path for dynamically loading OpenCL.dll?

I want to dynamically link OpenCL.dll on the users PC.
When I analyse my own PC I am able to find a lot of OpenCL.dll
C:/Windows/SysWOW64
C:/Windows/System32/DriverStore/...
C:/Windows/System32
C:/Program Files(x86)/AMD APP SDK /...
So I would like to know which is the correct path to load this dll at run time?
Also what is the path for other platforms?
If you are running a 32-bit executable on a 64-bit machine, you want the C:\Windows\SysWOW64 version. If you are running a 64-bit executable on a 64-bit machine or a 32-bit executable on a 32-bit machine, you want the C:\Windows\System version. But I will say that the Windows LoadLibrary call will figure that stuff out for you. You should just be able to call LoadLibrary(L"OpenCL.dll"). It will pick the right one for you.
The other locations are part of driver or SDK installations that may not be deployed on other systems that have OpenCL.

Why does Qt Creator 3.0.0 Welcome Mode not work in VM?

I originally installed Qt 5.20 with Qt Creator 3.0 on my Win7 64 bit machine and it worked flawlessly. Then I wanted to install it into a Win7 32 bit virtual machine (using VirtualBox). In the VM I start off on the qt-project.org site and download a version. I've tried both the Qt Online Installer for Windows (13 MB) (Info) link and the Qt 5.2.0 for Windows 32-bit (MinGW 4.8, OpenGL, 689 MB) (Info) link. Both installs work and I can compile a simple Hello world demo. However, when Qt starts the Qt Welcome Mode is just a transparent window showing the contents of the desktop. If you change modes and go back to the Welcome mode it will then just show the contents of the previous mode. I would like to have access to the examples and tutorial links.
I'm using VirtualBox 4.3.6 and I have Guest Additions Installed. I'm running a copy of Win 7 Ultimate. The VM is very clean, it has Chrome installed, the latest Win updates and MS Security Essentials and that's about it. The virtual hard disk (vdi) has about 50 Gigabytes of free space after the install.
I've tried
1. turning off Windows Firewall and MS Security Essential real time protection.
2. running as administrator.
3. running in xp SP2 and SP3, and win95 compatibility modes
4. running with Aero disabled
Nothing has helped. Any suggestions?
I't a known bug. The Oracle Virtual Box has problems rendering the QML apps/widgets. And the welcome screen in QtCreator is a QML widget. https://bugreports.qt.io/browse/QTBUG-34964
Workaround
Start QtCreator with -noload Welcome argument, and later in Help > About Plugins... menu disable "Welcome" for good.
As mentioned here, the solution is to do the following:
In Qt Creator, go to Help -> About Plugins...
Uncheck Qt Creator --> Welcome
Restart Qt Creator
Worked for me.

Building a 64-bit application with Qt

I have only been using Qt (version 4.8) for about a week, and it is working like a charm. So far I have only built 32-bit applications with Qt creator, however I would like to build my application as a 64-bit application because it handles large data sets and requires lots of RAM. Can someone please tell me what are the steps involved to build a project from Qt creator as a 64-bit application ? Please note that my OS is Widows 7 Ultimate 64-bit, i also have Visual Studio 2010 Pro on the same machine. Thanks in advance
From the Start Menu (MSVS2010 - VS Tools) start the "Visual Studio x64 Win64 Command Prompt" and then compile from the command line. It worked for me without problems but it takes a long time.
I don't know if Qt supply a 64bit build but it's easy to do your own
Just fire up the visual studio 64bit tools cmd prompt, download the Qt source.
Then type configure -debug-and-release -opensource -platform win32-msvc2010 and nmake
Simply Add Kit for 64 bit target and build for that target.

MacBook Pro and ASP.NET applications

Is it ok to develop ASP.NET web applications on MacBook Pro ?
.NET is only available for Windows. There's the Mono project, which is not affiliated with Microsoft, which aims to create an open source .NET runtime and developer tools, usable on *NIX (including Mac OS X). If you want to develop .NET applications under Mac OS, this is your only choice.
Speaking of a MacBook though, you can install Windows on it using Boot Camp or run it in a virtual machine and develop in Visual Studio like on any other Windows box. And this is ok, I don't think anybody will confiscate your Mac for doing so.
If you have Windows running on the Mac then it is OK.
Another way is to use some .NET IDE for Mac (e.g. MonoDevelop)
New from Microsoft, IDE for Mac, Linux and Windows: https://code.visualstudio.com/Download
The best method to do that would be to install windows 10 with bootcamp and then install .NET . The steps involved are pretty straight forward. Just open bootcamp and create the partition and select the ISO of windows. Once installed, tap the options key on boot to boot to windows. If everything is smooth, you can continue the development, else, just open bootcamp again and delete the partition.
https://www.microsoft.com/en-in/software-download/windows10 - open this on mac to get the legal windows image. This will be valid only for a limited time

Compile ASP.NET to 64 BIT

My development machine is Win XP Pro 32 bit and production machine is Windows Server 2008 (64 Bit) with IIS 7. On my development machine I want to compile ASP.NET (Using aspnet compiler) to 64 bit byte code.
Can anyone please tell me how to do that? Please do not suggest any way to run 32 bit application on 64 bit environment.
I want 64 bit application to be compiled on 32 bit machine so that when it runs it will take full advantage of 64 bit O/S without any emulation.
Leave the target platform at AnyCpu and .NET will automatically run natively on 64bit when executed on a 64Bit operating system
Clarification:
(this started out as a comment but I thought it might be interesting for the question as well)
Actually you never compile to a special architecture. You always compile to IL.
That's something like Java Bytecode. And that bytecode is the same for 32 bit and 64 bit.
The Virtual Machine (.NET Framework) on the machine the code gets executed then compiles the IL to actual machine code while running (through the Just In Time compilation). So, no matter where you compile, you'll always end up in IL that's bit-ignorant.
The setting in .NET is only an instruction in IL that tells the JIT (Just in Time compiler) to specifically use 32bit/64 bit. By flipping that one bit in your assembly you could still execute it in AnyCpu or x64 without recompilation.
This setting is only used and needed in case you call out to native code that isn't bit-ignorant (when interacting with COM components or doing p/invoke calls)
There's an option in Visual Studio 2013 now to direct IIS Express (which is usually used for debug) to run in 64 bit mode.
It's at Tools -> Options -> Projects and Solutions -> Web Projects -> Use the 64 bit version of IIS Express…
.net apps will re-target themselves for the target machine environment assuming that you didn't specifically choose to compile in 32-bit mode. This can be found under the project build options.

Resources