Click here to Skip to main content
15,886,873 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to make a derived CEdit more perfect? Pin
whiteclouds28-Apr-10 2:06
whiteclouds28-Apr-10 2:06 
GeneralRe: How to make a derived CEdit more perfect? Pin
Eugen Podsypalnikov28-Apr-10 2:14
Eugen Podsypalnikov28-Apr-10 2:14 
GeneralRe: How to make a derived CEdit more perfect? Pin
whiteclouds28-Apr-10 16:39
whiteclouds28-Apr-10 16:39 
GeneralRe: How to make a derived CEdit more perfect? Pin
Eugen Podsypalnikov28-Apr-10 20:00
Eugen Podsypalnikov28-Apr-10 20:00 
GeneralRe: How to make a derived CEdit more perfect? Pin
whiteclouds28-Apr-10 20:20
whiteclouds28-Apr-10 20:20 
GeneralRe: How to make a derived CEdit more perfect? Pin
Eugen Podsypalnikov28-Apr-10 20:31
Eugen Podsypalnikov28-Apr-10 20:31 
GeneralRe: How to make a derived CEdit more perfect? Pin
whiteclouds29-Apr-10 1:42
whiteclouds29-Apr-10 1:42 
QuestionCEGUI related issues Pin
pointSX201027-Apr-10 21:33
pointSX201027-Apr-10 21:33 
Fellow teachers, my English is poor it may be more vague expression, but also you are forgiven!(各位老师,我英语很差所以表达上可能比较模糊,还请您们见谅!)

I compiled CELayoutEditor this program when met a very difficult issue, the program has been in one place error, the error is as follows:
(我在编译 CELayoutEditor 这个程序的时候,碰到了一个很棘手的问题,该程序一直在一个地方报错,错误如下:)

error C3861: 'wxStrdupA': identifier not found

Code fragment:
(代码片段
Buffer.h header files:

#ifndef _WX_BUFFER_H
#define _WX_BUFFER_H

#include "wxchar.h"

#include <stdlib.h> // malloc() and free()

DEFINE_BUFFER(wxCharBuffer, char, wxStrdupA);

#if wxUSE_WCHAR_T

DEFINE_BUFFER(wxWCharBuffer, wchar_t, wxStrdupW);

#endif // wxUSE_WCHAR_T

wxchar.h header files:

#include <stdarg.h>
#include <string.h>
/* Almost all compiler have strdup(), but not quite all: CodeWarrior under Mac */
/* and VC++ for Windows CE don't provide it */
#if !(defined(__MWERKS__) && defined(__WXMAC__)) && !defined(__WXWINCE__)
/* use #define, not inline wrapper, as it is tested with #ifndef below */
#define wxStrdupA strdup
#endif

Can tell about what is wrong somewhere? Is there any way to solve this problem? Thank you!
(可以告诉一下是什么地方出现问题?有没有什么办法解决这个问题?谢谢!)
AnswerRe: CEGUI related issues Pin
hanq_3891013027-Apr-10 21:50
hanq_3891013027-Apr-10 21:50 
GeneralRe: CEGUI related issues Pin
pointSX201028-Apr-10 15:41
pointSX201028-Apr-10 15:41 
AnswerRe: CEGUI related issues Pin
Eugen Podsypalnikov28-Apr-10 1:33
Eugen Podsypalnikov28-Apr-10 1:33 
GeneralRe: CEGUI related issues Pin
pointSX201028-Apr-10 15:48
pointSX201028-Apr-10 15:48 
QuestionHow does this template work Pin
AkashAg27-Apr-10 20:39
AkashAg27-Apr-10 20:39 
AnswerRe: How does this template work Pin
Cedric Moonen27-Apr-10 20:48
Cedric Moonen27-Apr-10 20:48 
AnswerRe: How does this template work Pin
CPallini27-Apr-10 20:48
mveCPallini27-Apr-10 20:48 
GeneralRe: How does this template work Pin
AkashAg27-Apr-10 21:13
AkashAg27-Apr-10 21:13 
GeneralRe: How does this template work [modified] Pin
CPallini27-Apr-10 21:18
mveCPallini27-Apr-10 21:18 
GeneralRe: How does this template work Pin
Cedric Moonen27-Apr-10 21:28
Cedric Moonen27-Apr-10 21:28 
GeneralRe: How does this template work PinPopular
Emilio Garavaglia28-Apr-10 1:47
Emilio Garavaglia28-Apr-10 1:47 
GeneralRe: How does this template work Pin
Cedric Moonen28-Apr-10 1:52
Cedric Moonen28-Apr-10 1:52 
GeneralRe: How does this template work Pin
Richard MacCutchan28-Apr-10 3:40
mveRichard MacCutchan28-Apr-10 3:40 
GeneralRe: How does this template work Pin
Cedric Moonen28-Apr-10 3:58
Cedric Moonen28-Apr-10 3:58 
GeneralRe: How does this template work Pin
Richard MacCutchan28-Apr-10 5:41
mveRichard MacCutchan28-Apr-10 5:41 
AnswerRe: How does this template work Pin
hanq_3891013027-Apr-10 21:00
hanq_3891013027-Apr-10 21:00 
QuestionSetup and Deplyment Project : Running external exe Pin
TechAvtar27-Apr-10 19:55
TechAvtar27-Apr-10 19: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.