#Library not found
6 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
make sure you're linking against advapi32.lib
the header gives you the function prototypes, which makes the compiler happy about you using them in your code
what's complaining right now though is the linker, because it can't find the definition of those functions you're using
with gcc you need to add -ladvapi32 or something but you might also need to provide it along with a library directory, where this lib file is located on your system