Requirements for Windows 7

Having problems with building or using the JCEF Java binding? Ask your questions here.

Requirements for Windows 7

Postby Easy1 » Tue Mar 07, 2017 10:57 am

Hi everybody!

Are there some special requirements to run CEF on Windows 7 32bit machine?
I built CEF branch = 2704 with Visual Studio 2015 Update 2 on a Windows 10 64bit machine, and I want to use CEF also on a Windows 7 32bit machine.
But now I get some problems on Windows 7, when I want to print a PDF and cancel the printing dialog.
Sometimes I get sporadically access violation exceptions, in the comctl32.dll. My question is now, if there are some requirements on the windows 7 32bit machine, so I can use CEF.

Details:
JCEF Version = 3.2704.150
CEF Version = 3.2704.1434
Chromium Version = 51.0.2704.103

I also found out, that in the cef_variables.cmake.in file (2704\chromium\src\cef\cmake\cef_variables.cmake.in), a WINVER is set to targeting Windows 8.
Is it possible that this is the reason why I have problems on Windows 7, but not on Windows 8 or 10 (both 64bit)?

list(APPEND CEF_COMPILER_DEFINES
WIN32 _WIN32 _WINDOWS # Windows platform
UNICODE _UNICODE # Unicode build
WINVER=0x0602 _WIN32_WINNT=0x602 # Targeting Windows 8
NOMINMAX # Use the standard's templated min/max
WIN32_LEAN_AND_MEAN # Exclude less common API declarations
_HAS_EXCEPTIONS=0 # Disable exceptions
)

Thanks for your help!
Easy1
Newbie
 
Posts: 8
Joined: Mon Feb 20, 2017 8:23 am

Re: Requirements for Windows 7

Postby magreenblatt » Tue Mar 07, 2017 11:11 am

You can change the value to 0x601 and see if that makes a difference.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Requirements for Windows 7

Postby Easy1 » Wed Mar 08, 2017 2:38 am

OK I will try it!
Thank you for your really fast answer!
Easy1
Newbie
 
Posts: 8
Joined: Mon Feb 20, 2017 8:23 am

Re: Requirements for Windows 7

Postby Easy1 » Thu Mar 09, 2017 2:46 am

I changed WINVER and _WIN32_WINNT from 0x602 to 0x601 and built it again. But unfortunately my problem with the JVM Crash still exists.
Are there any other requirements or settings that I could change?
Easy1
Newbie
 
Posts: 8
Joined: Mon Feb 20, 2017 8:23 am


Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 17 guests