Click here to Skip to main content
16,016,303 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionPlay mov file using directshow Pin
raj157622-Apr-09 19:53
raj157622-Apr-09 19:53 
QuestionHow to display .jp2 and .jpg images in my dialog box? Pin
kapardhi22-Apr-09 19:43
kapardhi22-Apr-09 19:43 
AnswerRe: How to display .jp2 and .jpg images in my dialog box? Pin
Jijo.Raj22-Apr-09 20:05
Jijo.Raj22-Apr-09 20:05 
GeneralRe: How to display .jp2 and .jpg images in my dialog box? Pin
kapardhi23-Apr-09 0:37
kapardhi23-Apr-09 0:37 
AnswerRe: How to display .jp2 and .jpg images in my dialog box? Pin
ShiXiangYang22-Apr-09 20:54
ShiXiangYang22-Apr-09 20:54 
GeneralRe: How to display .jp2 and .jpg images in my dialog box? Pin
kapardhi23-Apr-09 0:55
kapardhi23-Apr-09 0:55 
QuestionHow to Convert String Array to LPWSTR* Pin
ANURAG VISHNOI22-Apr-09 18:42
ANURAG VISHNOI22-Apr-09 18:42 
AnswerRe: How to Convert String Array to LPWSTR* Pin
Cedric Moonen22-Apr-09 20:08
Cedric Moonen22-Apr-09 20:08 
First of all: why do you need such conversion ? Most of the time, you can simply use TCHAR strings and everything sould be fine. You only need such conversions in very very specific cases (e.g. you developp a UNICODE application and you are using a library which doesn't support UNICODE, ...). I suggest you read this excellent article[^], things will be a bit clearer for you.

For your code snippet, there are quite some errors. If you want to retrieve the lenght of a string, don't use sizeof but strlen (or it's equivalent unicode version). Furthermore, your code snippet is incomplete, so it is difficult to understand. What is itemWChar ? Is that a typo and it should be _itemWChar or is it another variable ?

Cédric Moonen
Software developer

Charting control [v2.0 - Updated]
OpenGL game tutorial in C++

AnswerRe: How to Convert String Array to LPWSTR* Pin
ANURAG VISHNOI22-Apr-09 20:26
ANURAG VISHNOI22-Apr-09 20:26 
GeneralRe: How to Convert String Array to LPWSTR* Pin
Cedric Moonen22-Apr-09 21:05
Cedric Moonen22-Apr-09 21:05 
AnswerRe: How to Convert String Array to LPWSTR* Pin
Stuart Dootson22-Apr-09 22:04
professionalStuart Dootson22-Apr-09 22:04 
Questioncode required for programming the encoder and decoder of PCM module. Pin
NamraHayee22-Apr-09 18:01
NamraHayee22-Apr-09 18:01 
AnswerRe: code required for programming the encoder and decoder of PCM module. Pin
CPallini22-Apr-09 22:01
mveCPallini22-Apr-09 22:01 
GeneralRe: code required for programming the encoder and decoder of PCM module. Pin
NamraHayee24-Apr-09 18:44
NamraHayee24-Apr-09 18:44 
GeneralRe: code required for programming the encoder and decoder of PCM module. Pin
CPallini24-Apr-09 21:52
mveCPallini24-Apr-09 21:52 
AnswerRe: code required for programming the encoder and decoder of PCM module. Pin
Hamid_RT23-Apr-09 0:07
Hamid_RT23-Apr-09 0:07 
Questionwhy i can use ON_EN_CHANGE for CIPAddressCtrl ? Pin
kaviniswell22-Apr-09 17:39
kaviniswell22-Apr-09 17:39 
AnswerRe: why i can use ON_EN_CHANGE for CIPAddressCtrl ? Pin
Nibu babu thomas22-Apr-09 18:27
Nibu babu thomas22-Apr-09 18:27 
GeneralRe: why i can use ON_EN_CHANGE for CIPAddressCtrl ? Pin
kaviniswell22-Apr-09 18:37
kaviniswell22-Apr-09 18:37 
GeneralRe: why i can use ON_EN_CHANGE for CIPAddressCtrl ? Pin
Nibu babu thomas22-Apr-09 18:45
Nibu babu thomas22-Apr-09 18:45 
GeneralRe: why i can use ON_EN_CHANGE for CIPAddressCtrl ? Pin
kaviniswell22-Apr-09 19:26
kaviniswell22-Apr-09 19:26 
GeneralRe: why i can use ON_EN_CHANGE for CIPAddressCtrl ? Pin
ThatsAlok22-Apr-09 21:42
ThatsAlok22-Apr-09 21:42 
GeneralRe: why i can use ON_EN_CHANGE for CIPAddressCtrl ? Pin
Nibu babu thomas22-Apr-09 21:46
Nibu babu thomas22-Apr-09 21:46 
QuestionHow to write Binary data to a file???? [modified] Pin
TooShy2Talk22-Apr-09 16:04
TooShy2Talk22-Apr-09 16:04 
AnswerRe: How to write Binary data to a file???? Pin
Fiona101122-Apr-09 16:37
Fiona101122-Apr-09 16:37 

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.