-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x86 Version #30
Comments
Have you uploaded the dll anywhere? I would like to upgrade to 0.3.5 but really need it to work in an x86 environment. |
Nope, but if you tell me your favourite platform for sharing this .dll i will do so? |
Hi starguy, |
I would suggest you create a fork and replace the dll there. Then everyone can get a copy and Jez can pull it into the main repository too if he wants to. |
Thx for the hint with the fork guys! nice feature. forked + pull request created for faster access: https://github.com/starguy/javasysmon.git the compiled javasysmon jar could be find under dis/javasysmon-0.3.6.jar Last question, whats the correct procedure: to leave this issue open till Jez took a look at the pull request, or closing it immediately? |
@starguy D:\APPS>"C:\Program Files\Java\jdk1.6.0_24\bin\java" -jar ./lib/javasysmon-0.3.6.jar |
Line 10 of javasysmon.c needs to read #define _WIN32_WINNT 0x0501 to compile the library for running on an x86 machine running Windows Vista or earlier. Without this, the compiled DLL will look for K32EnumProcesses (amongst other things) which is only present in Windows 7 and above. Even better than changing line 10 is to remove it completely and add the define as a preprocessor definition, along with WINVER=0x0501 and NTDDI_VERSION=0x05010000 to make completely sure that you are targetting XP (and Vista). |
Hi Jez,
thx for the new javasysmon-0.3.5. It works fine under windows 7 x64 and OpenSuse for my purposes (identifying and killing processes).
Unfortunately the javasysmon.dll seems to be compiled for the x64 platform too (instead of x86).
I allready cloned your repo and rebuild the windows c code for the x86 platform (using Visual Studio 2013 which converted the project to an .vcxproj) and javasysmon now also works fine within a x86 platform (windows 7).
Should I push these changes to your repo, or have you allready fixed this by yourself?
Greetz
c
p.s.: btw I just run into a similiar problem running javasysmon under windows vista x64. with a javasysmon64.dll compiled for the Platform Toolset - v120_xp, build with a x64 configuration javasysmon works.
The text was updated successfully, but these errors were encountered: