An application programming interface (API) is a set of declarations of the functions (or procedures) that an operating system, library or service provides to support requests made by computer programs.
Please use code tags.
The code you posted looks fine. Try to describe your problem more clearly and detailed. What exactally is your code doing that is different then the books?
Try to comment out the "PlaySound ..." line and see what happens. It may be some issue with Multimedia API on your system.
: : ask on win32 api newsgroup for details
: ...or simply ask here at Programmer's Heaven. :-)
No, as Usenet exists for 29 years, 100% of win32 api questions are answered...
: ask on win32 api newsgroup for details
...or simply ask here at Programmer's Heaven. :-)
: Iknow c++ .Now i am trying to learn win32 api programming usiing
: c++ from the book programming windows by charles petzold.I have The
: e-book .there was a code and i copied and pasted in the...
: Suppose i create a programme using file handling in c++ which would
: delete all doc file in the computer.Then i want to use it as virus
: and test it on my own pc .But how to execute the the...
: Make sure all your strings are 0 (null) terminated strings.
VB strings are 0-terminated, when calling the Windows API's, so there's no problems there.
I think I see what's wrong now: You're...
: Plz suggest me a good book for leaning windows API programming.I
: have an average knowledge of c++.Give links to ebooks if there are
: fre download in the net
The most recommended book...
Plz suggest me a good book for leaning windows API programming.I have an average knowledge of c++.Give links to ebooks if there are fre download in the net
I have to send a short message from one pc to another pc not using Email, but using the users loging or the machinename.
In my program I always used API
: : : Thanks. According to the documentation on MSDN, the handle to the
: : : registry key should be returned in hKey. The return value of the
: : : function (lValue in my code) is supposed to...
: : Thanks. According to the documentation on MSDN, the handle to the
: : registry key should be returned in hKey. The return value of the
: : function (lValue in my code) is supposed to be 0...
connecting mysql using c on windows xp
Most games dont do this directly - they request the information from the operating system in some way (For example, the system API, or another API such as DirectX...)
This is system specific. If...
I need to use some functions from the Win32 API, but the problem is I find it dificult to find the constants. e.g. WM_CAP_CONNECT,WM_CAP_START e.t.c.
What I need is a library or some tool...
: i'm writing a little program.
: And i have a big question :)
: I'm using .net 2005.
: Now i want to read some data from my database, with a simple sql
Does anyone know how to specify the structure packing of VB.NET's structures? I have a program which calls API functions that require structures and everything should work, but it doesn't....
: Thanks. According to the documentation on MSDN, the handle to the
: registry key should be returned in hKey. The return value of the
: function (lValue in my code) is supposed to be 0 if the...
: im new to Visual basic 6 but i have started a trojan, so far i have
: used winsock and can open a connecten between server\client, i can
: get the client to send data to the server (using send...
: : Hello.
: : I would like to know, if "Windows OS" pushes/sends the four
: : parameters known as: hInstance, HprevInstance, CmdLine, and CmdShow,
: : when it calls a program. or if...