Windows 7 error

sathya
3StarLounger
Posts: 276
Joined: 17 Dec 2015, 16:28

Windows 7 error

Post by sathya »

Hi all,

Thanks again for looking at my post.

Basically i got stuck with Dosbox error.

Basically in my university project i am doing following things,

Need to run windows 98 executable file in windows 7. That executable code will pull some information from electric motor bike by connecting ECU of that respectively to windows 7 folder.

So what i done is,

1. Downloaded dosbox for running windows 98 in windows 7
2. Mounted it
3. and running.

But my issue is when i try to run the executable code in dosbox (in windows 7) i am getting some random data along with that i am getting an error as "SERIAL PORT COM1 COULD NOT BE OPENED". Please look at the attachment.

I ran in compatibility mode as well.

Any idea ?
You do not have the required permissions to view the files attached to this post.

User avatar
HansV
Administrator
Posts: 78235
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Windows 7 error

Post by HansV »

Does the computer have serial ports?
Best wishes,
Hans

sathya
3StarLounger
Posts: 276
Joined: 17 Dec 2015, 16:28

Re: Windows 7 error

Post by sathya »

yup... I have usb to serial convertor

User avatar
HansV
Administrator
Posts: 78235
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Windows 7 error

Post by HansV »

Perhaps the port isn't named COM1. See HOW TO CHANGE THE COM PORT FOR A USB SERIAL ADAPTER ON WINDOWS 7 - check the port name and if necessary change it to COM1.
Best wishes,
Hans

User avatar
stuck
Panoramic Lounger
Posts: 8125
Joined: 25 Jan 2010, 09:09
Location: retirement

Re: Windows 7 error

Post by stuck »

sathya wrote:... when i try to run the executable code in dosbox...
Maybe I'm misunderstanding but haven't you said that you're trying to run a Win98 application? I know Win 98 is just DOS wearing a fancy overcoat but even so, surely a Win 98 .exe file will be expecting to run in a Windowed environment, not a DOS command box? In which case is not surprising it throws lots of errors?

Have you considered running Virtual Box, to give you a virtual Win 98 machine, which should then run your Win 98 exe?

Ken
PS Failing all that, I've got a (working) Win ME PC sitting in my garage, if you can collect it, you can have it :grin:

sathya
3StarLounger
Posts: 276
Joined: 17 Dec 2015, 16:28

Re: Windows 7 error

Post by sathya »

Hi Hans,

I changed com1 port to COM3. But its throwing up an error as "DESIRED SERIAL PORT NOT SUPPORTED"

Thanks Stuck. Let me try to run through virtual box.

Thanks

sathya
3StarLounger
Posts: 276
Joined: 17 Dec 2015, 16:28

Re: Windows 7 error

Post by sathya »

Hi Stuck,

Its not running in virtual box as well.

I am getting an error as "DESIRED SERIAL PORT NOT SUPPORTED" in both doxbox and virtual box

thanks

User avatar
HansV
Administrator
Posts: 78235
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Windows 7 error

Post by HansV »

According to the screenshot in your first post, the program was looking for COM1. Have you made sure that there is a serial port named COM1?
Best wishes,
Hans

sathya
3StarLounger
Posts: 276
Joined: 17 Dec 2015, 16:28

Re: Windows 7 error

Post by sathya »

yup. I changed it through device manager/ports/...

thanks

User avatar
HansV
Administrator
Posts: 78235
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Windows 7 error

Post by HansV »

The only explanation I can think of is that the program doesn't recognize the serial port since it's a USB to Serial converter. I don't know how to solve that (perhaps you should take up Stuck on his offer...)
Best wishes,
Hans

sathya
3StarLounger
Posts: 276
Joined: 17 Dec 2015, 16:28

Re: Windows 7 error

Post by sathya »

hmmm Thanks