Search:
Type: Posts; User: RNEELY
Search:
Search took 0.07 seconds.
-
July 23rd, 2004, 03:43 PM
Awesome. Thanks. That is just what I needed! And it works!
-
July 23rd, 2004, 11:01 AM
try
void DeleteFiles(const TCHAR* tszFullPathFileNamePattern)
{
HANDLE hFile = NULL; // Handle to file
WIN32_FIND_DATA FileInformation; // File information...
-
July 23rd, 2004, 10:57 AM
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.
-
April 20th, 2004, 09:22 AM
Was your first program an MFC Exe or DLL? How did it include Direct Show?
-
April 20th, 2004, 09:18 AM
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...
-
April 20th, 2004, 08:55 AM
je16noutch,
Why create a new DirectShow Filter DLL at all? Presumably the pre-existing filters pre-exist in other DLLs.
A straight ATL COM DLL will export DLLGetClassObject() and use the ATL...
-
April 8th, 2004, 01:20 PM
Great. I am glad that worked for you.
Just because you had given each account the same username and password doesn't mean each login is the same.
By specifying the domain, username, and...
-
April 8th, 2004, 08:55 AM
What version of Visual Studio are you using?
-
April 8th, 2004, 08:44 AM
Did you try using dcomcnfg to specify the runtime logon of your server exe?
-
April 8th, 2004, 08:39 AM
Try Customize Your File Dialog by Dino Esposito in his Cutting Edge column in the March 2003 edition of MSDN Mag.
-
April 8th, 2004, 08:29 AM
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.
-
April 7th, 2004, 02:50 PM
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...
-
April 7th, 2004, 11:19 AM
CoCreateIntanceEx() allows you to specify the machine on which to start a COM server app.
Run dcomcnfg.exe on that remote machine to setup user accout under which the app will run.
-
April 7th, 2004, 11:10 AM
Is there any way for a "single instance" app to restart itself via CreateProcess()?
I have an app that uses a Mutex as it must ensure only one instance of itself is allowed to run. It is an MFC...
-
April 1st, 2004, 11:02 AM
VictorN,
You are correct. Update() will not work after Delete().:blush:
So then how to correct MGS76's problem? Perhaps:
pSet2->Open();
pSet2->MoveLast();
pSet2->MoveFirst();...
-
April 1st, 2004, 10:45 AM
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
-
April 1st, 2004, 10:37 AM
That is too wierd. Twas the extra space that did it.
Thank you both for your replies.
-
April 1st, 2004, 10:32 AM
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...
-
April 1st, 2004, 10:20 AM
I'm not really sure, but I can suggest some things to try.
Is your recordset empty before your code executes?
If so perhaps first refreshing the EOF flag will help:
pSet2->Open();...
-
March 31st, 2004, 04:53 PM
Well, when I replace the call to create process with the following it works, but I don't know why.
HINSTANCE hInst = ShellExecute(0,
...
-
March 31st, 2004, 04:31 PM
You can make your COM Object a singleton by using DECLARE_CLASSFACTORY_SINGLETON
within your EXE server.
However, this will only create a singleton per Winstation, so you were on the right track...
-
March 31st, 2004, 04:08 PM
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...
-
March 31st, 2004, 03:58 PM
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...
-
March 31st, 2004, 03:25 PM
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.
// Locals...
-
March 9th, 2004, 09:51 AM
Try it and you will see. It lists all of the versions of the exe and dlls for all processes or a specific process.
|
Click Here to Expand Forum to Full Width
|