Click here to Skip to main content
15,913,487 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalsorting data by size. Pin
SilverShalkin4-May-02 6:54
SilverShalkin4-May-02 6:54 
GeneralRe: sorting data by size. Pin
Nish Nishant4-May-02 6:59
sitebuilderNish Nishant4-May-02 6:59 
GeneralRe: sorting data by size. Pin
l a u r e n4-May-02 7:08
l a u r e n4-May-02 7:08 
GeneralRe: sorting data by size. Pin
SilverShalkin4-May-02 8:16
SilverShalkin4-May-02 8:16 
GeneralRe: sorting data by size. Pin
Learning5-May-02 9:28
Learning5-May-02 9:28 
GeneralRe: sorting data by size. Pin
Nish Nishant5-May-02 9:42
sitebuilderNish Nishant5-May-02 9:42 
QuestionHow to convert PWSTR to char * ? Pin
adara4-May-02 6:25
adara4-May-02 6:25 
AnswerRe: How to convert PWSTR to char * ? Pin
Tom Archer4-May-02 6:42
Tom Archer4-May-02 6:42 
Here's an example of doing that:

char szBuffer[255];
WideCharToMultiByte(CP_ACP,
  0,
  /* your PWSTR var goes here */,
  -1,
  szBuffer,
  sizeof(szBuffer),
  NULL,
  NULL);



Cheers,
Tom Archer
Author, Inside C#
Author, Visual C++.NET Bible

A total abstainer is one who abstains from everything but abstention, and especially from inactivity in the af
GeneralRe: How to convert PWSTR to char * ? Pin
l a u r e n4-May-02 6:51
l a u r e n4-May-02 6:51 
GeneralRe: How to convert PWSTR to char * ? Pin
Nish Nishant4-May-02 6:55
sitebuilderNish Nishant4-May-02 6:55 
GeneralRe: How to convert PWSTR to char * ? Pin
l a u r e n4-May-02 6:56
l a u r e n4-May-02 6:56 
GeneralThanx ! Pin
adara4-May-02 6:58
adara4-May-02 6:58 
GeneralRe: How to convert PWSTR to char * ? Pin
Nish Nishant4-May-02 7:01
sitebuilderNish Nishant4-May-02 7:01 
GeneralRe: How to convert PWSTR to char * ? Pin
Tom Archer4-May-02 7:00
Tom Archer4-May-02 7:00 
GeneralRe: How to convert PWSTR to char * ? Pin
Nish Nishant4-May-02 7:04
sitebuilderNish Nishant4-May-02 7:04 
GeneralRe: How to convert PWSTR to char * ? Pin
Nish Nishant4-May-02 6:51
sitebuilderNish Nishant4-May-02 6:51 
GeneralRe: How to convert PWSTR to char * ? Pin
Tom Archer4-May-02 7:02
Tom Archer4-May-02 7:02 
GeneralRe: How to convert PWSTR to char * ? Pin
Nish Nishant4-May-02 7:06
sitebuilderNish Nishant4-May-02 7:06 
GeneralRe: How to convert PWSTR to char * ? Pin
Tom Archer4-May-02 7:08
Tom Archer4-May-02 7:08 
GeneralRe: How to convert PWSTR to char * ? Pin
Tim Smith4-May-02 16:38
Tim Smith4-May-02 16:38 
GeneralRe: How to convert PWSTR to char * ? Pin
Nish Nishant4-May-02 16:42
sitebuilderNish Nishant4-May-02 16:42 
GeneralAdding a column to DataGrid ... Pin
Hadi Rezaee4-May-02 6:20
Hadi Rezaee4-May-02 6:20 
GeneralPossible Networking Program Design :: Winsock Pin
valikac4-May-02 6:02
valikac4-May-02 6:02 
GeneralRe: Possible Networking Program Design :: Winsock Pin
l a u r e n4-May-02 6:47
l a u r e n4-May-02 6:47 
GeneralRe: Possible Networking Program Design :: Winsock Pin
Felix Gartsman4-May-02 7:29
Felix Gartsman4-May-02 7:29 

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.