E
El-Virus
Guest
Hi, I'm creating a program and I use a dll file for the functions, the thing is that first they weren't working so I started declarating them, and they started to work and I liked the idea of declaratin functions to make they work, now if I don't declarate a function, they work too and I don't like it, Is there a way to force a fuc¡nction to be declarated before they work?
example dll function:
Public Shared Function libpause(number As String) As String
'process steps'
return(result)
End Function
Declare statement:
Declare Function libpause Lib "Library.dll" (number As String) As String
I call it as:
libpause(number)
When I ctrl+click libpause name i go to some kind of metadata file, it says:
Namespace Library
Public Class LibraryClass
Public Sub New()
Public Shared Function libpause(number As String)
'more functions'
End Class
End Namespace
Can some one help me?
Continue reading...
example dll function:
Public Shared Function libpause(number As String) As String
'process steps'
return(result)
End Function
Declare statement:
Declare Function libpause Lib "Library.dll" (number As String) As String
I call it as:
libpause(number)
When I ctrl+click libpause name i go to some kind of metadata file, it says:
Namespace Library
Public Class LibraryClass
Public Sub New()
Public Shared Function libpause(number As String)
'more functions'
End Class
End Namespace
Can some one help me?
Continue reading...