Re: some headers seems to conflict the others
"golnar" <golnar_19@yahoo.com> wrote in message
news:1158990137.944410.175200@m73g2000cwd.googlegroups.com
Hi everybody,
I have a sort of strange problem, I need to search for a special file
(perl.exe) in run time and searching the help I have found out
CFileFind but it needs afx.h to be included. The problem is when I
include afx.h some other parts of my program which were being built
and working properly seem impossible to be built. an example is
Directory::GetCurrentDirectory(). I had a similar problem with
including windows.h. again some formerly proper statements seemed to
turned out to unproper ones after including windows.h and
Directory::GetCurrentDirectory() was one of them. The error message in
both cases are the same and seem even stranger to me. It is :" error
C2039: 'GetCurrentDirectoryA' : is not a member of
'System::IO::Directory' " I don't have any GetCurrentDirectoryA. what
the problem could be?
This has been explained to you twice already, once by Norman Bullen and once
by me. Explaining it a third time doesn't seem likely to succeed given that
the two previous attempts apparently failed. Perhaps if you told us what you
don't understand about those two previous explanations, then some progress
may be possible.
--
John Carson