[go-nuts] Invalid Argument!! Not sure which one.

2022-09-02 Thread Chandan Kumar
I am trying to implement the *runas /netonly* windows application in go lang. Below I have attached the source code. package main import ( "fmt" "os/exec" "github.com/itchio/ox/syscallex" ) func Start(args ...string) (p any, err error) { if args[0], err = exec.LookPath(args[0])

Re: [go-nuts] How to implement LogonUserA function (winbase.h)?

2022-09-02 Thread Chandan Kumar
Thanks. I will try your approach. On Thursday, September 1, 2022 at 5:37:45 PM UTC+5:30 Marvin Renich wrote: > * Chandan Kumar [220901 07:29]: > > Hi, > > > > I am trying to implement a program in which I need the function > *LogonUserA > > function (winbase

[go-nuts] How to implement LogonUserA function (winbase.h)?

2022-09-01 Thread Chandan Kumar
Hi, I am trying to implement a program in which I need the function *LogonUserA function (winbase.h) *from windows API and this function is not available in the package *golang.org/x/sys/windows* so any advice would be helpful. -- You received this message because you are subscribed to the Goo