Solved

afxext.h incompatible with ddeml.h

Posted on 1998-01-20
3
218 Views
Last Modified: 2010-05-18
When I try to compile a file which include afxext.h and
ddeml.h  I get the following message:
"HSZ redifinition, different basic types"
I'm using MSVC++ 1.0
Why is this happening and How can I fix it?
0
Comment
Question by:tapano
3 Comments
 
LVL 7

Expert Comment

by:galkin
ID: 1178566
Try to include ddeml.h before afxext.h
0
 

Author Comment

by:tapano
ID: 1178567
When I include ddeml.h before afxext.h the error is in afext.h
if I include sfxext.h before, the error is in ddeml.h.
0
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 50 total points
ID: 1178568
You probably won't be able to fix it without modifying one of the header files to have

#if !defined(HSZ)
#  define HSZ     // whatever
#endif


0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now