> We are trying to find a workaround for this. Right now, we have been able
> to make NetUserDel() works but we couldn't with NetUserAdd(). Is the best
> approach to build a C program, for that specific function, that we can call
> from Visual FoxPro?
Yes, you need a C (or something) library in this case. There's no way
around the pointer problem.
Even if you manage to format a pointer properly, VFP moves memory
around, so it would point to invalid information anyway. And FoxPro
stores memvars differently than C, so you would have a virtually
impossible task of putting together something that Windows could
recognize.