How can I make sure the dll exists before making this function available? I was hoping that within DLLImport there would be a option to skip on errors (like OnError:=Skip), but it appears there is not.Code:<DllImport("mydll.dll", _ CharSet:=CharSet.Unicode)> _ Private Shared Function BohlasFunk(ByVal LetterFunk As String) As Object End Function
I can easily skip this function, but if it is available I would use it.
So how do I go about checking for this dlls existence - allowing this functions creation if it does?
Thanka you!




Reply With Quote