[Mono-dev] Help Finding this Function?
Rafael Teixeira
monoman at gmail.com
Fri Jun 27 14:17:02 UTC 2014
You are looking at the wrong rand.c. They are switched on compilation
depending on the target platform.
Hope it helps,
Rafael Teixeira
O..:.)oooo
On Fri, Jun 27, 2014 at 10:34 AM, Edward Ned Harvey (mono) <
edward.harvey.mono at clevertrove.com> wrote:
> > From: Miguel de Icaza [mailto:miguel at xamarin.com]
> >
> > rand.c has several implementations, the CryptAcquireContext is part of
> the
> > Win32 support, and is a Win32 API call.
> >
> > There is also a Native client implementation and a Unix one.
>
> Thanks - But - What am I missing? I don't have any "wincrypt.h" file
> anywhere in my mono source tree. So I guess wincrypt.h exists in windows
> and not unix/linux... I guess if you build on windows, it probably calls
> the Win32 API directly, and otherwise, some other functionally equivalent
> implementation takes its place...
>
> I'm confused about the meaning of a "native" implementation versus a
> "unix" one. If I build on mac or linux, does that imply it uses the unix
> one? Are you saying non-windows platforms (mac/linux) implement this call
> in a native library that's included in the OS?
>
> Sorry, I'm just still confused about how that gets hooked in, where it
> comes from....
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20140627/cfdb44ab/attachment.html>
More information about the Mono-devel-list
mailing list