|
-
Feb 5th, 2003, 03:12 PM
#1
Member
Originally posted by Frans C
Iouri, you made some mistakes in converting the API declaration to VB.NET. All Long's must be integers, so the declaration must be:
VB Code:
Private Declare Function PlaySound Lib "winmm.dll" Alias "PlaySoundA" (ByVal lpszName As String, ByVal hModule As Integer, ByVal dwFlags As Integer) As Integer
You are right for .NET it must be Integer. But it also works with Long. Tried it just now
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
|