Author Topic: Dx Stencil  (Read 5560 times)

Offline macylapka

  • Multiple posting newcomer
  • *
  • Posts: 10
Dx Stencil
« on: March 30, 2011, 01:48:45 pm »
Hi,

In begin, sorry for my English. I have hope, some one will try read and understand my post. I don't write like this specially. OK, now problem. How can i change DirectX startup stencil ? Because is set to Unicode and will Change to ANSI. Is always wWinMain instead of WinMain, and all string begin on "L" letter. My g++ compiler treats this like error.
« Last Edit: March 30, 2011, 01:50:45 pm by macylapka »
Windows XP, Vista & Ubuntu 10.10
TDM-GCC 4.5.2 SJLJ
Code Blocks SVN
wxWidgets 2.8.12 & 2.9.2

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: Dx Stencil
« Reply #1 on: March 30, 2011, 05:27:06 pm »
General programming questions do not belong here. Please read the rules before you post!

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7180
    • My Best Post
Re: Dx Stencil
« Reply #2 on: March 30, 2011, 05:37:19 pm »
I think he is trying to ask how to change/replace/edit the Code::Blocks template for DirectX projects.

I suggest changing the project as you want it to be then use "File" -> "Save project as Template" and see if that is what you want to do.
It should then show under  "File" -> "New" -> "From Templates".

If not, you can edit the script file and and template files; this requires more knowledge of scripting then I can give you directions to do it.

Tim S.
« Last Edit: March 30, 2011, 05:43:37 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline macylapka

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: Dx Stencil
« Reply #3 on: March 30, 2011, 10:34:13 pm »
It is working. Thx!!!
But i thought, it will work litle difrent...
Windows XP, Vista & Ubuntu 10.10
TDM-GCC 4.5.2 SJLJ
Code Blocks SVN
wxWidgets 2.8.12 & 2.9.2