View Issue Details

IDProjectCategoryView StatusLast Update
0002287FreeCADBugpublic2015-12-15 13:15
ReporterZoidberg Assigned Towmayer  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionnot fixable 
Platformx86OSWindowsOS Version2000
Product Version0.15 
Fixed in Version0.16 
Summary0002287: Entry Point Not Found IsWow64Process
DescriptionThe program is installed correctly. When you run it appears - Entry Point Not Found. The procedure entry point IsWow64Process could not be located in the dynamic link library KERNEL32.dll
TagsNo tags attached.
FreeCAD Information

Activities

Zoidberg

2015-10-03 12:04

reporter   ~0006474

This bug has versions 0.13, 0.14, 0.15.
Version 0.12 runs normally.

wmayer

2015-10-06 19:47

administrator   ~0006483

This is the culprit: https://github.com/FreeCAD/FreeCAD/blob/master/src/Gui/3Dconnexion/GuiApplicationNativeEventAwareWin32.cpp#L404 because it directly calls IsWow64Process but Windows 2000's kernel32.dll lacks of this function.

wmayer

2015-10-08 16:53

administrator   ~0006488

Last edited: 2015-10-09 12:14

A list of missing functions on Windows 2000:

kernel32.dll:
SetDllDirectory
CheckRemoteDebuggerPresent (needed by QtGui4.dll)


user32.dll:
DefRawInputProc
GetRawInputBuffer
GetRawInputData
GetRawInputDeviceInfoA
GetRawInputDeviceList
RegisterRawInputDevices

wmayer

2015-10-09 12:16

administrator   ~0006490

Script to check which dlls of FreeCAD and 3rd party libraries can be loaded:

 from ctypes import windll
 k=cdll.LoadLibrary("kernel32.dll")
 getattr(cdll.kernel32,"CheckRemoteDebuggerPresent")

 cdll.LoadLibrary("QtGui4.dll")

 import os
 onlydlls = [ f for f in os.listdir(os.getcwd()) if f.endswith(".dll") ]

 for f in onlydlls:
  try:
    k=cdll.LoadLibrary(f)
  except:
   print ("Failed to load %s" % f)

wmayer

2015-11-30 20:09

administrator   ~0006568

Since CheckRemoteDebuggerPresent is needed by QtGui there is no way to support Win2000.

Related Changesets

FreeCAD: master 4909d628

2015-10-07 10:24:35

wmayer

Details Diff
+ fixes 0002287: Entry Point Not Found IsWow64Process Affected Issues
0002287
mod - src/Gui/3Dconnexion/GuiApplicationNativeEventAwareWin32.cpp Diff File
mod - src/Gui/Splashscreen.cpp Diff File

Issue History

Date Modified Username Field Change
2015-10-03 12:00 Zoidberg New Issue
2015-10-03 12:04 Zoidberg Note Added: 0006474
2015-10-06 19:47 wmayer Note Added: 0006483
2015-10-06 19:48 wmayer Assigned To => wmayer
2015-10-06 19:48 wmayer Status new => acknowledged
2015-10-07 08:25 wmayer Changeset attached => FreeCAD Master master 4909d628
2015-10-07 08:25 wmayer Status acknowledged => closed
2015-10-07 08:25 wmayer Resolution open => fixed
2015-10-08 16:53 wmayer Note Added: 0006488
2015-10-08 16:53 wmayer Status closed => feedback
2015-10-08 16:53 wmayer Resolution fixed => reopened
2015-10-09 09:21 wmayer Note Edited: 0006488
2015-10-09 12:14 wmayer Note Edited: 0006488
2015-10-09 12:16 wmayer Note Added: 0006490
2015-11-30 20:09 wmayer Note Added: 0006568
2015-11-30 20:09 wmayer Status feedback => closed
2015-11-30 20:09 wmayer Resolution reopened => not fixable
2015-12-15 13:15 yorik Fixed in Version => 0.16