Win95 programming for Win8 [closed] - windows

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I know some of you will think this silly, but I want to compile a Windows program on Win95 that will run on Win95/98/98SE/2K/ME/XP/VD/7/8 but not necessarily WinCE/3.1/RT as they don't implement Win32 API natively. I realize the Win32 API has evolved since its Win95 specification, but it should be backwards compatible as that is the main reason people use Windows as I understand it. What levels of API emulation must take place to make this possible? How does WinVD/7/8 implement compatibility? I ask so that I can write windows software that runs as seamlessly as possible across the Windows OSes.
Also, while slightly different but related, is it possible to cross-compile for Metro from other Windows distributions or from Mac or Linux? I realize debugging or running wouldn't be possible but I figure compilation should be.

There is absolutely no problem. If you can compile and run a program on Windows 95, that same program should run on Windows 98, ME, 2000, XP, Vista, 7 and 8. But you'll probably need an old development environement such as Visual Studio 6.
But if you are writing a program that should run on Win 95, you cannot use the APIs that have been introduced after Windows 95.
But honestly today there are not many reasons why Windows 95 should be supported.
Seel also here.

Related

Application-Based Operating System...? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
So I wanted to create an operating system that was Purely for running a windows application. Is there any way to do this, and what is the name of an application-based operating system?
This application doesn't import to any place like appdata, program files (program files x86) or any %windir% directory, it just stays in the folder with the .exe
UPDATE
Do NOT just say "OH IT'S SOOO HARD DON'T DO IT" I need a program (That makes an OS) that can be based off of an application.
I don't think you really want to build your own operating system. There's already an operating system called ReactOS that's pretty much what you're looking to build.
Just to reemphasize that creating an operating system isn't easy (especially one that runs Windows applications), ReactOS development started in 1998 and they're still in alpha stage.
If you still want to have a crack at it, I would recommend having a look at OSDev, Wine source code and ReactOS source code.
Have you considered perhaps making a minimalistic Linux distro that contains the minimum number of programs needed to start up Wine and the Windows application you need?

How is Windows CE different from Desktop windows? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
How is Windows CE distinct from the other desktop Windows?
Quote from Wiki:
Windows CE is a distinct operating system and kernel, rather than a
trimmed-down version of desktop Windows.
Can anyone please explain?
Kernel is the central piece of any operating system which is manages every aspect of a operating system.
So each operating systems like Unix, Windows have their own kernel which makes it different form each other. Similarly, Windows CE is different from your normal personal computer versions of operating system
Personal computing OS may include Windows 7, Windows 8, Windows XP etc
But Windows CE is not another version of the above mentioned Operating Systems, but a different one. This compact edition is specifically designed for a particular task may be like Car Computer, TV, etc..
By Trimmed down it tries to convey you that this Kernel cannot help with all tasks that your desktop can do and also its size is possibly less than that of your normal desktop OS

Multi-platform "easy" window programming [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
i'm thinking about programming a tool that would be useful in windows and mac (as we use those at work) and it's 100% necessary that is inside on a OS window.
The first thing that came to my mind was to use java - as it's cross platform - but, is there any alternative to program cross platform window based programs?
Has anyone tried to use C# windows forms with Mono in other OS's?
I'm interested in a garbage collected language if possible as I don't want to think about possible memory leaks for a tool that can be slower or faster without any trouble.
Also if it's possible to be as easy as it is in visual studio + C# it would be awesome!
Any idea will be appreciated, thanks!
Java is fine if you're comfortable with it.
Many languages have bindings to cross-platform toolkits: for example Python is very pleasant and has PyQt4 or WxPython, both of which can be used to make GUIs which work nicely on Windows or Mac.
In the manage-your-memory world, using Qt from within C++ is actually very pleasant (they have a nice API). I find it creates more elegant applications than my Java code (they feel a tad more native) though YMMV.

Legacy VB6 App won't start [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I inherited a headache. I have a small legacy (GUI) app that was developed 10 years ago and the VB6 source code is long gone. It works currently on a couple of old XP PCs and I was asked to see if I could get it working on Windows 7 64bit. Well… that was a no go, so I tried a 32bit version to verify that 64 wasn’t the issue and it didn’t work. So I then created an XP virtual machine and it didn’t work either. The issue is the same on all three environments. You double click the .exe and nothing is displayed but when you look under task manager, it’s there and pegging the CPU.
I downloaded Dependency Walker and it seems that all the required dlls and OCX files are there. Can anyone suggest anything else? I’m really at a loss here. Anything would be appreciated!
The standard approach is to download and run ProcessMonitor, set it to filter just your executable, run your executable and ProcessMonitor will capture what DLLs/Files/ Registry settings are being used by your application.
Have you confirmed you have the VB6 runtime files installed?
http://support.microsoft.com/kb/290887
I'm not sure if they are included in Win7 anymore and they were only in XP in one of the later service packs.

How to run old x86 DOS assembly programs in 64-bits Windows? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Several years ago I wrote some x86 DOS assembly programs as aid for Batch file programming. The programs are very small; about two or three hundred bytes in .COM version. I am now updating and creating new versions of those programs; however, the .COM or .EXE executable files don't run in 64-bits Windows versions. I need to know the simplest way to convert such programs so they run in 64-bits Windows. I know that DosBox may do that, but I need my programs run in Win cmd.exe Batch files. Anybody could help me? Thanks in advance!
Windows 64-bit will not allow 16-bit programs at all. You have to find another way.
http://msdn.microsoft.com/en-us/library/bb756962.aspx
https://superuser.com/a/140956
An x86 emulator was written in Javascript, so emulation would be viable; however I suspect it's much less work to port or rewrite the programs. http://bellard.org/jslinux/

Resources