Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: macylapka on March 30, 2011, 01:48:45 pm

Title: Dx Stencil
Post by: macylapka 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.
Title: Re: Dx Stencil
Post by: Ceniza on March 30, 2011, 05:27:06 pm
General programming questions do not belong here. Please read the rules before you post!
Title: Re: Dx Stencil
Post by: stahta01 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.
Title: Re: Dx Stencil
Post by: macylapka on March 30, 2011, 10:34:13 pm
It is working. Thx!!!
But i thought, it will work litle difrent...