Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » SetDefaultDllDirectories': is not a member of '`global namespace(SetDefaultDllDirectories': is not a member of '`global namespace and undeclared variable)
SetDefaultDllDirectories': is not a member of '`global namespace [message #1843994] Thu, 26 August 2021 11:02 Go to next message
Asha Diggi is currently offline Asha DiggiFriend
Messages: 5
Registered: February 2021
Junior Member
Hi All,

I am trying to build the VC++ application in Eclipse IDE,

The Application is building in visual studio without any issues, able to generate exe and see the output as well,

When I am trying in Eclipse IDE with a same application It's throwing the following error :

"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\include\atlcore.h(644): error C2039: 'SetDefaultDllDirectories': is not a member of '`global namespace''"

"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\include\atlcore.h(644): error C2065: 'SetDefaultDllDirectories': undeclared identifier"

"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\include\atlcore.h(646): error C2065: 'LOAD_LIBRARY_SEARCH_SYSTEM32': undeclared identifier"

I referred some solution like, I need to set the pre-processor definitions,
so I set the _USING_V110_SDK71 in project->properties->C/C++->preprocessor->Preprocessor definitions(in visual studio 2015).

Could any one suggest me how to solve the above error's or how do I set this definitions in Eclipse IDE?



Regards,
Asha.S.D
Re: SetDefaultDllDirectories': is not a member of '`global namespace [message #1843999 is a reply to message #1843994] Thu, 26 August 2021 14:37 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
It's best to ask about this on the CDT forum.

https://www.eclipse.org/forums/index.php?t=thread&frm_id=80


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:XML tools install from 2020-06 J10 repo uses 2021 J11 WST XML core
Next Topic:JUnit test case assertion issue
Goto Forum:
  


Current Time: Thu Apr 25 12:31:32 GMT 2024

Powered by FUDForum. Page generated in 0.08305 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top