Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Technical Support » Other » C++/Win32 API
C++/Win32 API [message #304383] Wed, 19 December 2007 21:39 Go to next message
slavik262 is currently offline  slavik262
Messages: 79
Registered: February 2007
Karma: 0
Recruit
As some of you know, I've done Visual Basic.NET apps in the past. However, I grow increasingly annoyed with the failure of managed code, so I'm teaching myself C++. I can do console apps fine, but as Command Prompt is so 1980s, I'm teaching myself how to create windows using the Win32 API. I've run into some trouble however, as all the tutorials I can find are using C, and create massive compiler errors. I'm using M$ Visual C++ 2008 for a compiler, and it has a built-in Win32 project. However, I have no clue what the hell all the code does because I still have no clue how the Windows API works.

In short:

Does anyone have any good tutorials on using the Win32 API with C++?


http://img432.imageshack.us/img432/7862/userbar405373ux.gif
Re: C++/Win32 API [message #304391 is a reply to message #304383] Wed, 19 December 2007 22:35 Go to previous messageGo to next message
Ethenal is currently offline  Ethenal
Messages: 2532
Registered: January 2007
Location: US of A
Karma: 0
General (2 Stars)

Try this: http://www.winprog.org/tutorial/start.html
I'm actually teaching myself C++ as well.


-TLS-DJ-EYE-K wrote on Mon, 18 March 2013 07:29

Instead of showing us that u aren't more inteligent than a Toast, maybe you should start becomming good in renegade Thumbs Up

Re: C++/Win32 API [message #304397 is a reply to message #304383] Wed, 19 December 2007 23:33 Go to previous messageGo to next message
Ryu is currently offline  Ryu
Messages: 2833
Registered: September 2006
Location: Liverpool, England.
Karma: 0
General (2 Stars)

http://forums.dcomproductions.net

Smile.


Presence is a curious thing, if you think you need to prove it... you probably never had it in the first place.

[Updated on: Wed, 19 December 2007 23:34]

Report message to a moderator

Re: C++/Win32 API [message #304467 is a reply to message #304383] Thu, 20 December 2007 10:49 Go to previous messageGo to next message
Ethenal is currently offline  Ethenal
Messages: 2532
Registered: January 2007
Location: US of A
Karma: 0
General (2 Stars)

BTW disregard the first post, it's a C tutorial, not C++.
Those DCOM lessons are for managed code, that's not what he is looking for.


-TLS-DJ-EYE-K wrote on Mon, 18 March 2013 07:29

Instead of showing us that u aren't more inteligent than a Toast, maybe you should start becomming good in renegade Thumbs Up

Re: C++/Win32 API [message #304559 is a reply to message #304383] Thu, 20 December 2007 14:31 Go to previous messageGo to next message
slavik262 is currently offline  slavik262
Messages: 79
Registered: February 2007
Karma: 0
Recruit
So all of the above posts are useless. Big Ups

It's okay though. That first site was the one I found, but it won't compile, and I want to use the newer Win32.h header that comes with Visual C++ 2008.


http://img432.imageshack.us/img432/7862/userbar405373ux.gif
Re: C++/Win32 API [message #304588 is a reply to message #304559] Thu, 20 December 2007 16:04 Go to previous messageGo to next message
Ethenal is currently offline  Ethenal
Messages: 2532
Registered: January 2007
Location: US of A
Karma: 0
General (2 Stars)

slavik262 wrote on Thu, 20 December 2007 15:31

So all of the above posts are useless. Big Ups

It's okay though. That first site was the one I found, but it won't compile, and I want to use the newer Win32.h header that comes with Visual C++ 2008.


Same happened to me. Weird. I know of a great C++ specific API tutorial, but the site is down for maintenance.


-TLS-DJ-EYE-K wrote on Mon, 18 March 2013 07:29

Instead of showing us that u aren't more inteligent than a Toast, maybe you should start becomming good in renegade Thumbs Up

Re: C++/Win32 API [message #305415 is a reply to message #304383] Mon, 24 December 2007 15:40 Go to previous messageGo to next message
Sir Kane
Messages: 1701
Registered: March 2003
Location: Angerville
Karma: 0
General (1 Star)
Not sure what the difference between "C" and "C++" is when it comes to window stuff.

Proud N9500 and proud N6270 user. Creator of the IEE libraries (original bhs.dll) and the RB series software.
http://n00bstories.com/image.fetch.php?id=1189992501http://www.n00bstories.com/image.fetch.php?id=1257492907
Re: C++/Win32 API [message #305515 is a reply to message #304383] Tue, 25 December 2007 07:50 Go to previous messageGo to next message
Dave Anderson is currently offline  Dave Anderson
Messages: 1953
Registered: December 2004
Location: United States
Karma: 0
General (1 Star)
DPDN Supports Win32 as well.

"Win32 API, C++/CLI 8.0

The scope of this forum covers the Native C++ and Win32 API, but does not cover extensions such as MFC or ATL. This forum also covers the latest release (2005) of the C++/CLI language."


David Anderson
Founder, Software Consultant
DCOM Productions
Microsoft Partner (MSP)
Re: C++/Win32 API [message #305595 is a reply to message #304383] Tue, 25 December 2007 19:14 Go to previous messageGo to next message
Sir Kane
Messages: 1701
Registered: March 2003
Location: Angerville
Karma: 0
General (1 Star)
MFC & friends are bloated failure anyways.

Proud N9500 and proud N6270 user. Creator of the IEE libraries (original bhs.dll) and the RB series software.
http://n00bstories.com/image.fetch.php?id=1189992501http://www.n00bstories.com/image.fetch.php?id=1257492907
Re: C++/Win32 API [message #305672 is a reply to message #304383] Wed, 26 December 2007 12:42 Go to previous messageGo to next message
Dave Anderson is currently offline  Dave Anderson
Messages: 1953
Registered: December 2004
Location: United States
Karma: 0
General (1 Star)
Yep.

David Anderson
Founder, Software Consultant
DCOM Productions
Microsoft Partner (MSP)
Re: C++/Win32 API [message #305797 is a reply to message #304383] Wed, 26 December 2007 23:11 Go to previous message
Ethenal is currently offline  Ethenal
Messages: 2532
Registered: January 2007
Location: US of A
Karma: 0
General (2 Stars)

Well SK, for some odd reason the code won't compile in Visual Studio '08, new API headers or something. It compiles fine in Dev C++ and probably works on VS '05 as well.

-TLS-DJ-EYE-K wrote on Mon, 18 March 2013 07:29

Instead of showing us that u aren't more inteligent than a Toast, maybe you should start becomming good in renegade Thumbs Up

Previous Topic: Looking For Myspace Code
Next Topic: WOL Servers
Goto Forum:
  


Current Time: Wed Nov 27 00:23:31 MST 2024

Total time taken to generate the page: 0.00836 seconds