Win API functions that don't seem to exist in Win32 API 
Author Message
 Win API functions that don't seem to exist in Win32 API

Help!!

Several years ago I wrote a simple game that made use of the following
API declares:

Declare Function OpenSound Lib "Sound" () As Integer
Declare Sub CloseSound Lib "Sound" ()
Declare Function SetVoiceQueueSize Lib "Sound" (ByVal nVoice As
Integer, ByVal nBytes As Integer) As Integer
Declare Function SetVoiceSound Lib "Sound" (ByVal nVoice As Integer,
ByVal lFrequency As Long, ByVal nDuration As Integer) As Integer
Declare Function StartSound Lib "Sound" () As Integer

This worked fine on a Win 3.1 or Win 3.11 system, but of course it
doesn't work on a Win 95 system. I've tried to locate the Win32 API
versions of these API calls but have had no luck ... I've also tried
some "conversion utilities" that supposedly convert a VB3 app to a VB4
app ... all they did was tell me to convert the API calls (like,
duh!).

I just bought Daniel Appleman's VB guide to the Win32 API ... although
I haven't had a chance to read it completely, I don't see any
references to SOUND API calls.

Does anyone know where/what the comparable calls are?  Or, how are you
VB4 (32-bit) programmers handling sound???

Thanks!


Brad Ashforth

===================================================================
"The powers not delegated to the United States by the Constitution,
nor prohibited by it to the States, are reserved to the States
respectively, or to the people."      The 10th Amendment
------------
REMEMBER IT!
===================================================================



Mon, 12 Apr 1999 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Can't seem to send a NULL to a Win32 API

2. API/function doesn't stop and I don't understand it :o)

3. Can't execute Win32 API functions in VB component from IIS

4. WIN 2k API vs WIN 98/WIN NT API - Help needed

5. Looking: Dan Appleman's Visual Basic 5.0 Programmer's Guide To The Win32 API

6. Dan Appleman's VB5 Programmer's Guide to the Win32 API

7. Win32 API to provide 'COUT' functionality

8. Dan Appleman's VB5 Programmer's Guide to the Win32 API

9. FindWindow API call doesn't seem to work

10. Win32 API / NET API security context

11. API, API, Who's got the API

12. VB Win16 API vs Win32 API

 

 
Powered by phpBB® Forum Software