| View previous topic :: View next topic |
| Author |
Message |
kitterz Grandmaster Cheater Supreme
Reputation: 0
Joined: 24 Dec 2007 Posts: 1268
|
Posted: Mon Aug 25, 2008 8:26 am Post subject: .NET vs. Win32 GUI |
|
|
Which would be a better GUI for a trainer? One made in .NET or in Win32?
.Net is easier, but requires .Net to be installed.
Win32 is harder, but does not need .Net
So which is better?
|
|
| Back to top |
|
 |
NothingToShow Grandmaster Cheater Supreme
Reputation: 0
Joined: 11 Jul 2007 Posts: 1579
|
Posted: Mon Aug 25, 2008 8:28 am Post subject: |
|
|
| I'd say Win32 since you don't have to install .Net. I think alot users/customers would prefer that aswell.
|
|
| Back to top |
|
 |
Jani Grandmaster Cheater
Reputation: 2
Joined: 29 Dec 2006 Posts: 804
|
Posted: Mon Aug 25, 2008 8:28 am Post subject: Re: .NET vs. Win32 GUI |
|
|
| kitterz wrote: | | So which is better? | Win32. Avoid .NET at all costs. If you're doing something, why not to do it properly?
|
|
| Back to top |
|
 |
Symbol I'm a spammer
Reputation: 0
Joined: 18 Apr 2007 Posts: 5094 Location: Israel.
|
Posted: Mon Aug 25, 2008 9:20 am Post subject: |
|
|
Ofcourse .NET is better, more controls, more methods for each control, but use Win32, because first of all, you need .NET to be installed, and in C++ you can do pretty much anything C# can do, maybe it'll take more time and more code, but in C# you can't do anything C++ can, less access to the memory.
I only use .NET if I need something to be done quickly, anything else - C++.
You can also code some .NET classes in C++, for example Form class, Button class, CheckBox class and such to make your GUI coding easier.
|
|
| Back to top |
|
 |
kitterz Grandmaster Cheater Supreme
Reputation: 0
Joined: 24 Dec 2007 Posts: 1268
|
Posted: Mon Aug 25, 2008 9:27 am Post subject: |
|
|
| Symbol wrote: | Ofcourse .NET is better, more controls, more methods for each control, but use Win32, because first of all, you need .NET to be installed, and in C++ you can do pretty much anything C# can do, maybe it'll take more time and more code, but in C# you can't do anything C++ can, less access to the memory.
I only use .NET if I need something to be done quickly, anything else - C++.
You can also code some .NET classes in C++, for example Form class, Button class, CheckBox class and such to make your GUI coding easier. |
I see. So is it better to use a Dialoge made with, say resedit, or CreateWindow?
|
|
| Back to top |
|
 |
HolyBlah Master Cheater
Reputation: 2
Joined: 24 Aug 2007 Posts: 446
|
Posted: Mon Aug 25, 2008 9:56 am Post subject: |
|
|
| Symbol wrote: | Ofcourse .NET is better, more controls, more methods for each control, but use Win32, because first of all, you need .NET to be installed, and in C++ you can do pretty much anything C# can do, maybe it'll take more time and more code, but in C# you can't do anything C++ can, less access to the memory.
I only use .NET if I need something to be done quickly, anything else - C++.
You can also code some .NET classes in C++, for example Form class, Button class, CheckBox class and such to make your GUI coding easier. | Wrong, all the controls in .NET can be made in Win32.
Go with Win32, most trainer's doesn't use special controls and.
If you are going with Win32 you should start with tutorial on how to create windows.
Last edited by HolyBlah on Mon Aug 25, 2008 10:00 am; edited 1 time in total |
|
| Back to top |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
Posted: Mon Aug 25, 2008 9:57 am Post subject: |
|
|
| kitterz wrote: | | I see. So is it better to use a Dialoge made with, say resedit, or CreateWindow? |
Your best option is using resedit to generate code based on a dialog.
|
|
| Back to top |
|
 |
kitterz Grandmaster Cheater Supreme
Reputation: 0
Joined: 24 Dec 2007 Posts: 1268
|
Posted: Mon Aug 25, 2008 10:00 am Post subject: |
|
|
| Flyte wrote: | | kitterz wrote: | | I see. So is it better to use a Dialoge made with, say resedit, or CreateWindow? |
Your best option is using resedit to generate code based on a dialog. |
MY best option? I learn fast, and already know the basics of CreateWindow(). It will not take long for me to learn the more advanced controls.
So does this mean CreateWindow() is better? Or Resedit?I
|
|
| Back to top |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
Posted: Mon Aug 25, 2008 11:09 am Post subject: |
|
|
| kitterz wrote: | MY best option? I learn fast, and already know the basics of CreateWindow(). It will not take long for me to learn the more advanced controls.
So does this mean CreateWindow() is better? Or Resedit?I |
I didn't mean it in a personal way, it is the exact same thing I do. What ResEdit does is takes a dialog and creates a whole bunch of CreateWindowEx() statements for you to use in your code. It saves the time of typing it all out and fine tuning the positioning.
Speed of making a dialog and the functionality of code.
|
|
| Back to top |
|
 |
kitterz Grandmaster Cheater Supreme
Reputation: 0
Joined: 24 Dec 2007 Posts: 1268
|
Posted: Mon Aug 25, 2008 11:43 am Post subject: |
|
|
| Flyte wrote: | | kitterz wrote: | MY best option? I learn fast, and already know the basics of CreateWindow(). It will not take long for me to learn the more advanced controls.
So does this mean CreateWindow() is better? Or Resedit?I |
I didn't mean it in a personal way, it is the exact same thing I do. What ResEdit does is takes a dialog and creates a whole bunch of CreateWindowEx() statements for you to use in your code. It saves the time of typing it all out and fine tuning the positioning.
Speed of making a dialog and the functionality of code. |
I see. I am sorry for the asumption. Annyways, which is better, Unicode? Ansi? (or whatever it is, i cannt remeber)
|
|
| Back to top |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
Posted: Mon Aug 25, 2008 11:53 am Post subject: |
|
|
| kitterz wrote: | | I see. I am sorry for the asumption. Annyways, which is better, Unicode? Ansi? (or whatever it is, i cannt remeber) |
Unicode.
|
|
| Back to top |
|
 |
nog_lorp Grandmaster Cheater
Reputation: 0
Joined: 26 Feb 2006 Posts: 743
|
Posted: Mon Aug 25, 2008 1:06 pm Post subject: |
|
|
Cons: Unicode isn't necessary unless you want to make your program multilingual, and is a little bit of a nuisance to use (using macros on every one of your static strings).
Pros: Unicode is futureproof/best practice, and all of the A functions actually are wrappers to the W functions, so it is more efficient to use unicode (removes 1+ function call in the library per function call in your code).
.NET vs Win32: Anything you can do in .NET you can do in Win32 since .NET all ends up resolving to Win32 anyways (at runtime). The choice is:
.NET: slightly easier.
Win32: much faster, more compact code, no annoying shit to install.
Go with Win32. Also, memory editing in C# can be done with really painful fucked up use of System.Runtime.InteropServices.Marshal.
~nog_lorp
_________________
Mutilated lips give a kiss on the wrist of the worm-like tips of tentacles expanding in my mind
I'm fine accepting only fresh brine you can get another drop of this yeah you wish |
|
| Back to top |
|
 |
|