Skip to main content



      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 07:02 Go to next message
Eclipse UserFriend
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 10:37 Go to previous message
Eclipse UserFriend
It's best to ask about this on the CDT forum.

https://www.eclipse.org/forums/index.php?t=thread&frm_id=80
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: Wed Jul 16 02:03:50 EDT 2025

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

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

Back to the top