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

Search:

Type: Posts; User: Superfreak3

Search: Search took 0.01 seconds.

  1. Re: Problems Determining Patch Application State...

    Our update widget is currently an old C++ app. I just want to get it to work first in VB.NET, but I think we'll port it to C++ eventually.

    I'm not going to worry too much about updating all the...
  2. Problems Determining Patch Application State...

    I hope someone can help me here. There aren't many good code examples out there dealing with Windows Installer patches (.msp). We have an update widget that will install or apply a patch simply if...
  3. Replies
    6
    Views
    632

    Re: Finding a Memory Leak In Code...???

    Cool! Thanks for information!!
  4. Replies
    6
    Views
    632

    Re: Finding a Memory Leak In Code...???

    If there is an even better way to do it, please let me know. It's only a little widget run from an installer so I don't know how robust it has to/should be.

    THANKS!!
  5. Replies
    6
    Views
    632

    Re: Finding a Memory Leak In Code...???

    The CheckMSIExec code was the problem. I changed that to a boolean function that returns True (still running) or false (OK to start other msi process).

    I call this from a Do Until loop that...
  6. Replies
    6
    Views
    632

    Finding a Memory Leak In Code...???

    Hi all,

    I have an install widget the basically checks the ProductCode of an .msi, checks the registry to see if the product is installed, if not, it monitors msiexec processes and will fire the...
  7. Replies
    0
    Views
    409

    Get a Process Name Using a Port...

    Hi all,

    I'm wondering how I can get the name of a process on a port. During our install I am calling the following code to see if a user entered port is open. If not, I want to get information on...
  8. Re: Standard c/c++ dll to retrieve shortcut/.lnk target...

    Thanks for the info, but its all foreign to me at this point.

    I guess I need the code for the whole shortcut target grab. I don't know how to export the function that grabs the path and all of...
  9. Standard c/c++ dll to retrieve shortcut/.lnk target...

    Hello all,

    I am in need of a dll that, if passed the shortcut/.lnk name and the Start Menu -> Programs path if needed, will return the target attribute of that shortcut.

    I am going to be...
  10. Replies
    14
    Views
    863

    Re: Combine Two Buffers - How To?

    Yeah...

    I think I had to change the condition to (NumOfBytes > 0 || NumOfBytes2 > 0). Seems to be right in my testing so far. My fingers are crossed, however.

    I guess I could could also go...
  11. Replies
    14
    Views
    863

    Re: Combine Two Buffers - How To?

    Here is what I did and it appears to work...


    DWORD NumOfBytes = 0;
    //Added new and increased Buf size...
    DWORD NumOfBytes2 = 0;
    char Buf[2048];
    char *pNextSetting = NULL;
    CString str;...
  12. Replies
    14
    Views
    863

    Re: Combine Two Buffers - How To?

    Well if I do that, how would my code look. I don't really know what to do with pNextSetting based on the following snippet from the original code...


    pNextSetting = Buf;

    str = pNextSetting;
  13. Replies
    14
    Views
    863

    Re: Combine Two Buffers - How To?

    ooops...

    meant...


    NumOfBytes = GetPrivateProfileSection("OurApp Update PlugIns", Buf2, 1024, m_OldIniPath);
  14. Replies
    14
    Views
    863

    Re: Combine Two Buffers - How To?

    If I use the Buf2 approach, do I need


    DWORD NumOfBytes2 = 0;

    ... or can I just reuse NumOfBytes like


    NumOfBytes2 = GetPrivateProfileSection("OurApp Update PlugIns", Buf2, 1024,...
  15. Replies
    14
    Views
    863

    Combine Two Buffers - How To?

    Hi all,

    I'm really not at all experienced with C++, but I have some changes to make in code that used to be maintained by someone else. The code that exists may not be the best, but I'm not...
Results 1 to 15 of 15


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center