error LNK2019: unresolved external symbol __imp__RegEnumValueA@32
I was receiving these errors for a week and could not figure it out. I have only ever compiled on Linux, so this windows compiling is new to me.
I searched the forums here and found a few hints but nothing that poped out at me. I did alot of google searches and found some useful information but not how to apply it. So I figured I would write this up real quick in the hopes that it may help someone.
The problem which I found a few times was in the linker.
Files advapi32.lib and shell32.lib need to be added to the linker
To do this in VS C++ 2005(the free version)
Click on Project up at the top of the screen and then Zone Properties or World Properties or whatever it says for your current project.
Click on the "+" next to Linker to open up that section.
Click on "Input"
On the right window click on Additional Dependencies
You should see multiple lib files, click that box and go to the end of that line, put a space after the last lib file and then type in advapi32.lib.
Hit space again and type in shell32.lib
Click apply at the bottom and then click ok.
Recompile the code.
This worked for me I hope it does for you too.
Also make sure you have installed the Microsoft Platform SDK to get all the files you need.
Cooterr
|