Solved

afxext.h incompatible with ddeml.h

Posted on 1998-01-20
3
217 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
Comment Utility
Try to include ddeml.h before afxext.h
0
 

Author Comment

by:tapano
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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 be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

763 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

15 Experts available now in Live!

Get 1:1 Help Now