Can Someone Help me!!!???
hi people.. i hope that some1 can helo me out..
i have been trying to used the "PathFileExists" function but i have no luck..
you see.. this is my code..
I HAVE THIS HEADERS
#include <iostream.h>
#include<windows.h>
#include <stdlib.h>
#include "Shlwapi.h"
and this is my function:
void EnStock()
{
int Result;
char String [] = "My Path To The TXT File";
Result = PathFileExists(String);
{
if (Result = true)
cout<<"Does exist";
if (Result = false)
cout<<"Does not exist";
}
}
Now... when i compile this function.. It does not gave me any errors... BUT WHEN I try to build it.. it gaves me TWO Errors..
This are the ERRORS:
Linking...
Uvas.obj : error LNK2001: unresolved external symbol __imp__PathFileExistsA@4
Debug/Uvas.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Uvas.exe - 2 error(s), 0 warning(s)
Can some1 help me out!!! i'm stuck in this and i need to finish this project before the end of this month!!!
Thanks