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
Solved

afxext.h incompatible with ddeml.h

Posted on 1998-01-20
3
223 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

792 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