Boost logo

Boost Users :

Subject: Re: [Boost-users] [Random] Good Truly-Random Seed
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-04-23 12:42:23


AMDG

Hossein Haeri wrote:
> Done that and got the following link error:
>
> obj\Release\main.o:main.cpp:(.text+0x11fc): undefined reference to `CryptEnumProvidersA(unsigned long, unsigned long*, unsigned long, unsigned long*, char*, unsigned long*)@24'
> obj\Release\main.o:main.cpp:(.text+0x169c): undefined reference to `CryptEnumProvidersA(unsigned long, unsigned long*, unsigned long, unsigned long*, char*, unsigned long*)@24'
>
> Any suggestions now?
>

I didn't get the declaration quite right.
It needs to be wrapped in extern "C" {}.

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net