|
-
Sep 27th, 2000, 03:16 PM
#1
Does anyone have any tutorials for VC++ but not for MFC, for Win32 API?
-
Sep 28th, 2000, 05:37 AM
#2
Frenzied Member
Surely all you need to know is what the Win32 functions are (they should have the same function headers as VB I think) and how to declare and use them in C++. If I remember correctly, to declare an API function you use the keyword API after the function name and before the argument list in the declaration, something like:
returnType functionName API (arg1Type arg1, arg2Type arg2);
Not sure if that's how you do it though, I have only done incredibly simple stuff with Windows programming in C++ and copied the API calls out of a book. The API keyword is in there somewhere.
I think this is one of the benefits of DLLs though: the functions are compiled already and ready to use in any language that can link to them.
Harry.
"From one thing, know ten thousand things."
-
Sep 28th, 2000, 11:05 AM
#3
Well i have the Win32 help file, so i got every API at my fingertips. The problems im having are with dialog boxes and resource files.
-
Sep 28th, 2000, 12:48 PM
#4
Addicted Member
I'm going to recomend what so many other people have, have you tried the dan appleman's API Guide?
-
Sep 28th, 2000, 12:50 PM
#5
Frenzied Member
I have made a little win32 app and i have a button on it with a message handler, how do i make it so when the button is clicked another button (called and declared as, HWND hWnd_ButtonDisable) disbles itself, i think its with SendMessage but im not sure ??????????????????????
-
Sep 28th, 2000, 02:46 PM
#6
kb244, i dont think i have, wheres it at?
-
Sep 28th, 2000, 11:17 PM
#7
Frenzied Member
It's a book isn't it? Try Amazon.
Harry.
"From one thing, know ten thousand things."
-
Sep 29th, 2000, 12:19 PM
#8
Monday Morning Lunatic
Get the Platform SDK from MSDN - it has full details and examples for how to do things. I can email you some code if you want (the same stuff I sent to PsyVision).
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Sep 29th, 2000, 02:39 PM
#9
Frenzied Member
This is a big plea right, i cannot stay online to get all 500mb + of the download and its not available on cd, can anyone burn a downloaded unused copy to me because i cannot get it because of where i live and my net connection goes after 2hrs.
Anyone Please ???????
-
Sep 29th, 2000, 03:43 PM
#10
Monday Morning Lunatic
You don't have to download all of it. It's split into small chunks.
(thinks)
Didn't you have trouble getting it before?
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Sep 29th, 2000, 04:21 PM
#11
Frenzied Member
Yeah, thats the prob, i jut dont have the time to get it, even in small chunks, plus the real code i want i wont be able to get in 2hrs(when my net goes) becuase i have a slow connection.
-
Sep 29th, 2000, 05:06 PM
#12
Monday Morning Lunatic
What's the exact code you need? I might be able to extract it from the larger files.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Sep 30th, 2000, 07:45 AM
#13
Frenzied Member
Well as im knew to VC++ i could do with the documents and samples that show you how to do Win32 apps using message handlers and sendingmessages and changing the state of things on Win32, also on creating textboxes etc.
-
Sep 30th, 2000, 08:36 AM
#14
Monday Morning Lunatic
Well, they won't be properly installed this way, so some of the cross-referencing will be broken, but...
1. Go to Microsoft's FTP site at ftp.microsoft.com
2. Change to the folder DEVELOPR\PlatformSDK
3. Under here there will be about 3 folders. Open the latest date
4. Go to COMMON\HELP
Download these files (get <name>.chi and <name>.chm):
winui, win32, shellcc, gdi, dllproc
These should have the information you need. In total, they're about 7.76megs, which isn't too bad.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Sep 30th, 2000, 09:19 AM
#15
Frenzied Member
-
Sep 30th, 2000, 04:13 PM
#16
Does anyone have any tutorials?
-
Oct 1st, 2000, 03:32 AM
#17
Frenzied Member
-
Oct 1st, 2000, 12:18 PM
#18
Go to msdn.microsoft.com and look at the Platform SDK. It has documentation on Windows API functions.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|