Click here to Skip to main content
15,921,452 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Auto Run with FloppyDisk Pin
Alexander M.,18-Sep-03 6:23
Alexander M.,18-Sep-03 6:23 
GeneralSetWindowPlacement Doesn't display the Dialogbox properly Pin
vancouver77717-Sep-03 17:18
vancouver77717-Sep-03 17:18 
GeneralRe: SetWindowPlacement Doesn't display the Dialogbox properly Pin
Jagadeesh VN17-Sep-03 21:53
Jagadeesh VN17-Sep-03 21:53 
QuestionChar[1] to UINT ??? Pin
wow999917-Sep-03 16:03
wow999917-Sep-03 16:03 
AnswerRe: Char[1] to UINT ??? Pin
Terry O'Nolley17-Sep-03 17:11
Terry O'Nolley17-Sep-03 17:11 
GeneralRe: Char[1] to UINT ??? Pin
wow999917-Sep-03 19:09
wow999917-Sep-03 19:09 
GeneralRe: Char[1] to UINT ??? Pin
jhwurmbach17-Sep-03 22:57
jhwurmbach17-Sep-03 22:57 
GeneralRe: Char[1] to UINT ??? Pin
Terry O'Nolley18-Sep-03 12:27
Terry O'Nolley18-Sep-03 12:27 
wow9999 wrote:
UINT aWord = cChinese // is it possible to assign the arrary to UINT

Yes (at least under VC++ 6.0).
You would need to write it as so:

UINT aWord = (UINT)cChinese;

This is what I said in my previous post. You need to cast it.

But the real question is why? When you assign the value of cChinese to an UINT you are not assigning the value of any char in cChinese - you are only copying the address of the zeroeth element.

If you are trying to look at or manipulate the character codes for the Chinese character set, then you need to assign cChinese[0] to aWord and not cChinese.










QuestionBitmap from data??? Pin
IceBerG7117-Sep-03 16:01
IceBerG7117-Sep-03 16:01 
GeneralNeed help with Tic-Tac-Toe Pin
Snyp17-Sep-03 14:34
Snyp17-Sep-03 14:34 
GeneralRe: Need help with Tic-Tac-Toe Pin
Terry O'Nolley17-Sep-03 16:43
Terry O'Nolley17-Sep-03 16:43 
GeneralRe: Need help with Tic-Tac-Toe Pin
Snyp17-Sep-03 16:46
Snyp17-Sep-03 16:46 
GeneralDLLs and XP themes... Pin
LukeV17-Sep-03 14:25
LukeV17-Sep-03 14:25 
GeneralRe: DLLs and XP themes... Pin
Alexander M.,18-Sep-03 6:25
Alexander M.,18-Sep-03 6:25 
GeneralJPG width and height Pin
alex.barylski17-Sep-03 14:19
alex.barylski17-Sep-03 14:19 
GeneralRe: JPG width and height Pin
JWood18-Sep-03 12:20
JWood18-Sep-03 12:20 
GeneralRe: JPG width and height Pin
alex.barylski18-Sep-03 15:38
alex.barylski18-Sep-03 15:38 
GeneralProblems moving to .NET studio Pin
Tom Wright17-Sep-03 12:24
Tom Wright17-Sep-03 12:24 
GeneralRe: Problems moving to .NET studio Pin
valikac17-Sep-03 12:42
valikac17-Sep-03 12:42 
GeneralRe: Problems moving to .NET studio Pin
Tom Wright17-Sep-03 17:06
Tom Wright17-Sep-03 17:06 
GeneralRe: Problems moving to .NET studio Pin
Steve S18-Sep-03 1:47
Steve S18-Sep-03 1:47 
GeneralRe: Problems moving to .NET studio Pin
Alexander M.,18-Sep-03 6:21
Alexander M.,18-Sep-03 6:21 
GeneralAnother question in tabCtrl Pin
Ruben93817-Sep-03 12:01
Ruben93817-Sep-03 12:01 
GeneralCreating a DialogBox in NT Service Pin
john.angel17-Sep-03 11:26
john.angel17-Sep-03 11:26 
GeneralRe: Creating a DialogBox in NT Service Pin
Peter Weyzen17-Sep-03 12:07
Peter Weyzen17-Sep-03 12:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.