473,804 Members | 3,460 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Application error in vc++

105 New Member
Hi all,

I have a console application in vc++ and I wanted to generate an executable of 32 bit on 64 bit machine (windows). I dont get any compile or linking errors, but when I try to run the excutable I get the error as :

"The application failed to initialize properly (0XC000007b).Cl ick on OK to terminate the application. "

When i am running the same code on 32 bit machine it works fine.

Could anyone give any suggestion why I am getting this error or anyway I can solve it?

Thanks in advance.
Aug 11 '07 #1
2 1468
weaknessforcats
9,208 Recognized Expert Moderator Expert
I would be suspicious of generating 32-bit programs on a 64-bit machine.

My inclination would be to compile 32-bit programs on a 32-bit machine and compile the same code as 64-bit on a 64-bit machine.

However, when you compile the code on a 32-bit machine, are there any warnings?? Like the ones you always ignore about 64-bit portability issues.
Aug 12 '07 #2
mickey22
105 New Member
It works well without any warning when I run on 32 bit machine, the 32 bit code.
But I just tried compiling simple example like just a cout statement it works fine.
Aug 13 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

5
1584
by: Venky | last post by:
We have a strange error here. We have an application that is built in VC++ 6.0 and uses a C library built using the same. Now, we have migrated to .Net and have used the same source code to be built using the new compiler. What happens now is, that any call that we make to the C library(also built in .Net Env now) from the VC++ Application(built in .Net now), falls prey to a runtime exception and gets into our try catch block. We are...
1
4399
by: ds | last post by:
fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include <windows.h> I have an existing C-based application. I need to add encoder card support to this application. Encoder card Skd is vc++ based. Hence I ported the c-code into VC++. I wrote a class for encoder card (.cpp) and included <afxwin.h>. The class itself compiles fine though when I make a reference of this c++ class in the main (c-code), I get the...
1
1152
by: David | last post by:
Hi, I am developing following 1. WIN32 DLL using Microsoft .NET VC++ 2. Win32 EXE using Visual Studio VC 6.0 --------------------------------------- My exe linking this DLL using EXPLICIT link method. I am facing one issue in which my EXE application throws application needs to be closed error and when I check into the Debug I see that my DLL thread location was 00000000. This is happening when my application was calling one function,...
3
2405
by: Darius | last post by:
Hello, there is an NMEAParserDemo application written in VC++ avaliable for download from http://www.visualgps.net/Papers/NMEAParser/NMEAParserDemo%20Project.zip. Source code in VC++ is provided, unfortunately this application features no logging option. My intention is to add data logging option to let me read processed lat, lon, alt, time data on-line in another application.
7
4432
by: Tom | last post by:
I have built a VS 2005 C++ application (ported from VC++ 2003). It's a WinForm app. It runs OK on the development system, but when I try to deploy it on any other system, all users gets an error box, "Application configuration Error. Try re-installing the application. (Deployed using an MSI setup project). I downloaded Dependency Walker, and it says that 2 DLL's are not found: DWMAPI.DLL, EFSADU.DLL
2
5337
by: f rom | last post by:
----- Forwarded Message ---- From: Josiah Carlson <jcarlson@uci.edu> To: f rom <etaoinbe@yahoo.com>; wxpython-users@lists.wxwidgets.org Sent: Monday, December 4, 2006 10:03:28 PM Subject: Re: 1>make_buildinfo.obj : error LNK2019: unresolved external symbol __imp__RegQueryValueExA@24 referenced in function _make_buildinfo2 Ask on python-list@python.org . - Josiah
9
4763
by: fcvcnet | last post by:
Hi, I write a class class CSegment { public: CSegment(void); public: ~CSegment(void); public: CArray< CList< CPoint, CPoint& >, CList< CPoint, CPoint& >& m_curve;
1
5129
by: misu101 | last post by:
Hi, I have a VS 6 project and I am trying to compile it using VS 2005. My program has the atlbase.h include which seems to trigger the errors. It used to compile OK using VS 6. The include path is: C:/Program Files/Microsoft Visual Studio 8/VC/include;C:/Program Files/Microsoft Visual Studio 8/VC/atlmfc/include;C:/Program Files/Microsof t Visual Studio 8/SDK/v2.0/include;C:/Program Files/Microsoft Visual Studio...
2
14912
by: yalbizu | last post by:
#include <iostream> #include <string> #include <fstream> #include <iomanip> using namespace std; const int NO_OF_STUDENTS=20; struct studentType { string studentFName; string studentLName;
0
9705
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9576
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10074
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9138
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7613
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6847
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5647
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4291
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3809
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.