Click here to Skip to main content
15,905,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Creating a dialog when a user hits ctrl+g+d Pin
keegan8-Aug-03 9:00
keegan8-Aug-03 9:00 
GeneralRe: Creating a dialog when a user hits ctrl+g+d Pin
David Crow8-Aug-03 9:36
David Crow8-Aug-03 9:36 
GeneralRe: Creating a dialog when a user hits ctrl+g+d Pin
Richard Jones8-Aug-03 9:57
Richard Jones8-Aug-03 9:57 
GeneralRe: Creating a dialog when a user hits ctrl+g+d Pin
keegan8-Aug-03 10:04
keegan8-Aug-03 10:04 
GeneralRe: Creating a dialog when a user hits ctrl+g+d Pin
David Crow8-Aug-03 11:03
David Crow8-Aug-03 11:03 
GeneralClick and Double Click recognition Pin
Muhammad Basim8-Aug-03 8:00
sussMuhammad Basim8-Aug-03 8:00 
GeneralAdding bitmap to a CImageList object Pin
AJOsborne8-Aug-03 5:45
AJOsborne8-Aug-03 5:45 
GeneralA big problem while using jpeglib Pin
swandream8-Aug-03 5:15
swandream8-Aug-03 5:15 
After insert the JpegLib project into my own project, when compiling it there is one error:
\jpeglib\jmorecfg.h(238) : error C2371: 'boolean' : redefinition; different basic types
\vc98\include\rpcndr.h(173) : see declaration of 'boolean'
in jmorecfg.h, it is defined as bellow:
#ifndef HAVE_BOOLEAN
typedef int boolean;
#endif
while in VC rpcndr.h there is another define:
typedef unsigned char boolean;
if I delete two include file, this problem doesn't appear:
#include <afxdisp.h> // MFC Automation classes
#include <afxdtctl.h>// MFC support for Internet Explorer 4 CommonControls
but these two include files is useful for me ,so I can't delete them
if I don't delete these two include files and add
#define HAVE_BOOLEAN
before
#include "jpglib.h"
the redefinition error doesn't appear also, but the Jpeg image can't display correctly, so I need help。


swandream
GeneralRe: A big problem while using jpeglib Pin
JWood8-Aug-03 6:19
JWood8-Aug-03 6:19 
GeneralRe: A big problem while using jpeglib Pin
swandream8-Aug-03 15:54
swandream8-Aug-03 15:54 
GeneralOwner Drawn Menu Pin
ClickHeRe8-Aug-03 4:52
ClickHeRe8-Aug-03 4:52 
QuestionCTreeCtrl DeleteAllItems() strange behaviour..!? Pin
Halloko8-Aug-03 4:30
Halloko8-Aug-03 4:30 
QuestionMay we make a friends? Pin
HansonDavid8-Aug-03 4:03
HansonDavid8-Aug-03 4:03 
AnswerRe: May we make a friends? Pin
FlyingDancer8-Aug-03 4:43
FlyingDancer8-Aug-03 4:43 
GeneralRe: May we make a friends? Pin
HansonDavid8-Aug-03 4:48
HansonDavid8-Aug-03 4:48 
AnswerRe: May we make a friends? Pin
Maximilien8-Aug-03 5:38
Maximilien8-Aug-03 5:38 
GeneralRe: May we make a friends? Pin
HansonDavid8-Aug-03 17:01
HansonDavid8-Aug-03 17:01 
GeneralEnable a combobox Pin
keegan8-Aug-03 4:02
keegan8-Aug-03 4:02 
GeneralRe: Enable a combobox Pin
User 66588-Aug-03 4:26
User 66588-Aug-03 4:26 
GeneralRe: Enable a combobox Pin
keegan8-Aug-03 4:40
keegan8-Aug-03 4:40 
GeneralRe: Enable a combobox Pin
User 66588-Aug-03 4:51
User 66588-Aug-03 4:51 
GeneralRe: Enable a combobox Pin
jhwurmbach8-Aug-03 4:44
jhwurmbach8-Aug-03 4:44 
GeneralRe: Enable a combobox Pin
keegan8-Aug-03 5:04
keegan8-Aug-03 5:04 
GeneralRe: Enable a combobox Pin
Anthony_Yio11-Aug-03 1:35
Anthony_Yio11-Aug-03 1:35 
Generalmodeless cdialog as child Pin
Anonymous8-Aug-03 3:55
Anonymous8-Aug-03 3:55 

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.