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

Search:

Type: Posts; User: Axter

Page 1 of 40 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    52
    Views
    30,896

    Re: CString -vs- std:string ?

    I had tested it in several different systems, and they all gave similar results.

    However, this thread is out dated, and more than likely does not hold true for the current std::string...
  2. Re: Is there any way to open a file in Windows using ONLY the FRN?

    Great.

    Thanks, that should work.
  3. Is there any way to open a file in Windows using ONLY the FRN?

    Is there any way to open a file in Windows using ONLY the FRN (File Reference Number)?

    This is for a file system that does NOT support change journal, but it does support FRN. I need to be able...
  4. Replies
    6
    Views
    603

    Poll: Re: Do you use Boost library? (New 2007 Survey)

    Was there a unique UNIX requirement, that they only needed it for?
  5. Replies
    6
    Views
    603

    Poll: Do you use Boost library? (New 2007 Survey)

    Hi,

    I'm trying to determine how common it is to see boost in a development environment, and if most C++ developers are aware of the boost library.

    Boost is a free portable library, that...
  6. Replies
    10
    Views
    2,581

    Re: How to use the openFileDialog?

    Example code:



    int BrowseForFile(HWND hParent, LPTSTR szDir, LPTSTR szFile, UINT nIDTitle, UINT nIDFilters)
    {
    //TestLongFileBrowse();
    OPENFILENAME ofn;
    LPTSTR szPlainName = NULL;
    ...
  7. How to create a browse file dialog which can select files longer then MAX_PATH

    I need a browse dialog that can select files that have file paths longer then _MAX_PATH(260).

    I've tried using GetOpenFileName, but I get a "File name is invalid" error when I select a file with...
  8. Re: Remote Execute (RPC) failing Win32_Process with E_ACCESSDENIED

    I'm using VC++ 8.0 (2005)
    The project is compiled as a regular console application.
  9. Re: Remote Execute (RPC) failing Win32_Process with E_ACCESSDENIED

    [/url]
    Yes.
    Now I know the true source of this code. I got it from another web site, but I guess they got it from here.

    Did you try putting http in front of it?...
  10. Re: Remote Execute (RPC) failing Win32_Process with E_ACCESSDENIED

    I forgot to include this in the body of the question, but if you look at the question title, you'll notice I stated that it's returning E_ACCESSDENIED
  11. Remote Execute (RPC) failing Win32_Process with E_ACCESSDENIED

    I'm trying to execute a command on a remote machine using WMI, and it's failing in the following line of code:
    hRes = pService->GetObject(_bstr_t(L"Win32_Process"), NULL, NULL, &pProcess,...
  12. Re: What type of applications are you working on in the real world?

    95% of all my coding is in C++ or C.

    I do service and driver development, and all the driver code is in C, while the service applications are all in C++.

    In my company, Java is only used with...
  13. Replies
    9
    Views
    1,457

    Re: Smart pointer vs Auto pointer

    As previously stated, most compilers will not even let you compile a vector of auto_ptr.
    Even compilers that do allow you to compile it, will usually fail to compile as soon as you add code that...
  14. Re: How to monitor mount points via GUID_IO_VOLUME_MOUNT

    This code is called before any threads are called.
  15. How to monitor mount points via GUID_IO_VOLUME_MOUNT

    Does anyone know how to get notification when a mount point is created?
    I've tried the following code, but I get error 1066 from the RegisterDeviceNotification API.


    BOOL...
  16. Re: Wrapper class to do minimize to tray and small minus minimize button

    Check out the following link:
    http://axter.com/KazaaLiteRev.jpg
  17. Re: Wrapper class to do minimize to tray and small minus minimize button

    I found the following link:
    http://www.codeproject.com/buttonctrl/CCaptionButton.asp

    It seems to have the code I need to do this, but I would still prefer some code that has both minimize tray...
  18. Replies
    16
    Views
    1,329

    Re: Problem in vector.

    That's a good idea, but maybe an article would be better.

    I've been considering writing an article on this, but haven't had the time to put one together.
  19. Re: Wrapper class to do minimize to tray and small minus minimize button

    I looked at that before I posted this question, and it doesn't have the key item I'm looking for, which is the small minimize button logic.
  20. Re: Wrapper class to do minimize to tray and small minus minimize button

    I prefer MFC, but I can use non-MFC, and adapt the code.

    Do you have Kazaa or Kazaa Lite.
    Regular Kazaa does not have the small minimize button.
    Kazaa lite has a small minimize button that looks...
  21. Wrapper class to do minimize to tray and small minus minimize button

    I'm looking for a wrapper class that can do minimize to tray and add the small minus minimize button on the top left corner of an application.

    Iíve seen code for adding logic to minimize to tray,...
  22. Replies
    16
    Views
    1,329

    Re: Problem in vector.

    The smart pointer link I post also has links to other smart pointers, and information about smart pointers in general.
    So I see it as a good starting point for anyone who wants to use smart...
  23. Replies
    16
    Views
    1,329

    Re: Problem in vector.

    I recommend you not store a raw pointer in a vector.
    Is there a particular reason why you think this needs to be a pointer instead of a concrete object.

    If you really do need a pointer, then I...
  24. Replies
    64
    Views
    8,315

    Re: CArray vs. std::vector

    In general, the STL is far better then MFC counter part.

    However, CString not only provides better functions, but it's also more efficient then the std::string that comes with VC++ 6.0.
    If...
  25. Replies
    23
    Views
    6,335

    Re: Managing pointers with STL map

    I recommend using a good smart pointer, that will automatically delete the pointer in your map container.
    The smart_ptr class can do this for you, and there's an example usage for map in the...
Results 1 to 25 of 976
Page 1 of 40 1 2 3 4


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