PoolMonXv3 icon indicating copy to clipboard operation
PoolMonXv3 copied to clipboard

Windows Server 2003 compatability

Open Zero3K opened this issue 2 years ago • 21 comments

Please make it compatible with Windows Server 2003 and up.

Zero3K avatar Oct 20 '23 14:10 Zero3K

I assume the Server 2003 is 64 bit? What is the exception you're seeing?

zodiacon avatar Oct 20 '23 14:10 zodiacon

It is 32 bit.

Zero3K avatar Oct 20 '23 14:10 Zero3K

Try this: PoolMonX.zip

zodiacon avatar Oct 20 '23 14:10 zodiacon

"PoolMonX.exe is not a valid Win32 program" is what is shown under a 32-bit Windows Server 2003 VM.

Zero3K avatar Oct 20 '23 17:10 Zero3K

I tried compiling by using Visual Studio 2017's toolset but I ran into errors.

Zero3K avatar Oct 20 '23 22:10 Zero3K

Unfortunately, I may be using some stuff that is supported on Vista+ only. I don't have a Server 2003 VM to even test it properly.

zodiacon avatar Oct 20 '23 22:10 zodiacon

The compilation fails because I'm using VCPckg for most dependencies.

zodiacon avatar Oct 20 '23 22:10 zodiacon

I was able to install the x86 versions of the dependencies.

Zero3K avatar Oct 20 '23 22:10 Zero3K

image

Zero3K avatar Oct 20 '23 22:10 Zero3K

I also commented out the inclusion of dontuse.h.

Zero3K avatar Oct 20 '23 22:10 Zero3K

The project is set to C++ 20 (not supported in VS 2017) Also the XP compiler toolset must be installed.

zodiacon avatar Oct 20 '23 22:10 zodiacon

Yes, I set it to use C++ 17 instead and have the VS 2017 toolkit installed.

Zero3K avatar Oct 20 '23 22:10 Zero3K

I am using some C++20 features...

zodiacon avatar Oct 20 '23 22:10 zodiacon

You can try with VS 2022 with the XP tools and it should work.

zodiacon avatar Oct 20 '23 22:10 zodiacon

Like what? Also, I do not see the use of the HTML headers anywhere.

Zero3K avatar Oct 20 '23 22:10 Zero3K

VS 2022 does not include the XP toolkit anymore.

Zero3K avatar Oct 20 '23 22:10 Zero3K

You're right, sorry...

zodiacon avatar Oct 20 '23 22:10 zodiacon

It would be nice if you would change it so it can compile using the VS 2017 toolkit.

Zero3K avatar Oct 21 '23 11:10 Zero3K

I'm sorry, this requires too many changes. I am just a guy writing these tools in my spare time. I am unable to deal with edge cases like Server 2003.

zodiacon avatar Oct 21 '23 13:10 zodiacon

Maybe someone could make a tool similar to it. The only other one is one that isn't open source (it is PoolTag from https://www.osronline.com/article.cfm%5Earticle=98.htm).

Zero3K avatar Oct 21 '23 14:10 Zero3K

Or someone else could get it working on Windows Server 2003.

Zero3K avatar Feb 01 '24 16:02 Zero3K