Problem in accesing functions in a dll
Hi All,
I have a strange problem...
I have VS2005 on WinXP and am making a Windows Project.When I ran the project I got an error
"Unable to find an entry point name "foo" in dll "foo.dll".
However the dll is present in Windows\System32 directory and the Path also references the directory
So I added a reference to the dll in the System32 folder but it showed an error that "A reference to ....dll cannot be added.Please make sure that the file is accessible, and that it is a valid assembly or COM component".
Next I ran "tlbimp foo.dll" from VS2005 command prompt.I got an error "The input file 'foo.dll' is not a valid type library.So I ran "regsvr32 foo.dll" and I got an error "foo.dll was loaded, but the DLLRegisterServer entry point was not found.This file cannot be registered".All I want is to make use of the functions in foo.dll.Any ideas will be appreciated.

