Would someone please help me with this:

I tried to use a simple API GetCurrentDirectory (after used API viewer to copy it to my module),
and run the program with only a call to that function, it failed with error 453, "Failed to find a DLL entry point in kernel32" .
How to solve this ?
Thanks.