Click here to Skip to main content
15,898,134 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: LPBYTE to CString Pin
Rajasekharan Vengalil21-Nov-08 5:43
Rajasekharan Vengalil21-Nov-08 5:43 
QuestionIn a dll, exception handling works in Debug but not in Release Pin
sashoalm21-Nov-08 1:09
sashoalm21-Nov-08 1:09 
AnswerRe: In a dll, exception handling works in Debug but not in Release Pin
_AnsHUMAN_ 21-Nov-08 1:15
_AnsHUMAN_ 21-Nov-08 1:15 
AnswerRe: In a dll, exception handling works in Debug but not in Release Pin
Randor 21-Nov-08 5:26
professional Randor 21-Nov-08 5:26 
QuestionUsing wxWidgets.... Pin
anna mathew20-Nov-08 23:40
anna mathew20-Nov-08 23:40 
AnswerRe: Using wxWidgets.... Pin
Cedric Moonen21-Nov-08 0:11
Cedric Moonen21-Nov-08 0:11 
GeneralRe: Using wxWidgets.... Pin
JudyL_MD21-Nov-08 3:48
JudyL_MD21-Nov-08 3:48 
QuestionEasy questions about C++ [modified] Pin
akirilov20-Nov-08 23:34
akirilov20-Nov-08 23:34 
Hi guys,

I'm using Visual Studio 2005 and I have few questions:

1. If I have function without parameters, what to do to skip () when invoking the function?

2. I have:
int Mem;
...
Mem = LocalAlloc(LHND, ...);
...
WriteFile(f,  Mem,...)

Mem keeps address of memory block.
What expression to write in WriteFile(f, ???Mem,...) to write the memory block pointed by Mem in file?

3. Is there a way a class member field to be accessible just for reading without writing?


P.S. If you know the answer of at least 1 question, please share it.

modified on Friday, November 21, 2008 6:29 AM

AnswerRe: Easy questions about C++ Pin
Cedric Moonen20-Nov-08 23:58
Cedric Moonen20-Nov-08 23:58 
GeneralRe: Easy questions about C++ Pin
akirilov21-Nov-08 0:16
akirilov21-Nov-08 0:16 
GeneralRe: Easy questions about C++ Pin
Maximilien21-Nov-08 0:43
Maximilien21-Nov-08 0:43 
GeneralRe: Easy questions about C++ Pin
Cedric Moonen21-Nov-08 1:04
Cedric Moonen21-Nov-08 1:04 
AnswerRe: Easy questions about C++ Pin
Code-o-mat21-Nov-08 0:06
Code-o-mat21-Nov-08 0:06 
GeneralRe: Easy questions about C++ Pin
akirilov21-Nov-08 0:22
akirilov21-Nov-08 0:22 
GeneralRe: Easy questions about C++ [modified] Pin
Code-o-mat21-Nov-08 0:29
Code-o-mat21-Nov-08 0:29 
GeneralRe: Easy questions about C++ Pin
akirilov21-Nov-08 4:17
akirilov21-Nov-08 4:17 
GeneralRe: Easy questions about C++ Pin
Code-o-mat21-Nov-08 6:23
Code-o-mat21-Nov-08 6:23 
GeneralRe: Easy questions about C++ Pin
bulg21-Nov-08 12:59
bulg21-Nov-08 12:59 
GeneralConfusions related to Dll. Pin
Nilesh Hamane20-Nov-08 23:34
Nilesh Hamane20-Nov-08 23:34 
GeneralRe: Confusions related to Dll. Pin
SandipG 20-Nov-08 23:50
SandipG 20-Nov-08 23:50 
GeneralRe: Confusions related to Dll. Pin
tasumisra21-Nov-08 1:14
tasumisra21-Nov-08 1:14 
GeneralRe: Confusions related to Dll. Pin
22491721-Nov-08 15:41
22491721-Nov-08 15:41 
QuestionDelete Shortcut file Pin
MsmVc20-Nov-08 22:11
MsmVc20-Nov-08 22:11 
AnswerRe: Delete Shortcut file Pin
Chandrasekharan P20-Nov-08 22:19
Chandrasekharan P20-Nov-08 22:19 
GeneralRe: Delete Shortcut file Pin
MsmVc20-Nov-08 22:29
MsmVc20-Nov-08 22: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.