Some time ago I had written a MFC Dll
Main Aim of the Dll was to List all the Current Active NT machines in the Domain, & then perform a file search in the shared folders of the Domain.
IT had Following Functions :
extern "C" __declspec(dllexport) void SearchFileShare(CStringList& FileList, CString, CString);
/*FileList is an out pararmeter*/
extern "C" __declspec(dllexport) void ServerList(CStringList& clList);
/*clList is an out parameter*/
Now, How can I call these functions in my C# program? Do I need to modify the Dll also???