I have a main application in VC++ and have a dll called AdminXA.dll (which is not part of the main project but .sln is available)
The main application calls functions from this AdminXA.dll . How can I debug the functions available in AdminXA.dll from the main app?
Note : AdminXA.dll is COM based and i can see AdminXA.tlh , .tli in Main Application's debug folder . And am able to debug till .tli file
This code works perfect without exceptions when calling it from the main appthread, but when called on a working thread (AfxBeginThread) httpOpenRequest gives a valid handle and the function works but a bunch of exception occures during the call and afterwards GetLastError returns ERROR_INSUFFICIENT_BUFFER.
I know I shouldn't be worried if I get a valid handle but anyway....
// SEND REQUEST
CHECK_BOOL(::HttpSendRequest( hHTTPRequest, // handle by returned HttpOpenRequest
NULL, // additional HTTP header
0, // additional HTTP header length
NULL, // additional data in HTTP Post or HTTP Put 0)); // additional data length