Click here to Skip to main content
15,845,785 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to put a dialog into CDockablePane? Pin
eight9-Nov-09 19:31
eight9-Nov-09 19:31 
GeneralRe: How to put a dialog into CDockablePane? Pin
ima2401099-Nov-09 23:42
ima2401099-Nov-09 23:42 
Questionwinsock send blocks Pin
FotisSs30-Apr-09 9:16
FotisSs30-Apr-09 9:16 
QuestionI had an MDI application and want to change the background color of client area, please suggest Pin
rajeshbhushetty30-Apr-09 8:00
rajeshbhushetty30-Apr-09 8:00 
AnswerRe: I had an MDI application and want to change the background color of client area, please suggest Pin
led mike30-Apr-09 9:01
led mike30-Apr-09 9:01 
AnswerRe: I had an MDI application and want to change the background color of client area, please suggest Pin
David Crow30-Apr-09 9:32
David Crow30-Apr-09 9:32 
GeneralRe: I had an MDI application and want to change the background color of client area, please suggest Pin
rajeshbhushetty13-May-09 4:21
rajeshbhushetty13-May-09 4:21 
Questionconst void as return type Pin
crewchill30-Apr-09 7:16
crewchill30-Apr-09 7:16 
I found this code a little confusing. Due to proprietary nature of the original source, I have to abstract this out.

What does const void return value mean? I can understand the intent of "const void*" return value, but "const void" seems to be just a typo?

Am I missing anything fancy with the construct here?

#include <stdio.h>

typedef const void (*hello)();

const void x()
{
  printf("x() is called\n");
}

int main()
{
  hello test=x;
  test();
}

AnswerRe: const void as return type Pin
Stuart Dootson30-Apr-09 7:24
professionalStuart Dootson30-Apr-09 7:24 
GeneralRe: const void as return type Pin
crewchill30-Apr-09 10:33
crewchill30-Apr-09 10:33 
GeneralRe: const void as return type Pin
Stuart Dootson30-Apr-09 10:56
professionalStuart Dootson30-Apr-09 10:56 
AnswerRe: const void as return type Pin
led mike30-Apr-09 9:04
led mike30-Apr-09 9:04 
GeneralRe: const void as return type Pin
crewchill30-Apr-09 10:36
crewchill30-Apr-09 10:36 
QuestionRender multiple object in single view Pin
PRC30-Apr-09 4:26
PRC30-Apr-09 4:26 
QuestionRe: Render multiple object in single view Pin
David Crow30-Apr-09 4:33
David Crow30-Apr-09 4:33 
AnswerRe: Render multiple object in single view Pin
PRC30-Apr-09 4:53
PRC30-Apr-09 4:53 
GeneralRe: Render multiple object in single view Pin
led mike30-Apr-09 5:25
led mike30-Apr-09 5:25 
GeneralRe: Render multiple object in single view Pin
beko30-Apr-09 5:31
beko30-Apr-09 5:31 
GeneralRe: Render multiple object in single view Pin
David Crow30-Apr-09 6:02
David Crow30-Apr-09 6:02 
GeneralRe: Render multiple object in single view Pin
PRC30-Apr-09 21:07
PRC30-Apr-09 21:07 
Question[Message Deleted] Pin
SoumyaSri30-Apr-09 1:57
SoumyaSri30-Apr-09 1:57 
AnswerRe: how installer create a copy of msi with new file name in temp location? Pin
Rajesh R Subramanian30-Apr-09 2:01
professionalRajesh R Subramanian30-Apr-09 2:01 
AnswerRe: how installer create a copy of msi with new file name in temp location? Pin
Rolando CC30-Apr-09 9:36
professionalRolando CC30-Apr-09 9:36 
QuestionDeleting ini key-value using API Pin
CodingLover30-Apr-09 0:47
CodingLover30-Apr-09 0:47 
AnswerRe: Deleting ini key-value using API Pin
Michael Schubert30-Apr-09 0:58
Michael Schubert30-Apr-09 0:58 

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.