Tema: Re: Visual studio 5 ir Try
Autorius: Laimis
Data: 2010-10-07 09:43:32
Valdas rašė:
> 'Public Declare Function SndOpen Lib "aygshell.dll" (ByVal pszSoundFile As
> String, ByVal ref As System.IntPtr) As Integer
>
> dim sv as intptr
>
> SndOpen("garsas.wav",sv)
>


Public Declare Function SndOpen Lib "aygshell.dll" (ByVal pszSoundFile 
As String, *ByRef* phSnd As System.IntPtr) As Integer

Dim hSnd As IntPtr

SndOpen("garsas.wav", hSnd)