Saturday, September 23rd 2017, 12:27am UTC+2

You are not logged in.

  • Login
  • Register

Search results

Search results 1-2 of 2.

Wednesday, June 15th 2016, 4:13pm

Author: nboutin

USBH_Init & USBH_Exit

Hi, I don't understand why this simple code would not work properly : C/C++ Source code 1 2 3 4 5 void MainTask(void) { USBH_Init(); USBH_Exit(); } USBH_Exit() get stuck in a while loop in USBH_HW_STM32F2xxFS.c file in function static void _RemoveDriver(USBH_HC_HANDLE hHostController). It seems that the variable _RemoveComplete is never set to a value different from 0. For information: - embUSB-Host version: V1.16e - ┬ÁC : STM32L476VG Thanks for your help, Nicolas

Friday, December 11th 2015, 9:51am

Author: nboutin

Pass user data at window creation

Hello, I would like to encapsulate a view that contains a window and some widget in a class. So I started with something like below : C/C++ Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 /// --- view.hpp class View { public: void create(); private: static void internal_callback(WM_MESSAGE* pMsg); void callback(WM_MESSAGE * pMsg); WM_HWIN win_; }; /// --...