gui using .net

  • Thread starter Thread starter Bob
  • Start date Start date
B

Bob

I want to create a GUI using VS .NET. For now I just want to input
some parameters used by the algorithms I've written in C++. Maybe
later I want to access a database to load the data from and plot
figures if it isn't too hard to do.

I haven't done any GUI's before so what should I use? Do you think I
should use the MFC library, or go with building a GUI using .NET, or
something else? If I use .NET then I need to write it using a managed
language, but keep the algorithms in unmanaged c++. Will there be a
performance hit? The algorithms need to be fast. I also don't want to
spend too much time on these GUIs too. What are some good begineer
books on learning Windows programming, building GUIS, or on .NET?
Thanks.
 
There is no good answer for this. If you are really concern with performance
and overheads, use straight Win32 w/o MFC or .Net. You can experiment with
..Net and MFC and see how your performance can get hit by some trivial
experimentation. It may be that it does not matter if you use any of the
frameworks.
 
Keep in mind that writing pure Win32 code is extremely tedious. MFC makes
it considerably more simple. But for quick GUI creation, .Net definitely
takes the cake in my opinion. Another programmer and I are writing a
wrapper to interface with a pure C dll for rigid body dynamics in games.
The dll is pure x86 and we're interfacing with it quite easily from .Net.
So we can hardness easy GUI creation while still working with an extremely
performance-critical dynamics engine.

Hope that helps.


Ajay Kalra said:
There is no good answer for this. If you are really concern with performance
and overheads, use straight Win32 w/o MFC or .Net. You can experiment with
.Net and MFC and see how your performance can get hit by some trivial
experimentation. It may be that it does not matter if you use any of the
frameworks.

--
Ajay Kalra [MVP - VC++]
(e-mail address removed)


Bob said:
I want to create a GUI using VS .NET. For now I just want to input
some parameters used by the algorithms I've written in C++. Maybe
later I want to access a database to load the data from and plot
figures if it isn't too hard to do.

I haven't done any GUI's before so what should I use? Do you think I
should use the MFC library, or go with building a GUI using .NET, or
something else? If I use .NET then I need to write it using a managed
language, but keep the algorithms in unmanaged c++. Will there be a
performance hit? The algorithms need to be fast. I also don't want to
spend too much time on these GUIs too. What are some good begineer
books on learningWindowsprogramming,buildingGUIS,oron.NET
Thanks.
 
Bob said:
I want to create a GUI using VS .NET. For now I just want to input
some parameters used by the algorithms I've written in C++. Maybe
later I want to access a database to load the data from and plot
figures if it isn't too hard to do.

I haven't done any GUI's before so what should I use? Do you think I
should use the MFC library, or go with building a GUI using .NET, or
something else? If I use .NET then I need to write it using a managed
language, but keep the algorithms in unmanaged c++. Will there be a
performance hit? The algorithms need to be fast. I also don't want to
spend too much time on these GUIs too. What are some good begineer
books on learning Windows programming, building GUIS, or on .NET?
Thanks.




For .NET an excellent book is "Visual C++ .NET How To Program" by Deitel.

Check these:


http://vig.prenhall.com/catalog/academic/product/0,1144,0134373774,00.html

ftp://ftp.prenhall.com/pub/esm/sample_chapters/engineering_computer_science/deitel/vcppnet-htp/index.html
 
Back
Top