Re: USB detection - how do I tell when Windows is done??

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Robert Marquardt (robert_marquardt_at_gmx.de)
Date: 02/26/05


Date: Sat, 26 Feb 2005 06:47:13 +0100

Maxim S. Shatskih wrote:

> This was always working for me. Note that the filenames sent to service
> notifications are always Unicode (WCHAR) and not TCHAR.

That is no problem with my app because i then enumerate the devices to
find the new HID device. Maybe the Windows bug is there.



Relevant Pages

  • Re: TCHAR Copying
    ... You said you have a CString, and a library that takes a TCHAR*. ... It wants a const WCHAR* ... It is MUCH more difficult if you want char*, because although the same techniques as shown ... Debug, WCHAR, DLL, 32-bit ...
    (microsoft.public.vc.mfc)
  • Re: Converting Strings, Message when opening SIP
    ... szKezValue is one byte in size, the size _is_ given in byes. ... saying I can pass a TCHAR array as parameter? ... > _always_ takes WCHAR arg). ... detects it automatically if its string parameter is char or wchar? ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: SHFileOperation und UniCode liefert Error 1026?
    ... Der Kommentar dass Du wohl eigentlich WCHAR meinst stimmt schon, ... nach Moeglichkeit fuer neuen Code TCHAR weitestgehend vergessen wollen. ... Was das Anhaengen von Null-Chars angeht, folgende Idee (ich gehe davon aus ...
    (microsoft.public.de.vc)
  • Re: Interapplication communication help
    ... Next read up on MUTEX, this will let you identify processes. ... app name by appending it to a distinct string to identify your app, ... you have to do is enumerate each property on each enumerated window and ... MainWindowHandle but the MainWindowHandle does not seem to point me to ...
    (microsoft.public.vb.general.discussion)
  • Re: hungerian notation
    ... TCHAR: this one you will also come across, ... It resolves to either CHAR or WCHAR, depending on the ... _UNICODE macro. ... this macro is usually set so it becomes a WCHAR ...
    (microsoft.public.windowsce.platbuilder)