[Gambas-user] Issue 589 in gambas: Interpreter Crash Gambas3 - Calling a library function - BananaPi

gambas at ...2524... gambas at ...2524...
Fri Jan 9 10:47:23 CET 2015


Updates:
	Status: WontFix

Comment #6 on issue 589 by benoit.m... at ...626...: Interpreter Crash Gambas3  
- Calling a library function - BananaPi
https://code.google.com/p/gambas/issues/detail?id=589

> HIDInterface is a structure with a length of 52 bytes.

If you don't access the structure, you don't care. It's just a pointer for  
you. You don't construct seven memory blocks, it's done by the  
PMD_Find_Interface function.

> 1.) HIDInterface* hid[7];  how to transscribe this in Gambas

Private Hid As New Pointer[7]

> 2.) interface = PMD_Find_Inteface ( &hid[i], i, USB1608FS_PID); how to  
> setup this call

Const USB1608FS_PID As Integer = &H007D& ' from usb_1608FS.h
...
PMD_Find_Interface(VarPtr(Hid[I]), I, USB1608FS_PID)

Please use the mailing-list for such things, it's not very practical there.  
The bug tracker is for... bugs. Moreover maybe you will find other BananaPI  
users.


-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings




More information about the User mailing list