wxWidgets on old operating system

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
User avatar
marco_84
Experienced Solver
Experienced Solver
Posts: 71
Joined: Mon Jul 08, 2019 7:30 pm
Location: Italy, Tuscany

wxWidgets on old operating system

Post by marco_84 »

Hello everybody,

I want to bring my creations also on the old operating systems: Win2000, Win98 and MSDos

On Windows2000 I get the following error when I start the program:

Code: Select all

The Attach Console entry point of the procedure could not be found in the KERNEL32.dll dynamic link library
what has changed in the compilation between wxWidgets 3.1.3 and wxWidgets 3.0.4 to compile on Windows 2000?

because with version 3.0.4 the program worked correctly also on windows 2000;


Windows 98: I was looking for a compiler for this version of widows that supports wxWidgets updated to the latest version of wxWidgets;

MSDos: here too I'm looking for a compiler that supports at least the basic wxWidgets version to be able to porting on MSDos as well, I also need wxWidgets on the command line.


thanks


marco_84
I'm using: Ubuntu and Windows platform with wxwidgets 3.1.4
PB
Part Of The Furniture
Part Of The Furniture
Posts: 4204
Joined: Sun Jan 03, 2010 5:45 pm

Re: wxWidgets on old operating system

Post by PB »

wxWidgets 3.1 claim to support Windows XP up to Windows 10, but I doubt any real testing is done on 20-year-old OS such as XP.

I also believe that trying to make current wxWidgets work with those very obsolete platforms and compilers would be a fool's errand.

OTOH, you can easily make command line version of a wxWidgets application on MSW (e.g. using linker's Console subsystem in MSVS) using only wxBase classes, I gather it would no be difficult to do at least on Linux as well...
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7480
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: wxWidgets on old operating system

Post by ONEEYEMAN »

Hi,
Windows XP is still supported from the SP3 (which is the last one). And it is the lowest supported version of Windows there is.

But even that is never tried. I believe Travis CI is set up to use Win 7.

Thank you.
User avatar
marco_84
Experienced Solver
Experienced Solver
Posts: 71
Joined: Mon Jul 08, 2019 7:30 pm
Location: Italy, Tuscany

Re: wxWidgets on old operating system

Post by marco_84 »

Hello everybody

what are the older versions of the wxwidgets that support the operating systems mentioned in my first post?

and if there are always on the internet, which compilers should I use?


thanks for the clarification

marco_84
I'm using: Ubuntu and Windows platform with wxwidgets 3.1.4
PB
Part Of The Furniture
Part Of The Furniture
Posts: 4204
Joined: Sun Jan 03, 2010 5:45 pm

Re: wxWidgets on old operating system

Post by PB »

wxWidgets 3.0.4 install.txt has
This is wxWidgets for Microsoft Windows 9x/ME, Windows NT
and later (2000, XP, Vista, 7, 8, 10, etc) including both 32 bit and 64
bit versions.
But this version may not support modern Windows features such as HiDPI. BTW, Win9x/Me do not even have proper Unicode support, only the NT family has.

Do you really have (a significant number of) users of those old unsupported OSes justifying a considerable (and perhaps fruitless) effort to attempt their support?

Based on cursory google search, I think even MSVS 2005 is probably the latest version of MSVS supporting Windows 98,
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7480
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: wxWidgets on old operating system

Post by ONEEYEMAN »

Hi,
But it's just on Windows.

Thank you.
User avatar
marco_84
Experienced Solver
Experienced Solver
Posts: 71
Joined: Mon Jul 08, 2019 7:30 pm
Location: Italy, Tuscany

Re: wxWidgets on old operating system

Post by marco_84 »

Hello everybody

I have two old vintage PCs and I would like to try to have fun on those with my brother too

in visualstudio I don't know how to compile wxWidgets 3.0.4, could you give me a link with the instructions to compile wxwidgets 3.0.4 with visual studio 2005

Thanks for your help

marco_84
I'm using: Ubuntu and Windows platform with wxwidgets 3.1.4
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7480
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: wxWidgets on old operating system

Post by ONEEYEMAN »

Hi,
You just open the appropriate dsw file in the MSVC 2005 and compile.

Thank you.
User avatar
marco_84
Experienced Solver
Experienced Solver
Posts: 71
Joined: Mon Jul 08, 2019 7:30 pm
Location: Italy, Tuscany

Re: wxWidgets on old operating system

Post by marco_84 »

hello Oneeyeman
where I find this dsw file to compile the wxwidgets?


marco_84
I'm using: Ubuntu and Windows platform with wxwidgets 3.1.4
PB
Part Of The Furniture
Part Of The Furniture
Posts: 4204
Joined: Sun Jan 03, 2010 5:45 pm

Re: wxWidgets on old operating system

Post by PB »

I would try (MSVS 2005 = version 8) opening WXWIN\msw\build\wx_vc8.sln.
User avatar
marco_84
Experienced Solver
Experienced Solver
Posts: 71
Joined: Mon Jul 08, 2019 7:30 pm
Location: Italy, Tuscany

Re: wxWidgets on old operating system

Post by marco_84 »

Hi PB I tried with visual studio 2005 but it only works from win2000 and newer versions of windows.

I also tried visual studio 6.0 and it installs correctly on win98 but wxwidgets 3.0.4 doesn't contain the right file, I suppose I need an older version of wxwidgets

can you recommend me an alternative compiler that works on windows 98 and compiles wxwidgets 3.0.4?


thanks


marco_84
I'm using: Ubuntu and Windows platform with wxwidgets 3.1.4
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7480
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: wxWidgets on old operating system

Post by ONEEYEMAN »

Hi,
Support for MSVC 6 was dropped in wx3.0. So you need 2.8.12 (latest).
Are you trying to compile on those 2 old machines?

I wouldn't do it. Try to compile on one of the newer ones and test on the older ones.

Thank you.
PB
Part Of The Furniture
Part Of The Furniture
Posts: 4204
Joined: Sun Jan 03, 2010 5:45 pm

Re: wxWidgets on old operating system

Post by PB »

marco_84 wrote: Sun Apr 05, 2020 4:45 pm Hi PB I tried with visual studio 2005 but it only works from win2000 and newer versions of windows.
I assumed you wanted to target these old Windows versions, not to actually use them for development.
marco_84 wrote: Sun Apr 05, 2020 4:45 pm I also tried visual studio 6.0 and it installs correctly on win98 but wxwidgets 3.0.4 doesn't contain the right file, I suppose I need an older version of wxwidgets
With MSVC6, you should use WXWIN\build\msw\wx.dsw. I would also make sure I had VS6SP6 installed...
User avatar
marco_84
Experienced Solver
Experienced Solver
Posts: 71
Joined: Mon Jul 08, 2019 7:30 pm
Location: Italy, Tuscany

Re: wxWidgets on old operating system

Post by marco_84 »

Hello everybody

I managed to install wxwidgets on visualstudio 6.0 with serviepack 6

I tried to compile the minimal example project but I get this error:

Code: Select all

Deleting intermediate files and output files for project 'minimal - Win32 Debug'.
--------------------Configuration: minimal - Win32 Debug--------------------
Compiling resources...
Compiling...
minimal.cpp
Linking...
LINK : fatal error LNK1104: cannot open file "wxmsw30ud_core.lib"
Error executing link.exe.

minimal.exe - 1 error(s), 0 warning(s)
where can I have to copy this file to find the linker?


thanks

marco_84
I'm using: Ubuntu and Windows platform with wxwidgets 3.1.4
User avatar
doublemax
Moderator
Moderator
Posts: 19160
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: wxWidgets on old operating system

Post by doublemax »

Did you build the wxWidgets libraries first?

Did you use wx 2.8.12 now? Then the library names will be different, e.g. wxmsw28ud_core.lib instead of wxmsw30ud_core.lib
Use the source, Luke!
Post Reply