Hi!
I'd like for someone to please explain something about p/invoking that i havent managed to find out else where.
I believe that following two snippets both are p/invokes?
The only difference I know of is that the latter one does not work in my code, and throws an entrypointnotfound exception.
I find it easier to read the latter and would prefer using them, but apparently the declarations differ in more than just looks
- - - - - - - - - - - - - - - - - -
Im three apples high, Im blue, and i most certainly like that cold beer that should be every mans right after a hard days work!
I'd like for someone to please explain something about p/invoking that i havent managed to find out else where.
I believe that following two snippets both are p/invokes?
Code:
<DllImport("rapi.dll", CharSet:=CharSet.Unicode)> _
Private Shared Function CeRapiUninit() As Integer
End Function
Code:
Private Declare Unicode Function CeRapiUnInit Lib "rapi.dll" () As Integer
The only difference I know of is that the latter one does not work in my code, and throws an entrypointnotfound exception.
I find it easier to read the latter and would prefer using them, but apparently the declarations differ in more than just looks
- - - - - - - - - - - - - - - - - -
Im three apples high, Im blue, and i most certainly like that cold beer that should be every mans right after a hard days work!