[color=darkred]This is wmaw again..
I really need to know why pDevmode->InterfaceName is a empty string when application is run in c++.Net. and not with C++ 6.0???
I opened the example, c++ sample, MessageCapture, with .net. Ofcourse, I said yes to all to update the application from C++ 6.0 to C++.Net.
Then the sample is not capturing any messages from printer driver and I found out that pDevmode->InterfaceName is a empty string in .Net but not in Visual Studio 6.0.
Can anyone please tell me the reason?