Re: Rebuild under Vista



foodman wrote:
Hellough:

I upgraded to Vista a few months ago and was happy to see that my
ancient 16-bit MicroFocus-SP2 software runs as happily as it did under
all the prior versions of Windows.

I seldom use Rebuild since I rarely have problems with files.
However,
I recently ran Rebuild (at the command prompt) and got "not a valid
win32 application". My software and the compiler work perfectly.

Strangely, If I make a shortcut to run Rebuild (with file name
specified)
it works perfectly.

Any ideas?

Is it a 64-bit version of Vista? The 64-bit Vista doesn't support 16-bit Windows applications.

Since a shortcut works, though, it's strange that it doesn't work under a command prompt. Maybe the shortcut looks at the executable, and sets a "compatibility mode" for it. Inspect the properties of the shortcut, and see if any of those are set. If so, you can make a shortcut to cmd.exe with those same compatibilities set, and you should be good to go.


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ / \/ _ o ~ Live from Albuquerque, NM! ~
~ _ /\ | ~ ~
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~ Business E-mail ~ daniel @ "Business Website" below ~
~ Business Website ~ http://www.djs-consulting.com ~
~ Tech Blog ~ http://www.djs-consulting.com/linux/blog ~
~ Personal E-mail ~ "Personal Blog" as e-mail address ~
~ Personal Blog ~ http://daniel.summershome.org ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

GEEKCODE 3.12 GCS/IT d s-:+ a C++ L++ E--- W++ N++ o? K- w$ !O M--
V PS+ PE++ Y? !PGP t+ 5? X+ R* tv b+ DI++ D+ G- e h---- r+++ z++++

"Who is more irrational? A man who believes in a God he doesn't see,
or a man who's offended by a God he doesn't believe in?" - Brad Stine
.