23 Apr
2010
23 Apr
'10
4:42 p.m.
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