Click here to Skip to main content
15,899,314 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: what is LPWSTR ? Pin
Nibu babu thomas8-Jan-07 21:13
Nibu babu thomas8-Jan-07 21:13 
GeneralRe: what is LPWSTR ? Pin
prasad_som8-Jan-07 21:41
prasad_som8-Jan-07 21:41 
GeneralRe: what is LPWSTR ? Pin
Nibu babu thomas8-Jan-07 21:49
Nibu babu thomas8-Jan-07 21:49 
AnswerRe: what is LPWSTR ? Pin
prasad_som8-Jan-07 22:04
prasad_som8-Jan-07 22:04 
GeneralRe: what is LPWSTR ? Pin
Nibu babu thomas8-Jan-07 22:14
Nibu babu thomas8-Jan-07 22:14 
GeneralRe: what is LPWSTR ? Pin
Rajesh R Subramanian8-Jan-07 22:25
professionalRajesh R Subramanian8-Jan-07 22:25 
QuestionRe: what is LPWSTR ? Pin
prasad_som8-Jan-07 22:29
prasad_som8-Jan-07 22:29 
AnswerRe: what is LPWSTR ? Pin
Nibu babu thomas8-Jan-07 22:42
Nibu babu thomas8-Jan-07 22:42 
prasad_som wrote:
I wonder how you are able to use kewords 'far', 'near' ?


near int *pFarPtr = 0;<br />
far int *pFarPtr = 0;


You can try this in turbo. You can use the sizeof operator to see the difference. Maybe you will have to put an underscore before of after near and far.

You won't see the difference in Win32 but in Win16 or DOS you may.

In MS VC you won't get any error as these keywords are #defined to expand to empty strings.

I used to use far frequently for directly accessing vdu.

For eg:

char far *pcVDUStart = 0xB8000000;


Nibu thomas
A Developer

Programming tips[^]  My site[^]

AnswerRe: what is LPWSTR ? Pin
prasad_som8-Jan-07 22:50
prasad_som8-Jan-07 22:50 
GeneralRe: what is LPWSTR ? Pin
Nibu babu thomas8-Jan-07 22:55
Nibu babu thomas8-Jan-07 22:55 
GeneralRe: what is LPWSTR ? Pin
Nibu babu thomas8-Jan-07 23:16
Nibu babu thomas8-Jan-07 23:16 
GeneralRe: what is LPWSTR ? Pin
Nibu babu thomas8-Jan-07 23:23
Nibu babu thomas8-Jan-07 23:23 
QuestionWarning for conversion from double to int Pin
Mithin8-Jan-07 17:17
Mithin8-Jan-07 17:17 
AnswerRe: Warning for conversion from double to int Pin
prasad_som8-Jan-07 17:36
prasad_som8-Jan-07 17:36 
GeneralRe: Warning for conversion from double to int Pin
Mithin8-Jan-07 17:44
Mithin8-Jan-07 17:44 
AnswerRe: Warning for conversion from double to int Pin
prasad_som8-Jan-07 17:46
prasad_som8-Jan-07 17:46 
GeneralRe: Warning for conversion from double to int Pin
Mithin8-Jan-07 18:00
Mithin8-Jan-07 18:00 
QuestionRe: Warning for conversion from double to int Pin
prasad_som8-Jan-07 18:08
prasad_som8-Jan-07 18:08 
AnswerRe: Warning for conversion from double to int Pin
Mithin8-Jan-07 18:24
Mithin8-Jan-07 18:24 
AnswerRe: Warning for conversion from double to int Pin
prasad_som8-Jan-07 18:33
prasad_som8-Jan-07 18:33 
GeneralRe: Warning for conversion from double to int Pin
PJ Arends8-Jan-07 17:50
professionalPJ Arends8-Jan-07 17:50 
GeneralRe: Warning for conversion from double to int Pin
David Crow9-Jan-07 3:26
David Crow9-Jan-07 3:26 
GeneralRe: Warning for conversion from double to int Pin
PJ Arends8-Jan-07 18:12
professionalPJ Arends8-Jan-07 18:12 
GeneralRe: Warning for conversion from double to int Pin
prasad_som8-Jan-07 18:21
prasad_som8-Jan-07 18:21 
GeneralRe: Warning for conversion from double to int Pin
CPallini8-Jan-07 21:11
mveCPallini8-Jan-07 21:11 

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.