All,
I have to write some share permission code in a legacy VB6 application. I know I will have to use API calls, and found a good example here. But I'm not clear on how to achieve some of the same functionality from VB6, mostly with memory allocation. For example:
pTrustee = Marshal.AllocHGlobal(Marshal.SizeOf(t))
BuildTrusteeWithSid(pTrustee, pSID)
How would I do the same thing in VB6?