I get the following error :
The type or namespace name 'DllImport' could not be found (are you missing a using directive or an assembly reference?)
I'm using the same to get SendMessage API , but I got no errors . How the heck can I solve this ?Code:[DllImport("IMAGEHLP.DLL")]
public static extern int SearchTreeForFile(string lpRootPathtring,
string lpInputName , string lpOutputName ) ;
