Click here to Skip to main content
16,007,087 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralHMONITOR undeclared identifier Pin
Karen03027-Dec-03 3:16
Karen03027-Dec-03 3:16 
GeneralRe: HMONITOR undeclared identifier Pin
Michael Dunn7-Dec-03 6:36
sitebuilderMichael Dunn7-Dec-03 6:36 
QuestionWhy don't build the project successfully? Pin
LoverOfVCpp7-Dec-03 2:20
LoverOfVCpp7-Dec-03 2:20 
AnswerRe: Why don't build the project successfully? Pin
Ian Darling7-Dec-03 2:34
Ian Darling7-Dec-03 2:34 
AnswerRe: Why don't build the project successfully? Pin
Anthony_Yio7-Dec-03 15:22
Anthony_Yio7-Dec-03 15:22 
GeneralOutlook add-in question Pin
YaronNir7-Dec-03 1:15
YaronNir7-Dec-03 1:15 
Generalunicode trouble Pin
Ernesto D.7-Dec-03 0:45
Ernesto D.7-Dec-03 0:45 
GeneralRe: unicode trouble Pin
Ian Darling7-Dec-03 2:13
Ian Darling7-Dec-03 2:13 
Ernesto D. wrote:
what im i doing wrong??

What you're doing wrong is assuming that the standard C library understands Unicode the same way the Win32 API does. Win32 defines unicode and ascii versions of all APIs (ie, CreateMutex is actually a macro that maps onto CreateMutexA or CreateMutexW as appropriate).

The Standard C library implemented on Windows does have wide-character versions of fopen, fprintf etc (they're _wfopen and fwprintf) - look in MSDN. You may need to define your own macros to handle these seamlessly, but it's probably easier to use the Win32 API or MFC functions instead if you need unicode *and* ascii version of your application. I think there's a way of getting unicode support on 9X, but I can't remember how.

You might also want to read this article[^] on Joel On Software.

--
Ian Darling
"The moral of the story is that with a contrived example, you can prove anything." - Joel Spolsky
GeneralRe: unicode trouble Pin
Michael Dunn7-Dec-03 6:43
sitebuilderMichael Dunn7-Dec-03 6:43 
GeneralRe: unicode trouble Pin
Ernesto D.7-Dec-03 11:03
Ernesto D.7-Dec-03 11:03 
GeneralOpening MSG File and import to Inbox Folder Pin
maharsoft6-Dec-03 20:20
maharsoft6-Dec-03 20:20 
Generalbrutal shutdown when using opengl in visual c++ Pin
emmanuel.vende6-Dec-03 13:18
emmanuel.vende6-Dec-03 13:18 
GeneralRe: brutal shutdown when using opengl in visual c++ Pin
Alexander M.,6-Dec-03 13:24
Alexander M.,6-Dec-03 13:24 
GeneralRe: brutal shutdown when using opengl in visual c++ Pin
Scozturk7-Dec-03 7:51
professionalScozturk7-Dec-03 7:51 
GeneralRe: brutal shutdown when using opengl in visual c++ Pin
ZoogieZork7-Dec-03 7:56
ZoogieZork7-Dec-03 7:56 
GeneralRe: brutal shutdown when using opengl in visual c++ Pin
Anthony_Yio7-Dec-03 15:33
Anthony_Yio7-Dec-03 15:33 
GeneralRe: brutal shutdown when using opengl in visual c++ Pin
emmanuel.vende8-Dec-03 9:28
emmanuel.vende8-Dec-03 9:28 
Generalproblem solved ! Pin
emmanuel.vende8-Dec-03 10:20
emmanuel.vende8-Dec-03 10:20 
Generalpassing 2 dim array Pin
K. Shaffer6-Dec-03 13:06
K. Shaffer6-Dec-03 13:06 
GeneralRe: passing 2 dim array Pin
Alexander M.,6-Dec-03 13:29
Alexander M.,6-Dec-03 13:29 
GeneralRe: passing 2 dim array Pin
K. Shaffer6-Dec-03 14:53
K. Shaffer6-Dec-03 14:53 
GeneralRe: passing 2 dim array Pin
Prakash Nadar6-Dec-03 22:09
Prakash Nadar6-Dec-03 22:09 
GeneralRe: passing 2 dim array Pin
Jonas Larsson8-Dec-03 4:06
Jonas Larsson8-Dec-03 4:06 
Generalcrossfade between 2 bitmaps Pin
Ted Ferenc6-Dec-03 12:33
Ted Ferenc6-Dec-03 12:33 
GeneralRe: crossfade between 2 bitmaps Pin
Alexander M.,6-Dec-03 13:13
Alexander M.,6-Dec-03 13:13 

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.