CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    mix UNICODE & ANSI modules???

    Can you mix UNICODE and ANSI modules in an app? I basically just have one module I want to use unicode Win32 functions in. How do you compile it? Just define UNICODE in the module I want?

    TIA


  2. #2
    Guest

    Re: mix UNICODE & ANSI modules???

    There shouldn't really be any problem with mixing Unicode and ASCII source within the same modules.

    You may experience problems getting it all to link correctly, as some of the libraries you link to may have a Unicode and an ASCII version (i.e. MFC) This could be addressed through putting specific link options on individual cpp files but that is a lot of hassle.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured