Print Page | Close Window

_AFXDLL defined in ExeProject\stdafx.h?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: General Discussion
Forum Description: Topics Related to Visual C++ MFC Development in General
URL: http://forum.codejock.com/forum_posts.asp?TID=14828
Printed Date: 21 May 2024 at 8:48pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: _AFXDLL defined in ExeProject\stdafx.h?
Posted By: znakeeye
Subject: _AFXDLL defined in ExeProject\stdafx.h?
Date Posted: 25 July 2009 at 1:09am
Just noticed that some symbols from a dll get exported by my exe (not cool). I finally concluded that _AFXDLL is defined in stdafx.h (immediately at the top) of my Exe-project.
 
I can't find this define in my Project Settings. Any ideas of where it comes from?


-------------
PokerMemento - http://www.pokermemento.com/



Replies:
Posted By: znakeeye
Date Posted: 25 July 2009 at 2:34am
Turned out I had several extension DLL dependent on eachother. Somehow, the defines etc got clashed (for instance, you cannot rely on "AFX_EXT_CLASS" when you have multiple extension DLLs).
 
Problem solved.


-------------
PokerMemento - http://www.pokermemento.com/



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net