Click here to Skip to main content
15,888,286 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to undef a typedef? Pin
Richard MacCutchan17-Oct-09 4:04
mveRichard MacCutchan17-Oct-09 4:04 
GeneralRe: how to undef a typedef? Pin
includeh1017-Oct-09 4:56
includeh1017-Oct-09 4:56 
GeneralRe: how to undef a typedef? Pin
Richard MacCutchan17-Oct-09 7:08
mveRichard MacCutchan17-Oct-09 7:08 
GeneralRe: how to undef a typedef? Pin
Hans Dietrich17-Oct-09 9:53
mentorHans Dietrich17-Oct-09 9:53 
GeneralRe: how to undef a typedef? Pin
Richard MacCutchan17-Oct-09 10:40
mveRichard MacCutchan17-Oct-09 10:40 
GeneralRe: how to undef a typedef? Pin
CPallini18-Oct-09 8:07
mveCPallini18-Oct-09 8:07 
AnswerOk, I'm a good sport, let's start from the beginning... Pin
Maximilien17-Oct-09 3:31
Maximilien17-Oct-09 3:31 
AnswerRe: how to undef a typedef? Pin
Bram van Kampen18-Oct-09 1:42
Bram van Kampen18-Oct-09 1:42 
Hi,



includeh10 wrote:
typedef struct _ABC
{
//....
}ABC;

how to undef ABC here?


The Short answer is: Cannot be Done! To ask the question in the first place shows a lack of understanding on how the various pieces of the jigsaw are fitted together when you build an application. This is a vast subject, which cannot be adequately covered in this answer. However, the following is a short answer.

The Headerfiles in general do not contain code. They contain information required by the compiler, (akin to a User Manual for a library) to build modules in such a manner that the entre project can successfully link with the libraries. If you want to upgrade the horsepower of your car, you do not do so by changing the User Manual, but by changing the Engine.
So, an 'untypedef' does not exist, because it cannot serve any usefull purpose.


<blockquote class="FQ"><div class="FQA">includeh10 wrote:</div>this is for correcting/updating VC lib errors.</blockquote>

Hmm...

Well, if you must...

There is no point in changing Header Files, or 'untypedeffing' anything You must Rewrite the Libraries, using exactly the same names throughout, (The best way of doing that is using the existing header files), and save the result in your Windows/System Folder, replacing the Old and Faulty VC libraries.

Success with your Repairs/Upgrades.

Cool | :cool:

Bram van Kampen

Questionquestion about copy a picture with c [modified] Pin
Dengjin_CN16-Oct-09 23:16
Dengjin_CN16-Oct-09 23:16 
AnswerRe: question about copy a picture with c Pin
Rajesh R Subramanian17-Oct-09 0:35
professionalRajesh R Subramanian17-Oct-09 0:35 
GeneralRe: question about copy a picture with c Pin
Dengjin_CN17-Oct-09 1:25
Dengjin_CN17-Oct-09 1:25 
GeneralRe: question about copy a picture with c Pin
Richard MacCutchan17-Oct-09 3:58
mveRichard MacCutchan17-Oct-09 3:58 
AnswerRe: question about copy a picture with c Pin
Patcher3217-Oct-09 8:10
Patcher3217-Oct-09 8:10 
Questionvs2005+WPCAP capture packets+callback function Pin
diaoxue16-Oct-09 20:04
diaoxue16-Oct-09 20:04 
QuestionVC6 installation error, what is this? Pin
includeh1016-Oct-09 13:39
includeh1016-Oct-09 13:39 
AnswerRe: VC6 installation error, what is this? Pin
«_Superman_»16-Oct-09 13:43
professional«_Superman_»16-Oct-09 13:43 
AnswerRe: VC6 installation error, what is this? Pin
Hans Dietrich16-Oct-09 13:46
mentorHans Dietrich16-Oct-09 13:46 
QuestionChanging the look and feel of a MFC dialog box Pin
burslem200116-Oct-09 12:15
burslem200116-Oct-09 12:15 
AnswerRe: Changing the look and feel of a MFC dialog box Pin
«_Superman_»16-Oct-09 13:24
professional«_Superman_»16-Oct-09 13:24 
GeneralRe: Changing the look and feel of a MFC dialog box Pin
burslem200116-Oct-09 18:06
burslem200116-Oct-09 18:06 
GeneralRe: Changing the look and feel of a MFC dialog box Pin
wangningyu16-Oct-09 20:32
wangningyu16-Oct-09 20:32 
GeneralRe: Changing the look and feel of a MFC dialog box Pin
burslem200119-Oct-09 1:28
burslem200119-Oct-09 1:28 
Questionmultithreading class [modified] Pin
es196816-Oct-09 11:25
es196816-Oct-09 11:25 
AnswerRe: multithreading class Pin
Moak17-Oct-09 1:27
Moak17-Oct-09 1:27 
GeneralRe: multithreading class Pin
es196817-Oct-09 2:04
es196817-Oct-09 2:04 

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.