Article View: be.comp.programming
Article #4688Re: Windows programma's in C? Link aub?
From: Pieter Philippaerts
Date: Sat, 05 Jul 2003 19:20
Date: Sat, 05 Jul 2003 19:20
38 lines
3149 bytes
3149 bytes
"Bram Minnaert" <bram.minnaert@rug.ac.be> wrote in message news:be71dp$9au$1@gaudi2.UGent.be... > Kan iemand mij een goede url geven naar een tutorial/manual van hoe ik kan > leren windows programma's maken in C (of C++). <SNIP> > Of als iemand mij gewoon kan zeggen naar wat ik moet > zoeken bij Google... Je moet natuurlijk wel weten ofdat je C of C++ wil gebruiken. Voor C is er eigenlijk maar ��n Application Programming Interface [API] beschikbaar, en dat is de standaard Win32 API [http://msdn.microsoft.com/library/en-us/winprog/winprog/windows_api_start_p age.asp]. Het enige wat je in je C files moet toevoegen is een #include <windows.h> en dan kan je aan de ganse Windows API aan, inclusief de methodes om vensters en dergelijke aan te maken. In C++ kan je diezelfde Win32 API gebruiken [op dezelfde manier], maar daarnaast zijn er ook nog twee andere technologieen beschikbaar die het schrijven van Windows applicaties enorm vergemakkelijken. De ene technologie heet Microsoft Foundation Classes [MFC] waarvoor de documentatie op devolgende URL te vinden is: http://msdn.microsoft.com/library/en-us/vclib/html/_mfc_Class_Library_Reference_Introduction.asp De andere technologie heet Active Template Library [ATL] en de documentatie hiervoor is op de volgende URL beschikbaar: http://msdn.microsoft.com/library/en-us/vclib/html/vcrefATLReference.asp Wel belangrijk om op te merken is dat MFC en ATL enkel werken onder Visual C++. Andere compilers hebben andere class libraries [zo heeft de Borland compiler de BCL library als ik me niet vergis]. De Win32 API werkt onder alle compilers. Als je met een commerciele IDE werkt zal er ook wel een wizard bestaan die dat de basis legt voor GUI applicaties. In Visual C++ doe je dit door File->New->Win32 Project te kiezen. In andere IDEs zullen wel soortgelijke wizards bestaan. Mvg, Pieter Philippaerts
Technical Details
Message-ID:
<1057432570.18328@seven.kulnet.kuleuven.ac.be>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!mephistopheles.news.clara.net!news.clara.net!ecngs!feeder.ecngs.de!193.190.198.58.MISMATCH!aotearoa.belnet.be!naxos.belnet.be!news.belnet.be!not-for-mailReferences:
<be71dp$9au$1@gaudi2.UGent.be>Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII X-Google-Thread: fcea4,42e454e6335a844a X-Google-Attributes: gidfcea4,public X-Google-ArrivalTime: 2003-07-05 12:16:12 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!diablo.theplanet.net!mephistopheles.news.clara.net!news.clara.net!ecngs!feeder.ecngs.de!193.190.198.58.MISMATCH!aotearoa.belnet.be!naxos.belnet.be!news.belnet.be!not-for-mail From: "Pieter Philippaerts" <Pieter@nospam.mentalis.org> Newsgroups: be.comp.programming Subject: Re: Windows programma's in C? Link aub? Date: Sat, 5 Jul 2003 21:20:11 +0200 Organization: KULeuvenNet Lines: 40 Message-ID: <1057432570.18328@seven.kulnet.kuleuven.ac.be> References: <be71dp$9au$1@gaudi2.UGent.be> NNTP-Posting-Host: seven.kulnet.kuleuven.ac.be X-Trace: naxos.belnet.be 1057432570 29670 134.58.127.12 (5 Jul 2003 19:16:10 GMT) X-Complaints-To: abuse@belnet.be NNTP-Posting-Date: Sat, 5 Jul 2003 19:16:10 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.3790.0 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 Cache-Post-Path: seven.kulnet.kuleuven.ac.be!unknown@localhost X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/)