Click here to Skip to main content
15,867,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionwinsock send blocks Pin
FotisSs30-Apr-09 8:16
FotisSs30-Apr-09 8:16 
QuestionI had an MDI application and want to change the background color of client area, please suggest Pin
rajeshbhushetty30-Apr-09 7:00
rajeshbhushetty30-Apr-09 7:00 
AnswerRe: I had an MDI application and want to change the background color of client area, please suggest Pin
led mike30-Apr-09 8:01
led mike30-Apr-09 8:01 
AnswerRe: I had an MDI application and want to change the background color of client area, please suggest Pin
David Crow30-Apr-09 8:32
David Crow30-Apr-09 8:32 
GeneralRe: I had an MDI application and want to change the background color of client area, please suggest Pin
rajeshbhushetty13-May-09 3:21
rajeshbhushetty13-May-09 3:21 
Questionconst void as return type Pin
crewchill30-Apr-09 6:16
crewchill30-Apr-09 6:16 
AnswerRe: const void as return type Pin
Stuart Dootson30-Apr-09 6:24
professionalStuart Dootson30-Apr-09 6:24 
GeneralRe: const void as return type Pin
crewchill30-Apr-09 9:33
crewchill30-Apr-09 9:33 
Hm... which gcc are you using? Mine doesn't even complain about it.

~
$ cat x.c
#include <stdio.h>

typedef const void (*hello)();

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

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

~
$ gcc x.c

~
$ ./a.exe
x() is called

~
$ gcc --ver
Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
Configured with: /usr/build/package/orig/test.respin/gcc-3.4.4-3/configure --ver
bose --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libe
xecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-langu
ages=c,ada,c++,d,f77,pascal,java,objc --enable-nls --without-included-gettext --
enable-version-specific-runtime-libs --without-x --enable-libgcj --disable-java-
awt --with-system-zlib --enable-interpreter --disable-libgcj-debug --enable-thre
ads=posix --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptio
ns --enable-hash-synchronization --enable-libstdcxx-debug
Thread model: posix
gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)

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

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.