Author Topic: How to include afxtempl.h into a new Code::Blocks console application  (Read 3433 times)

Offline troylee_DT

  • Single posting newcomer
  • *
  • Posts: 2
As the subject, when I typed include "afxtempl.h" and build, message box prompted "afxtempl.h: No such file or directory". it seems i need to select multithreaded option for this head file. but where could i find it? Thanks for your brilliance.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: How to include afxtempl.h into a new Code::Blocks console application
« Reply #1 on: February 15, 2017, 04:27:11 am »
As the subject, when I typed include "afxtempl.h" and build, message box prompted "afxtempl.h: No such file or directory". it seems i need to select multithreaded option for this head file. but where could i find it? Thanks for your brilliance.

Please read the rules and how to report a compiler problem.

http://forums.codeblocks.org/index.php/topic,9996.0.html

http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F

NOTE: Code::Blocks is an IDE/editor it is NOT a compiler.

Tim S.

C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org