Api call from Com
Posted on 2002-03-28
I want to refer an .ini file through an API. The API is called from the COM object. When the COM calls the API, the API should refer this ini file.
In windows 2000 server environment, when i access this API through the dll, the API refers the ini file only if it available in winnt/system32 directory. It is not referring the ini file eventhough it is present in the directory where the APIs are.
But i need to tell the COM to access the ini file from the directory where the APIs are and not the ini file from the winnt/system32 directory. Please give solution.