How can one programmtically determine what process or user is using a particular file? I want my program to replace and/or delete some files that are in use when they should not be in use.
Strings in COM interfaces are typically BSTRs which are WCHAR based. LPCTSTR are sometimes char based. LPCTSTR changes based on whether you are doing a unicode build or not. Therefore you cannot...
Is there some way to get Windows Installer to install a program on a remote computer? If so, perhaps that mechanism could be used to install then start a program on a remote computer.
Thank you all for your responses. The trick was to wait until after the mutex was released before starting the next instance of the app. Yes, kirants, this is a workaround. I don't have the source...
Geez. I don't know. But a quick google on C++ and WSDL reveals a tutorial for using WASPC to create C++ classes from WSDL. Not sure if you have to buy WASPC to try. WASPC GCTutorial
ATL has several advantages over MFC. The size of the target code for ATL controls is smaller. ATL uses multiple inheritance and upcasting to implement interfaces, whereas MFC uses handle/body...
Each seperate process, i.e. each instance of iexplore.exe, should load the code and data segments of your ActiveX control and dlls once. You will allocate more memory when you create more instances...
I remember reading a while ago that the ATL wizard doesn't create a fully operational control by default. There are some extra things you have to do which are outlined in Chapter 10 of ATL Internals...
Please help. I am trying to open Windows Explorer to specifically browse the Tasks folder from my program. Unfortunately Windows Explorer keeps opening to the "My Documents" folder.