I need a wraper library around win32 api. Is there one? MFC and wxWidgets are very complex to me. And I'm not looking for a cross-platform one.
John Blogger wrote: > I need a wraper library around win32 api. Is there one? > > MFC and wxWidgets are very complex to me. And I'm not looking for a > cross-platform one. There are plenty. MFC, ATL, .NET (ish), VB6, GTK, etc... Maybe if you are a bit more specific about what you do and don't want, we could help. -- Dean Earley (dean.earley@icode.co.uk) i-Catcher Development Team iCode Systems
If you don't need crossplatform library, why do you need a wrapper at all? "John Blogger" wrote in message news:2677980d-cd3a-4311-bbbc-58b4b393a058@u6g2000prc.googlegroups.com... >I need a wraper library around win32 api. Is there one? > > MFC and wxWidgets are very complex to me. And I'm not looking for a > cross-platform one.
"John Blogger" wrote: > I need a wraper library around win32 api. Is there one? > > MFC and wxWidgets are very complex to me. And I'm not looking > for a cross-platform one. If all that you need is a thin wrapper around HWND, then ATL windowing classes are the best candidate. Alex
On Aug 16, 6:30 am, "Alexander Grigoriev" wrote: > If you don't need crossplatform library, why do you need a wrapper at allCross-platform libraries are huge. Very huge! ========== On Aug 15, 3:12 pm, Dean Earley wrote: > Maybe if you are a bit more specific about what you do and don't want, > we could help. Just plain win32 Api app development is time consuming. I'm looking for a C library that should allow me to play with windows standard controls (button, listboxes etc) and also give an easy way to make custom controls easily. My specifications are like that of MFC but not complex like it. And the compiled exe should be small.
On Aug 16, 12:17 pm, "Alex Blekhman" wrote: > If all that you need is a thin wrapper around HWND, then ATL > windowing classes are the best candidate. Alex, The problem is that I'm using Visual Studio Express Editions that doesn't come with MFC and ATL (I think). By the way do you know of any replacement for MFC? That may be enough, now!
You should try WTL. It uses templates, so that the overhead is small compared to MFC. It's also less complex. http://sourceforge.net/project/showfiles.php?group_id=109071 As far as I know it works with Visual C++ Express Edition, but it might be necessary to manually edit the setup script to make it work with Visual C++ 2008 Express Edition. Timo -- www.TimoSoft-Software.de - Unicode controls for VB6 "Those who sacrifice freedom for safety deserve neither." "Demokratie ist per Definition unsicher. Ihr Schutz entsteht aus der Ãberzeugung, dass die demokratischen Kräfte überwiegen und sich â auf demokratischem Wege â durchsetzen."
"John Blogger" wrote: > The problem is that I'm using Visual Studio Express Editions > that doesn't come with MFC and ATL (I think). By the way do you > know of any replacement for MFC? That may be enough, now! You can try the "Win32++" library. It is tiny and very simple wrapper around Win32 API: http://users.bigpond.net.au/programming/ Also, you may consider developing with plain Win32 API. It is not that hard. Using message crackers can save you some typing. KB83456 - "Introduction to STRICT and Message Crackers" http://support.microsoft.com/kb/83456 "Message Cracker Wizard for Win32 SDK Developers" http://www.codeproject.com/KB/winsdk/msgcrackwizard.aspx HTH Alex
"Timo Kunze" wrote: > As far as I know it works with Visual C++ Express Edition, but > it might be necessary to manually edit the setup script to make > it work with Visual C++ 2008 Express Edition. No, WTL requires ATL in order to operate properly. You cannot use WTL without ATL library. Alex
Alex Blekhman schrieb: > No, WTL requires ATL in order to operate properly. You cannot use > WTL without ATL library. I just checked it: WTL has a setup script for Visual Studio 2005 Express Edition, so I guess it can be used with the Express Edition. Also I remember that ATL 3.0 was part of older Platform SDKs. Maybe using ATL 3.0, you can use WTL with VS Express Edition. Timo -- www.TimoSoft-Software.de - Unicode controls for VB6 "Those who sacrifice freedom for safety deserve neither." "Demokratie ist per Definition unsicher. Ihr Schutz entsteht aus der Ãberzeugung, dass die demokratischen Kräfte überwiegen und sich â auf demokratischem Wege â durchsetzen."
"Timo Kunze" wrote: > I just checked it: WTL has a setup script for Visual Studio 2005 > Express Edition, so I guess it can be used with the Express > Edition. Also I remember that ATL 3.0 was part of older Platform > SDKs. Maybe using ATL 3.0, you can use WTL with VS Express > Edition. I have never tried that. However, I found this: "Using WTL with Visual C++ 2005 Express Edition" http://www.codeproject.com/KB/wtl/WTLExpress.aspx This article describes how to use WTL with old ATL 3.0. Unfortunately, ATL 3.0 is available only with older PSDK. Alex
"John Blogger" wrote in message news:bac43b7d-d6df-4ce0-aad8- >Just plain win32 Api app development is time consuming. > >I'm looking for a C++ library that should allow me to play with >windows standard controls (button, listboxes etc) and also give an >easy way to make custom controls easily. My specifications are >like >that of MFC but not complex like it. And the compiled exe should >be >small. If you can't understand MFC, you won't understand any other library. MFC is one of the thinnest, easiest wrapper libraries to work with (at least until Microsoft merged that BCG garbage with it). ATL is way more complex and unreadable / undebuggable. To "play with standard" controls in MFC requires zero code on your part. Its all created through the wizards & drag and drop.
Oh, I understand WTL quite well, but never understood MFC. Am I an alien? ;) Timo -- www.TimoSoft-Software.de - Unicode controls for VB6 "Those who sacrifice freedom for safety deserve neither." "Demokratie ist per Definition unsicher. Ihr Schutz entsteht aus der Ãberzeugung, dass die demokratischen Kräfte überwiegen und sich â auf demokratischem Wege â durchsetzen."
Somebody wrote on 17/08/2008 20:54: >> >> I'm looking for a C++ library that should allow me to play with >> windows standard controls (button, listboxes etc) [...] > > If you can't understand MFC, you won't understand any other library. is it the status of your skill ? > MFC is one of the thinnest, easiest wrapper libraries to work with you should try to write a plain C code (to be sure to not any wrapper) and understand how MFC makes message handling confused, then try to design possible object oriented relations between windows controls and understand how inheritance in MFC is inefficient. > ATL is way more complex and unreadable / undebuggable. surely, fortunately other wrappers are also possible. > To "play with standard" controls in MFC requires zero code on your part. > Its all created through the wizards & drag and drop. yeah nice time when developers create so great applications just with a few mouse clicks ! you should be one of these marketing genuine, aren't you ? Sylvain.
MFC carries quite a lot of legacy cruft. But anyway, it helps to get the job done pretty quickly "Sylvain SF" wrote in message news:48a89723$0$850$ba4acef3@news.orange.fr... > Somebody wrote on 17/08/2008 20:54: >>> >>> I'm looking for a C++ library that should allow me to play with >>> windows standard controls (button, listboxes etc) [...] >> >> If you can't understand MFC, you won't understand any other library. > > is it the status of your skill ? > >> MFC is one of the thinnest, easiest wrapper libraries to work with > > you should try to write a plain C code (to be sure to not any wrapper) > and understand how MFC makes message handling confused, then try to > design possible object oriented relations between windows controls > and understand how inheritance in MFC is inefficient. > >> ATL is way more complex and unreadable / undebuggable. > > surely, fortunately other wrappers are also possible. > >> To "play with standard" controls in MFC requires zero code on your part. >> Its all created through the wizards & drag and drop. > > yeah nice time when developers create so great applications just with a > few mouse clicks ! you should be one of these marketing genuine, aren't > you ? > > Sylvain.