#import and wchar_t

  • Thread starter Thread starter Peter Nimmo
  • Start date Start date
P

Peter Nimmo

Hi,

Is there any way to make #import use wchar_t as a Built-In type?

I have a .idl file that has some wchar_t parameters when run through MIDL
it produces a header file that also references wchar_t parameters, but
whenever I use #import on the DLL, which was generated in the DLL project
that contains this .IDL file in its source code the wchar_t's turn into
"unsigned short"s


Peter
 
Hi Peter,

Thank you for posting here!

I notice that you have posted the same question in our vc.language
newsgroup, which MVP Igor has already responded. So please check the answer
there and if you have any further concern on this particular issue, please
follow it in that thread.

Thanks for your understanding.

Best regards,

Gary Chang
Microsoft Community Support
======================================================
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD will be updated at 9:00
AM PST, February 14, 2006. Please complete a re-registration process by
entering the secure code mmpng06 when prompted. Once you have entered the
secure code mmpng06, you will be able to update your profile and access the
partner newsgroups.
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top