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)