Re: EXE compiles but 'Not a valid Win32 Application
- From: Peyton Todd <PeytonTodd@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 24 Aug 2007 06:14:02 -0700
Regarding what I just posted: for now, I've decided to delay a post on error
ASP 0177 (0x800AEA5F). Others claim it is 'not recognised' by Microsoft or
that it is officially named 'unexplained', and depending on how I tweaked
things earlier, I sometimes got Security messages. So my first step will be
to consult with more security-knowledgeable friends about making sure I have
security configured correctly. Two things you might be able to answer for me
though, since I suspect they cannot:
1. What 'user' is running it? That is, for what user 'group' or role should
I be fixing the security?
2. How do you register an object in Component Services. That is evidently
one way to get at its security. For no reason I know of, I find the object in
question in Component Services on one of the two computers but not on the
other.
--
Peyton Todd
"Ken Halter" wrote:
"Peyton Todd" <PeytonTodd@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message.
news:AF907E8C-4432-4576-B35F-5A05F0CF9A64@xxxxxxxxxxxxxxxx
Thanks for whatever help you can provide!
Which, in this case, may not be much... I've never touched a web app... but,
if the exact same exe, copied from the exact same source, reports that it's
"Not a valid Win32 Application" on one PC and not the other, there's
definitely corruption somewhere (pretty obvious, eh? <g>) Have you tried
building and running a simple "Hello_World.exe" on both PCs? Are you
creating a setup package that includes the basic VB runtimes, etc?
As a last resort, maybe you can try renaming the "problem" exe and copying
the "good" exe again. In theory, since the old file was renamed instead of
deleted, the new file will occupy a different location on the hard-drive. If
that works, you might want to start shopping for a new hard drive <g>... Are
both PCs running the same file system? Both NTFS or both Fat32?
If you have a usable hex editor/viewer, you can look at the first few
(hundred) bytes while it's installed on both PCs.
The various EXE file format specifications are available here.... you'd want
the "Portable Executable Format" (someone will pop in if I'm mistaken)
http://www.wotsit.org/list.asp?fc=5
Using a decent hex editor/viewer, it shouldn't take long to see if the file
is hosed.... finding out how it got that way's another story.
Check for mouse hair in your CPU fan. That will surely cause your PC to
overheat.... happened to a friend of mine (true story!)... and gave me
another reason to re-install my "slot covers" on the back of the PC case <g>
--
Ken Halter - MS-MVP-VB - Please keep all discussions in the groups..
In Loving Memory - http://www.vbsight.com/Remembrance.htm
- References:
- EXE compiles but 'Not a valid Win32 Application
- From: Peyton Todd
- Re: EXE compiles but 'Not a valid Win32 Application
- From: Ken Halter
- EXE compiles but 'Not a valid Win32 Application
- Prev by Date: Re: Command string difference on XP SP2
- Next by Date: Re: Command string difference on XP SP2
- Previous by thread: Re: EXE compiles but 'Not a valid Win32 Application
- Next by thread: TurboCAD/AutoCAD installer starts when my VB6 program starts
- Index(es):
Relevant Pages
|