otya128 / winevdm

16-bit Windows (Windows 1.x, 2.x, 3.0, 3.1, etc.) on 64-bit Windows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error when running visual c++ 1.52

girl16bit opened this issue · comments

Describe the bug
error when running visual c++ 1.52 (each time)

Screenshots

afbeelding

afbeelding

Environment (please complete the following information):
Windows 10 22H2

Another error when compiling something.
I get this error about RC.EXE

afbeelding

Do you know where the EXE HELLOWIN.EXE is written to? I can't find it. I want to try to run it manually.

In my source code folder I only find these files after compiling:

afbeelding

Since you tried visual c++ too, do you know if debugging and running the EXE works from withing visual c++ itself and how to remove this error above?

I suspect that you don't have short path names enabled on the drive that you placed winevdm on. If there are file and dir names that are longer than 8.3 characters winevdm will not work properly unless short names are enabled.

I suspect that you don't have short path names enabled on the drive that you placed winevdm on. If there are file and dir names that are longer than 8.3 characters winevdm will not work properly unless short names are enabled.

I made sure all folders have 8.3 characters (and not more) and now the first error is gone and I have a clean command window:

afbeelding

However the second error about RC.EXE stays...
Can you tell me how I can fix this?
At the moment I can't compile anything since this error is always there :(

The error in English is (see screenshot above):

"This version of F:\MSVC\BIN\RC.EXE is not compatible with the Windows version you are running. Check your computer's system information and then contact the software publisher."

The rc.exe that comes with msvc 1.5 is a dos program which is surprising because the c compiler is a win32 program. I think that using borland c 4.5 is going to work better as I know the rc.exe that comes with that works.

The rc.exe that comes with msvc 1.5 is a dos program which is surprising because the c compiler is a win32 program. I think that using borland c 4.5 is going to work better as I know the rc.exe that comes with that works.

  • how can you see an EXE is for DOS or windows 3.1? Can I see it in an editor or so?

  • do you know of another project (then winevdm) that can run 16 bit EXE on 64 bit windows, including DOS EXEs?

  • Do you think I can use borland's RC.EXE and overwrite visual c++ EXE with that one?
    Update: I actually did this and the same error message in visual c++ 1.52 with the new RC.EXE of borland. So is RC.EXE of borland also a DOS EXE then?

  • Do you know if a later version of visual c++ can still compile 16 bit EXE ?

Can you tell me how to install borland C++ 4.52?
https://winworldpc.com/product/borland-c/40

I don't understand what EXE to run for installing it. No setup or install EXE ...
It seems not so easy to get a 16 bit compiler working because it uses DOS EXE for some things :(

Run <cdrom>:\INSTALL\BC45\install.exe but you need to get the winevdm build from https://ci.appveyor.com/project/otya128/winevdm/builds/49049894/job/uuyeb7qe4k3wpoim/artifacts due to microsoft breaking something in Windows 11.

Do I need this too if I use windows 10? I don't have windows 11 at all.
Can you release this update here on github too?

If you have windows 10 you don't need the update but it won't hurt.