?
Solved

afxext.h incompatible with ddeml.h

Posted on 1998-01-20
3
Medium Priority
?
237 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 150 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
Suggested Courses

764 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