Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Fri, 15 Aug 2008 03:00:24 -0700 (PDT),    group: microsoft.public.win32.programmer.ui        back       


Win32 API Wraper library?   
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.
date: Fri, 15 Aug 2008 03:00:24 -0700 (PDT)   author:   John Blogger

Re: Win32 API Wraper library?   
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
date: Fri, 15 Aug 2008 11:12:30 +0100   author:   Dean Earley

Re: Win32 API Wraper library?   
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.
date: Fri, 15 Aug 2008 18:30:49 -0700   author:   Alexander Grigoriev

Re: Win32 API Wraper library?   
"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
date: Sat, 16 Aug 2008 10:17:04 +0300   author:   Alex Blekhman

Re: Win32 API Wraper library?   
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.
date: Sun, 17 Aug 2008 05:12:10 -0700 (PDT)   author:   John Blogger

Re: Win32 API Wraper library?   
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!
date: Sun, 17 Aug 2008 05:16:31 -0700 (PDT)   author:   John Blogger

Re: Win32 API Wraper library?   
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."
date: Sun, 17 Aug 2008 14:41:15 +0200   author:   Timo Kunze

Re: Win32 API Wraper library?   
"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
date: Sun, 17 Aug 2008 16:10:28 +0300   author:   Alex Blekhman

Re: Win32 API Wraper library?   
"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
date: Sun, 17 Aug 2008 16:11:28 +0300   author:   Alex Blekhman

Re: Win32 API Wraper library?   
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."
date: Sun, 17 Aug 2008 15:24:52 +0200   author:   Timo Kunze

Re: Win32 API Wraper library?   
"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
date: Sun, 17 Aug 2008 16:35:06 +0300   author:   Alex Blekhman

Re: Win32 API Wraper library?   
"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.
date: Sun, 17 Aug 2008 11:54:02 -0700   author:   Somebody

Re: Win32 API Wraper library?   
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."
date: Sun, 17 Aug 2008 23:02:29 +0200   author:   Timo Kunze

Re: Win32 API Wraper library?   
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.
date: Sun, 17 Aug 2008 23:24:59 +0200   author:   Sylvain SF

Re: Win32 API Wraper library?   
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.
date: Thu, 21 Aug 2008 18:21:13 -0700   author:   Alexander Grigoriev

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us