need to read a dos program exe file.

May 10, 2012 at 11:11:58
Specs: Windows Vista

Hi , I'm running a dos program on the computer at work and want to copy some formula over to a spread sheet . The program was written in 1986 and the only thing I can get on note/word pad is the rem ' copy Watcom Systems Inc and a few other rem's the rest is gibberish !. The program name is ' Hygro1 '. Any help most welcome . Thanks Patrick.


See More: need to read a dos program exe file.

Report •


#1
May 10, 2012 at 13:21:54

Looking at an .exe file is of no use. The data ought to be stored in some other named file.

Does the program allow any sort of re-direct? Like print to file or print screen or such.

Hang up and live.


Report •

#2
May 11, 2012 at 03:41:23

An .exe file contains the object (runable) program.

This may have started life by being written in a programming language. The file containing this is called the source.

The source is compiled into the object.

Trying to reverse engineer, can be likened to being as difficult as squirting milk back into a cow's udder, then converting it to grass coming out of its mouth.

Do you have access to the source program?

Do you know in what language or application the object program was created in?

There is an article on watcom on wikipedia and also there may be a useful contact here:-

http://www.openwatcom.org/index.php...

Please advise back on progress.

Good Luck - Keep us posted.


Report •

#3
May 11, 2012 at 05:03:29

Thanks for your input . There seems to be only one file, 64kb (exe) and the program calculates dew point , humidity etc with 3 inputs and just lists the outputs on screen !.
It would seem I'm abit stumped now . ( There are half a dozen different formulas for calculating humidity parameters and each gives a different answer to the ones on this program :( . Many thanks again Patrick.

Report •

Related Solutions

#4
May 11, 2012 at 12:45:48

Hi Patrick,

I would think that there is *NOT* an off-the-shelf formula (for calculating humidity) that is provided by either watcom or a spreadsheet, due to the demand for such.

Therefore I suspect the programmer will have written it in a programming language such as fortran or similar. Possibly a mistake has been made.

What is worrying (if I understand correctly) is you are getting different results depending on which formula is used. Presumably the result should be much the same, irrespective of formula. Suggest you need to check the various formula.

Probably some brackets are in the wrong position.

If the formula is complex, perhaps a spreadsheet is not the way to go.

Good Luck - Keep us posted.


Report •


Ask Question