- To: Steven downing <steven.downing@xxxxxxxx>
- Subject: Re: [slug-chat] [slug-chat]Windows API
- From: Crossfire <xfire@xxxxxxxx>
- Date: Fri Feb 16 09:59:08 2001
- Cc: slug-chat@xxxxxxxxxxx
- User-agent: Mutt/1.2.5i
Steven downing was once rumoured to have said:
> >(The other reason
> >of course was that MS hid a lot of the Windows API).
>
> Now I ain't no professional programmer, but I HATE the Win API. And
> no book has been able to explain it to me such that I even felt like
> spending 10 minutes on writing a Win95 program. All that bloody
> hungarian gibberish and HWND current handle crap. Thank Tux for
> GTK/Gnome, an API that even non-IT like me can come to grips with,
> and get excited about within 15 minutes of reading. And API names
> and functions that make sense.
Actually, the Win32 API is fairly sane - I used to work with it when I
was still in school, before I took a more complete turning to the
dark-side[1]. Its roughly on par with Xlib - and you need to know a
bit of Win32 API in order to interact with DirectX [which is why I
knew it at all - I was trying to aspire to be a games programmer
during college - now I'm a sysadmin]
If you want ugly hack APIs, look at the directX C interfaces - they're
EVIL. They were designed to be used as C++ via COM, not as straight
C. Fortunately some brightspark at M$ put in a tonne of macro
definitions to hide all the pointer magic necessary to use it from C.
[1] after a straw poll on #perl, we decided that Unix was the Dark Side, not
the Light Side as previously concluded - afterall, the Dark Side has
supreme power - something which M$ products can't exactly claim.
--
--==============================================--
Crossfire | This email was brought to you
xfire@xxxxxxxx | on 100% Recycled Electrons
--==============================================--