Why bad my API-CALL ?

In this category you can exchange your programming questions and solutions.
Post Reply
PaPi
Posts: 114
Joined: Wed May 16, 2007 11:55 am

Why bad my API-CALL ?

Post: # 376Post PaPi
Fri Dec 26, 2008 10:12 am



My question: what is bad here? There isn`t 440 Hz whistle with my test-program:

`ApiCall_test by PaPi
`
Declare whistle as "Beep" of "kernel32" as long
dim dwFreq As Long
dim dWDuration As Long
end declare

whistle.dwFreq=440
whistle.dwDuration=1000
whistle

`end of my program

thanks PaPi

Marco
Site Admin
Posts: 246
Joined: Sat Sep 15, 2018 8:41 pm

Why bad my API-CALL ?

Post: # 377Post Marco
Fri Dec 26, 2008 4:13 pm

hi, i think it must look like this

Declare whistle as "Beep" of "kernel32"
dwFreq As Long
dWDuration As Long
result as long
end declare

best regards

Post Reply