Can't use NEWT on Vista

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Can't use NEWT on Vista

cubus
hi,

since jogl 2.1.1-rc-20131018 newt.dll imports functions from user32.dll, which are not implemented in vista's user32.dll.

CloseTouchInputHandle
GetTouchInputInfo
RegisterTouchWindow

any solutions/workarounds for this problem?
Reply | Threaded
Open this post in threaded view
|

Re: Can't use NEWT on Vista

Sven Gothel
Administrator
On 11/10/2013 08:39 AM, cubus [via jogamp] wrote:

> hi,
>
> since jogl 2.1.1-rc-20131018 newt.dll imports functions from user32.dll, which
> are not implemented in vista's user32.dll.
>
> CloseTouchInputHandle
> GetTouchInputInfo
> RegisterTouchWindow
>
> any solutions/workarounds for this problem?
Thank you!

Yes, I will lookup the symbols dynamically.

Only the 3 above ones affected ?

Maybe also related to:
   <https://jogamp.org/bugzilla/show_bug.cgi?id=900>

Q: Do you get the 'java.lang.UnsatisfiedLinkError' ?


~Sven


signature.asc (911 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Can't use NEWT on Vista

Sven Gothel
Administrator
In reply to this post by cubus
On 11/10/2013 09:57 AM, Sven Gothel wrote:

> On 11/10/2013 08:39 AM, cubus [via jogamp] wrote:
>> hi,
>>
>> since jogl 2.1.1-rc-20131018 newt.dll imports functions from user32.dll, which
>> are not implemented in vista's user32.dll.
>>
>> CloseTouchInputHandle
>> GetTouchInputInfo
>> RegisterTouchWindow
>>
>> any solutions/workarounds for this problem?
>
> Thank you!
>
> Yes, I will lookup the symbols dynamically.
>
> Only the 3 above ones affected ?
Added <https://jogamp.org/bugzilla/show_bug.cgi?id=901> !

>
> Maybe also related to:
>    <https://jogamp.org/bugzilla/show_bug.cgi?id=900>
>
> Q: Do you get the 'java.lang.UnsatisfiedLinkError' ?
>
>
> ~Sven
>




signature.asc (911 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Can't use NEWT on Vista

cubus
In reply to this post by Sven Gothel
Sven Gothel wrote
Only the 3 above ones affected ?
yes

Sven Gothel wrote
Q: Do you get the 'java.lang.UnsatisfiedLinkError' ?
yes, when trying to load newt.dll directly via loadLibrary()

when calling NewtFactory.createDisplay() i get:

java.lang.RuntimeException: java.lang.ClassNotFoundException: Failed to find NEWT Display Class <.windows.DisplayDriver>
        at jogamp.newt.DisplayImpl.create(DisplayImpl.java:110)
        at com.jogamp.newt.NewtFactory.createDisplay(NewtFactory.java:137)
        at com.jogamp.newt.NewtFactory.createDisplay(NewtFactory.java:119)
        at gl.app.GLApp.create(GLApp.java:78)
        at gl.app.GLApp.<init>(GLApp.java:49)
        at main.Main.<init>(Main.java:81)
        at main.Main.main(Main.java:77)
Caused by: java.lang.ClassNotFoundException: Failed to find NEWT Display Class <.windows.DisplayDriver>
        at jogamp.newt.DisplayImpl.getDisplayClass(DisplayImpl.java:73)
        at jogamp.newt.DisplayImpl.create(DisplayImpl.java:81)
        ... 6 more


Reply | Threaded
Open this post in threaded view
|

Re: Can't use NEWT on Vista

Sven Gothel
Administrator
Pls try 2-1-3-rc-20131111:
  <http://forum.jogamp.org/2-1-3-rc-20131111-Mardi-Gras-RC-td4030585.html>

.. and confirm
 <https://jogamp.org/bugzilla/show_bug.cgi?id=901> !

Thank you!

~Sven


signature.asc (911 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Can't use NEWT on Vista

cubus
yes, it's fixed in 2-1-3-rc-20131111
thanks!