Search found 2 matches

by Merlin978
Mon May 20, 2019 1:18 am
Forum: Developer's Forum for Windows
Topic: SiGetEvent
Replies: 3
Views: 6716

Re: SiGetEvent

Hi. I tryed to write something similar to yours. <DllImport("SiAppDll.dll")> Public Shared Function SiGetEvent(<[In]()> ByVal SiHdl As IntPtr, ByVal flags As Integer, <[In]()> ByRef pData As SiGetEventData, <[In](), [Out](), MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = TypeOf (SiSpwEven...
by Merlin978
Thu May 16, 2019 5:19 am
Forum: Developer's Forum for Windows
Topic: SiGetEvent
Replies: 3
Views: 6716

SiGetEvent

Hi I am using Microsoft Visual Studio 15 VB.NET, the product SpaceTraveler/Space Navigator and I have a problem with the function SiGetEvent. I always get a System.AcessViolationexception or "the arraytype of siEvent is not the correct type"-Error. Can you send me of the siEvent the whole structure-...