Author Topic: How to develop a ATL project  (Read 2504 times)

Offline TopFEA

  • Single posting newcomer
  • *
  • Posts: 3
How to develop a ATL project
« on: July 22, 2012, 10:44:53 am »
When I use the Microsoft Visual Studio, I can develop ATL project easily, but how to do that with Code::Blocks? There's no ATL Template in Code::Blocks! I am a new hand, need some suggestion, Thank you!

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9613
Re: How to develop a ATL project
« Reply #1 on: July 22, 2012, 02:08:46 pm »
Well if we want to provide a template for each and every SDK we will end-up nowhere as these are literally millions. What do you expect? ATL is a Windows stuff and not even supported by the free (Express) editions of MS Visual Studio.

However, as with any other SDK or framework and if you do have ATL (and therefore most likely MSVC Professional), you need to configure your project's / target's build options accordingly in terms of include folders and libs. That should be pretty much it.

You didn't mention what compiler you are going to use... if it will be MingGW/GCC make sure this compiler can actually compile ATL based projects. If not, you have to use the MSVC compiler (the one from the Express edition will do).
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ