Code::Blocks Forums

User forums => Help => Topic started by: skirby on June 26, 2007, 11:31:22 pm

Title: Console wizard and Multi-threaded Dynamic CRT mode
Post by: skirby on June 26, 2007, 11:31:22 pm
Hello,

It is probably a stupid question but when I create a Visual Studio 2005 MS Dos console program with the wizard, at the end, I have the following question:
(http://img140.imageshack.us/img140/472/consolewizarddr5.th.png) (http://img140.imageshack.us/my.php?image=consolewizarddr5.png)

Now, if I create a Win32 GUI Project, I do not have the question at the end of the wizard.

Is it a bug?
If not, what option C::B choose by default?

Thanks and have a nice day.

I am using the nightly build SVN 4185
Title: Re: Console wizard and Multi-threaded Dynamic CRT mode
Post by: killerbot on June 26, 2007, 11:39:15 pm
bug maybe, more a shortcoming I guess. But would be nice if the consistency would be increased.
Title: Re: Console wizard and Multi-threaded Dynamic CRT mode
Post by: Biplab on June 27, 2007, 04:07:52 am
Is it a bug?

No. It's Not a bug. It's an option.

If not, what option C::B choose by default?

It's mentioned in the message itself. It uses Multi-threaded-Dynamic-CRT by default. :)

But would be nice if the consistency would be increased.

AFAIR, I kept that option on request from an user. :)
Title: Re: Console wizard and Multi-threaded Dynamic CRT mode
Post by: skirby on June 27, 2007, 09:55:16 am
No. It's Not a bug. It's an option.
Is there a manner to activate that option?


It's mentioned in the message itself. It uses Multi-threaded-Dynamic-CRT by default. :)
Yes, it is mentionned in the dialog box message but there is no message if you create a VS2005 Win32 project  :P

Anyway, when you create an MS Dos project and answer the question about Multi-threaded Dynamic CRT mode, you can see that check box is correctly checked in build option (one of these options /MT, /MTd, /MD, /MDd).
In Win32 project, as there is no question about Multi-threaded Dynamic CRT mode, none check box is checked in build option (in release and debug mode)
I don't think it is normal.
Title: Re: Console wizard and Multi-threaded Dynamic CRT mode
Post by: Biplab on June 27, 2007, 04:54:08 pm
Is there a manner to activate that option?

Sorry, I didn't understand what you meant. :?

Yes, it is mentionned in the dialog box message but there is no message if you create a VS2005 Win32 project

I believe this has not been updated. I'll look into this tonight and update it if necessary.

In Win32 project, as there is no question about Multi-threaded Dynamic CRT mode, none check box is checked in build option (in release and debug mode)
I don't think it is normal.

I think the options has been added at Project Level. Even in that case it's not good for VC.
Title: Re: Console wizard and Multi-threaded Dynamic CRT mode
Post by: skirby on June 28, 2007, 11:49:58 am
Thank's Biplab,

Let me know if you make any modification.
I will test it in the next nightly build  :)
Title: Re: Console wizard and Multi-threaded Dynamic CRT mode
Post by: Biplab on June 28, 2007, 11:52:30 am
Thank's Biplab,

Let me know if you make any modification.
I will test it in the next nightly build  :)

Thanks to you for pointing this. :)

I'll make couple of changes in the Win32 GUI wizard this weekend. So wait for few more days. :)