Hi All,
I am trying to create a sleep fucntion for an ASP app to use.
When I try to compile this into a .dll I get a compile error
"Invalid outside procedure"
How can I fix this?
TIA
Bastien
Cat, the other other white meat
I am trying to create a sleep fucntion for an ASP app to use.
Code:
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Sleep (5000)
End Sub
When I try to compile this into a .dll I get a compile error
"Invalid outside procedure"
How can I fix this?
TIA
Bastien
Cat, the other other white meat