2) DotNet_Start( 'v2.0.50727' ).au3 454 B

1234567891011121314
  1. #include "..\..\Includes\DotNet.au3"
  2. Opt( "MustDeclareVars", 1 )
  3. Example()
  4. Func Example()
  5. ; Start version "v2.0.50727" of .NET Framework
  6. ; DotNet_Start() is automatically called by the other functions in DotNet.au3
  7. ; You only have to call DotNet_Start() if you need an older version of .NET Framework
  8. DotNet_Start( "v2.0.50727" )
  9. If @error Then Return ConsoleWrite( "DotNet_Start ERR" & @CRLF )
  10. ConsoleWrite( "DotNet_Start OK" & @CRLF )
  11. EndFunc