i have to add path + dll name in loadlibrary()
[code]
LPCSTR path = "CommonFilesPath" ;
HINSTANCE hLib = LoadLibrary(path + "sample.dll") ;
[\code]

where CommonFilesPath = C:\PROGRAM FILES\folder
AND THIS CONTAINS DLL (sample.dll).

when i run with above code it gives me following error:
error C2110: '+' : cannot add two pointers

how do i solve this.

i am not suppose to give the path there because it is dynamic.
plz help.