User forums > Help

Undefined reference

<< < (2/2)

nonoitall:

--- Quote from: thomas on October 09, 2008, 05:37:30 pm ---No, you're lying :) Other than the console wizard, the Win32 project wizard does not ask you what to create at all. Therefore, if you used the Win32 wizard, there is no way you could have told it to make the main file a C source. It copies the main file, which happens to be .cpp, from the template directory.
On the other hand, if you used the console wizard and added the Windows stuff by hand, you did not tell it to create a C source. That's quite certain because I'm using that wizard every day, and it works 100% reliably.

--- End quote ---
Guess you'll have to tack that down to 99%, because in a console project I created, it created a C++ file despite my selecting C.  (I tested that prior to posting my second time.)

In any case, is there a reason why the user can't select what type of project he wants when creating a Windows project?  It's not like everyone out there prefers C++ over C.

MortenMacFly:

--- Quote from: nonoitall on October 09, 2008, 11:16:03 pm ---In any case, is there a reason why the user can't select what type of project he wants when creating a Windows project?  It's not like everyone out there prefers C++ over C.

--- End quote ---
The wizard can be easily extended in that way. You might want to do that and provide a patch.

Right-click on the Win32 wizard and select "Edit" as a starter... Then read the WiKi section(s) about wizards / scripting.

thomas:

--- Quote from: MortenMacFly on October 09, 2008, 06:18:00 pm ---Erm... I must become blind. Did I truly read you praise a wizard???
May I mark this in red, bold, please? :lol: :lol: :lol:
--- End quote ---
Only thing I'm saying is that it works exactly as it is intended. Not saying that's a good thing.
I still hate wizards and would still prefer a system like we had 3 years ago, one that doesn't ask a thousand things, but simply pukes a bunch of files into a directory  :)

Navigation

[0] Message Index

[*] Previous page

Go to full version