why there isn't freelibrary api in NETCF library?

  • Thread starter Thread starter fairycat
  • Start date Start date
F

fairycat

I need to load and unload evc dll from my .netCF application. So i've
found loadlibrary api but i haven't found freelibrary in NETCF library.
Does this mean there is any problem with freelibrary?? I heard there is
a memory issue with loading/unloading evc dll. Any good link or clue
will be appreciated. Thank u.

http://fairycat.net
 
In fact there is no LoadLibrary in CF either. You must be using a P/Invoke
definition, something like

<DllImport("coredll")> _
Shared Public Function LoadLibrary(ByVal LibName as String) as IntPtr
End Function

By the same token you can use
<DllImport("coredll")> _
Shared Public Sub FreeLibrary(ByVal hLib as IntPtr)
End Sub
 
Back
Top