[Qt-interest] USB Device Notifications (PDEV_BROADCAST_PORT)
Wm. G. Urquhart
wgu at wurquhart.co.uk
Mon May 3 12:16:22 CEST 2010
On 03/05/2010 02:53, David Ching wrote:
> "Wm. G. Urquhart"<wgu at wurquhart.co.uk> wrote in message
> news:4BDDCDAC.7000900 at wurquhart.co.uk...
>> Well I had tried this before, for obvious reasons and just like before
>> it's a non-starter with the same result as before.
>>
>> I've also double checked the MOC compiler settings for the project and
>> again there are no references to unicode and the character set for the
>> project is 'Not Set'.
>>
>> In case it's relevant I'm using 4.6.0 of Qt, Visual Studio 2008 and the
>> Intel v11.54 compiler.
>>
>> So I am again back at square one.
>>
>
> Could you debug the app and see what bytes exactly are in pPort->dbcp_name?
> I would be very surprised is if it is not a Unicode string.
>
> Also, I think the Qt DLL's are pre-built with Unicode, and I'm not sure you
> can use them with a non-Unicode app.
Hi,
OK I've made the changes to support Unicode and it now works! But I have
to admit I am a bit suspicious as I've never had this problem before
when using the Windows API in Qt.
Of course now that this works, other stuff has stopped working. Oh joy!
Thank you David for time time and effort I do appreciate it.
--
William
More information about the Qt-interest-old
mailing list