Unresolved external symbol when linking my library
===

I've compiled my own library file(.lib) with VS2010, but when I try to reference it like

    #pragma comment(lib,"path/to/lib.lib")
I keep getting unresolved external symbols...What am I doing wrong?
the #pragma comment(lib, "*.lib") worked for any library so far, and I also tried linking it under settings, no succes.