Quantcast
Channel: PowerShell
Viewing all articles
Browse latest Browse all 20

Platform Invoke of TakeCmd.dll

$
0
0
I have the following function defined in my PowerShell profile;
Code:
function tcc
{
  & "c:\program files\jpsoft\tcmd25\tcc.exe" /I /Q /C $args

}

This allows me to call Take Command internal functions and commands from PowerShell.

Loading tcc.exe this way is fast, but I was looking for a way to make it faster.

The method I am testing now is using Platform Invoke to call the internal functions and commands from the unmanaged TakeCmd.dll file.

I am using the TakeCmd.h file from the...

Read more

Viewing all articles
Browse latest Browse all 20

Trending Articles