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

gambas at ...2524... gambas at ...2524...
Fri Jan 2 15:36:43 CET 2015


Updates:
	Status: NeedsInfo
	Labels: -Version Version-TRUNK

Comment #1 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

You are calling PMD_Find_Interface() with a NULL pointer as first argument,  
whereas PMD_Find_Interface apparently requires a pointer to a pointer,  
surely to store its result.

Pass VarPtr(hid_p) as first argument, it should work.

And check that you understand what is a 'void **' in C.

-- 
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