Solved

afxext.h incompatible with ddeml.h

Posted on 1998-01-20
3
232 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

728 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