Link to home
Start Free TrialLog in
Avatar of misiti3780
misiti3780

asked on

Converting DSP's from WIN32 to Unicode

Hello,
     I am trying to convert two projects from WIN32 to unicode. The two projects depend on a library that already builds in Win32 Unicode Debug successfully. I'm trying to convert the other two projects over and its not going very well. Here are some of the errors I am getting::::

c:\program files\microsoft visual studio\vc98\atl\include\atlconv.h(125) :
error C2440: 'return' : cannot convert from 'const char *' to 'const unsigned short *'

c:\program files\microsoft visual studio\vc98\atl\include\atlbase.h(5031) :
error C2440: 'initializing' : cannot convert from 'unsigned short [25]' to 'const char []'

....I have a lot of errors but they all seem to involve the converting of arrays, and they are all in those two header files............

I believe my problem is the compiler can't find the USES_CONVERSTION macro but im not 100% positive.

IF anyone has a solution or can re-direct me towards some helpful documentation (I cannot seem to find any) I would appreciate it.

Thanks A lot,
    misiti3780
ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of misiti3780
misiti3780

ASKER

I have it set in my project settings but I dont use it in my code.
Are you using

#define UNICODE

in the settings or the code also?
the errors are occuring with the inline functions within atlbase.h and another file. the functions that are failing are within #define _UNICODE ....but I myself only include the _UNICODE in my project->preprossor settings...not in my code
on a side note....only some of the inline functions that are failing from atlbase.h are actually be called in my application...aka functions that are NOT being called on are stilling failing...that might have something to do their inline decleration though.....
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Split: jkr {http:#9680253} & Madz {http:#9693375}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Tinchos
EE Cleanup Volunteer