1) DotNet_LoadAssembly (default domain).au3 415 B

123456789101112131415
  1. #include "..\..\Includes\DotNetUtils.au3"
  2. Opt( "MustDeclareVars", 1 )
  3. Example()
  4. Func Example()
  5. ; Loads a .NET assembly DLL-file into the default domain
  6. Local $oXPTable = DotNet_LoadAssembly( "XPTable.dll" )
  7. If @error Then Return ConsoleWrite( "DotNet_LoadAssembly ERR" & @CRLF )
  8. ConsoleWrite( "DotNet_LoadAssembly OK" & @CRLF )
  9. DotNet_ListDomainsEx()
  10. DotNet_ListAssembliesEx()
  11. #forceref $oXPTable
  12. EndFunc