473,785 Members | 2,249 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.exe compiled on vista doesn't run on xp??

nik
Hi,

I've compiled my application on my vista machine, and it won't run at
all on my xp machine. In the windows error report I get Exception
code; 0xe0434f4d. I searched for that exception, but didn't see
anything related to my problem. I can run a different .exe that I made
on the vista machine on the xp machine, so I am wondering what is
different/wrong with this one.

The xp machine does have vb6 installed on it, could that be an issue?
What reasons and solutions for this problem?

Thanks in advance,
Nik
Aug 25 '08
12 3177
nik
On Aug 25, 2:17 pm, "Michel Posseth [MCP]" <M...@posseth.c omwrote:
"nik" <nikb...@gmail. comschreef in berichtnews:4e* *************** *************** ***@r35g2000prm .googlegroups.c om...
On Aug 25, 1:42 pm, "Mr. Arnold" <MR. Arn...@Arnold.c omwrote:
"nik" <nikb...@gmail. comwrote in message
>news:c1******* *************** ************@p1 0g2000prf.googl egroups.com...
On Aug 24, 7:10 pm, Brian Gideon <briangid...@ya hoo.comwrote:
On Aug 24, 7:51 pm, nik <nikb...@gmail. comwrote:
Hi,
I've compiled my application on my vista machine, and it won't run
at
all on my xp machine. In the windows error report I get Exception
code; 0xe0434f4d. I searched for that exception, but didn't see
anything related to my problem. I can run a different .exe that I
made
on the vista machine on the xp machine, so I am wondering what is
different/wrong with this one.
The xp machine does have vb6 installed on it, could that be an
issue?
What reasons and solutions for this problem?
Thanks in advance,
Nik
So we know that at least one executable compiled on the Vista machine
works on XP right? That tells me that the .NET Framework is
*probably* installed correctly on the XP machine. Is the problem
executable using any unmanaged code? That might be part of the
problem. Can you be more specific about the error you're getting?
What makes you think 0xe0434f4d is an error code? It looks like it
coulde be a memory address as well.
I don't think I am using unmanaged code, but how do I check for sure?
Is there a compiler setting that would flag unmanaged code?
Any language that doesn't use the .Net Framework, in particular, the CLI
and
CLR is unmanaged code. VB6 is unmanaged code. An example of that would be
a
VB.Net solution making a call to COM DLL written in VB6. The COM DLL
didn't
originate itself by being complied using a .NET compiler.
If I understand this correctly, if all of the References under the
solutions properties page are of type .NET and pointing into the .NET
framework, then everything is composed of .NET parts and is therefore
managed code. ie. the solution doesn't reference any unmanaged dll, so
there is no unmanaged code involved.

Just to confirm,, Yes you understand this correctly
But as you wil read in my below post the described error is actually a basic
framework error

;-)

Regards

Michel
fixed by:

Installed .net onto xp machine,
opened solution, it said there was an error in .resx file
deleted the reference to the main forms icon in the .resx file
problem solved

thanks for everyones help.
Aug 28 '08 #11
On Aug 28, 5:31*pm, nik <nikb...@gmail. comwrote:
fixed by:

Installed .net onto xp machine,
opened solution, it said there was an error in .resx file
deleted the reference to the *main forms icon in the .resx file
problem solved

thanks for everyones help.
That's messed up. You'd think the error message would be a little
more descriptive or maybe the runtime would be a little more tolerant
of that situation.
Aug 29 '08 #12
Well i still believe that it has to do with something that was availlable on
the Vista system but isn`t availlable on the XP system
as the described error is the most basic framework error there is o.i.o.w.
"every managed error that is thrown up and up in the error mechanism ends
mostly with this error "

for the oldy`s
0xe0434f4d = COM`s runtime error 91 "Object variable or with block not
set" ;-)

the really funny part is
In ASCII, 43 4F 4D translates to "COM". So, E0434F4D was chosen as the
error for for "Exception from a COM object"

So in reall world this error is mostly thrown when you access a object that
is not availlable at runtime
HTH

Michel

"Brian Gideon" <br*********@ya hoo.comschreef in bericht
news:a1******** *************** ***********@x41 g2000hsb.google groups.com...
On Aug 28, 5:31 pm, nik <nikb...@gmail. comwrote:
fixed by:

Installed .net onto xp machine,
opened solution, it said there was an error in .resx file
deleted the reference to the main forms icon in the .resx file
problem solved

thanks for everyones help.
That's messed up. You'd think the error message would be a little
more descriptive or maybe the runtime would be a little more tolerant
of that situation.
Aug 30 '08 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
2687
by: salad | last post by:
Due to an earlier posting I read in this newsgroup regarding Office 2007 beta, I downloaded it. After I DL'd it, I got an invitation from MS to get WinVista. I am now wondering if, since both are betas, it is best to buy a new computer? My current computer setup is a Pentium 4, 1 gig memory, 2.66 ghz, 60-80 gig disk drive. MS's requirements for a WinVista computer is A modern processor (800mz)
13
3032
by: Mark Rae | last post by:
Hi, On Friday I attended the Microsoft EVO conference in London where they talked about Vista, Office 2007 and Exchange 2007 and how they all work together beautifully, how they were all "people-ready" etc... I asked a couple of questions about Visual Studio.NET on Vista, especially on 64-bit Vista, and they became *very* nervous... To cut a long story short, Microsoft will not support ANY version of Visual
37
3748
by: Allen Browne | last post by:
If you develop for others, you probably have multiple versions of Access installed so you can edit and create MDEs for clients in different versions. This works fine under Windows XP, even with Access 2007 installed. It does *not* work under Windows Vista Ultimate. After running Access 2007, when you open an earlier version of Access, no code works, because the references are fouled up. And Access 97 does not work at all. Access should...
56
3644
by: Squishy | last post by:
I tried installing my VS2005 Pro on Vista Ultimate 32 bit RTM today and got errors stating that VS2005 was not compatible with Vista. Microsoft......please pull your finger out of my ass and tell me this is a joke. It must be a joke....because I also have read that VS2002 and VS2003 will not be supported on Vista. This clearly violates Microsoft's own terms of support for these products.
5
5204
by: Wayne | last post by:
Several of my Access 2003 databases are exhibiting the same problem under Windows Vista. Charts in forms are not showing any data. Reports are not affected. Charts in reports display as they should. The chart object in forms appears but contains no data. It appears to be a screen painting problem because if I open a report or another form on top of the form that is not showing the chart, when the second report or form is closed, the...
4
2525
by: =?Utf-8?B?Q1IgU3VwcG9ydA==?= | last post by:
Hi experts, We are trying to migrate from Visual Studio 6 (C++ project) on Windows 2000 to Visual Studio 2005 SP1 on Windows Vista but found that the migrated program runs slower in both OS. A looping section of the original program (compiled with VC6) running in Windows 2000 takes 400ms but the same program (compiled with VS 2005) in Windows Vista but copied to the Windows 2000 machine (together with the VC Redistribution libraries) to...
19
4224
by: pmw | last post by:
Hi I've got a problem with my current application. I currently use Windows Vista with Visual Studio Express 2008. If I compile the application on Vista, it works fine on Vista, but it doesn't work on XP. If I compile it on XP (with the same source code ), it runs without any problems. The thing is: I only have a virtual machine to test my software on XP, but I can't develop on it.
0
9646
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
10350
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10157
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10097
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8983
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
7505
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
6742
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();...
1
4055
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
3
2887
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.