CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: RNEELY

Page 1 of 7 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    3
    Views
    1,612

    Awesome. Thanks. That is just what I needed! ...

    Awesome. Thanks. That is just what I needed! And it works!
  2. Replies
    20
    Views
    7,400

    try void DeleteFiles(const TCHAR*...

    try


    void DeleteFiles(const TCHAR* tszFullPathFileNamePattern)
    {
    HANDLE hFile = NULL; // Handle to file
    WIN32_FIND_DATA FileInformation; // File information...
  3. Replies
    3
    Views
    1,612

    who has file in use

    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.
  4. Replies
    20
    Views
    12,545

    Was your first program an MFC Exe or DLL? How...

    Was your first program an MFC Exe or DLL? How did it include Direct Show?
  5. Replies
    2
    Views
    690

    Strings in COM interfaces are typically BSTRs...

    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...
  6. Replies
    20
    Views
    12,545

    je16noutch, Why create a new DirectShow Filter...

    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...
  7. Great. I am glad that worked for you. Just...

    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...
  8. Replies
    4
    Views
    978

    Poll: What version of Visual Studio are you using?

    What version of Visual Studio are you using?
  9. Did you try using dcomcnfg to specify the runtime...

    Did you try using dcomcnfg to specify the runtime logon of your server exe?
  10. Replies
    4
    Views
    1,162

    Try Customize Your File Dialog...

    Try Customize Your File Dialog by Dino Esposito in his Cutting Edge column in the March 2003 edition of MSDN Mag.
  11. Replies
    17
    Views
    3,314

    Is there some way to get Windows Installer...

    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.
  12. Replies
    4
    Views
    5,989

    thanks

    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...
  13. Replies
    17
    Views
    3,314

    CoCreateIntanceEx()...

    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.
  14. Replies
    4
    Views
    5,989

    how can single instance app restart itself?

    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...
  15. Replies
    5
    Views
    983

    VictorN, You are correct. Update() will not...

    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();...
  16. Replies
    1
    Views
    765

    Geez. I don't know. But a quick google on C++...

    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
  17. Replies
    4
    Views
    840

    That is too wierd. Twas the extra space that did...

    That is too wierd. Twas the extra space that did it.
    Thank you both for your replies.
  18. Thread: ActiveX query

    by RNEELY
    Replies
    2
    Views
    602

    ATL has several advantages over MFC. The size of...

    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...
  19. Replies
    5
    Views
    983

    I'm not really sure, but I can suggest some...

    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();...
  20. Replies
    4
    Views
    840

    Well, when I replace the call to create process...

    Well, when I replace the call to create process with the following it works, but I don't know why.


    HINSTANCE hInst = ShellExecute(0,
    ...
  21. You can make your COM Object a singleton by using...

    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...
  22. Each seperate process, i.e. each instance of...

    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...
  23. Replies
    2
    Views
    666

    I remember reading a while ago that the ATL...

    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...
  24. Replies
    4
    Views
    840

    Shell Windows Explorer to Specific Folder

    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...
  25. Replies
    3
    Views
    654

    Try it and you will see. It lists all of the...

    Try it and you will see. It lists all of the versions of the exe and dlls for all processes or a specific process.
Results 1 to 25 of 154
Page 1 of 7 1 2 3 4





Click Here to Expand Forum to Full Width

Featured