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

Search:

Type: Posts; User: AnotherMuggle

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Re: Unexpected result when assigning character to std::string or MFC CString

    Yes, typically I do this but forgot for this example. I should have written CStringA for a better example. Thanks for highlighting :)
  2. Re: Unexpected result when assigning character to std::string or MFC CString

    Excellent, thanks so much for responding, I now realise the difference. The following works for the same reason it works when I was assigning to struct members:



    std::string str_one;
    str_one =...
  3. Unexpected result when assigning character to std::string or MFC CString

    Please can someone explain what I'm seeing here? I expected the same result, a compiler error, in both situations. What's different when the variables are part of the struct? Sorry if the answer...
  4. Re: Anyone written an OpenSSL Client Application? I really need PROPER documentation

    Codeplug - Thanks a lot for the prompt and useful response. I am going to take your advise and try this route...likely tomorrow now (the beer and pizza is sinking in I'm starting to feel sleepy...
  5. Anyone written an OpenSSL Client Application? I really need PROPER documentation :S

    Evening All,

    I've been trying to write an OpenSSL client application for a number of weeks and though I'm making progress I am beginning to feel frustrated at the lack or PROPER documentation. I...
  6. Re: Program runs ONLY if debugger is attached

    Thanks for all the kind responses.

    I am fairly confident this is the explanation for my problem: http://siomsystems.com/mixing-visual-studio-versions/

    Paul - am think in this case the rules...
  7. Re: Program runs ONLY if debugger is attached

    Thanks both.

    I've finally managed to get to the bottom of the crash but still no idea why it happens only when no debugger is attached.

    The problem is caused when loading a particular dll,...
  8. Program runs ONLY if debugger is attached

    I have an interesting (and incredibly frustrating) problem where my application runs fine, but ONLY when a debugger is attached to it.

    I can build in both Debug or Release and double clicking the...
  9. Re: Iterating part way through a std::map

    Thanks superbonzo, that helps!
  10. Iterating part way through a std::map

    I have a std::map which I want to be able to iterate part way though, then go off and do "other things" and later resume iteration where I left off.

    There is a chance that items may be added or...
  11. CMFCEditBrowseCtrl flickering button icon

    Hi All,

    I just wondered if anyone knows a way to stop the flickering button icon on a CMFCEditBrowseCtrl?

    I notice the flicker a lot in Windows 7 but not at all in Windows XP. If you want to...
  12. Re: Should precompiled header files also be included in source header files?

    Thanks both for the helpful answers.

    Are static libraries an exception in any way? This issue relates closely to my other thread here:...
  13. Re: Should precompiled header files also be included in source header files?

    Is that, no you shouldn't, or no you don't have to?
  14. Should precompiled header files also be included in source header files?

    When including a header file in stdafx.h, should that file still be included in the source file where it is actually used?

    I've done lots of searching but I can't convince myself either way...
    ...
  15. Replies
    22
    Views
    33,007

    Re: CString class in non-MFC static library

    Hi OReubens, I followed ovidiucucu's advice and it works perfectly, thanks.
  16. Replies
    22
    Views
    33,007

    Re: CString class in non-MFC static library

    This seems to be the reason I'm having trouble and by the looks I am best leaving the static libary using STL, because I want to use it in both MFC and non-MFC applications, without having to change...
  17. Replies
    22
    Views
    33,007

    Re: CString class in non-MFC static library

    Hi Paul,

    That function is the function I have converted from using a tstring (std::string/std::wstring) return type to a CString return type. If I change it back from CString to tstring the...
  18. Replies
    22
    Views
    33,007

    Re: CString class in non-MFC static library

    DOH! Here are the errors:


    Error 1 error LNK2019: unresolved external symbol "class ATL::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > > __cdecl...
  19. Replies
    22
    Views
    33,007

    CString class in non-MFC static library

    Hi All,

    I have a non-MFC static library which I share between a number of different projects, some non-MFC and some MFC. Currently the static library uses a typedef of std::wstring and...
  20. Re: Reliable way to detect whether Internet Explorer is 64 bit

    There is some useful information in there but it's where the 32/64 bit issue starts creating unknowns. Such as, should I be looking at HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia or...
  21. Re: Reliable way to detect whether Internet Explorer is 64 bit

    Thanks for the link. I've been through the information there but unfortunately it doesn't help with what I'm trying to achieve.

    I need to detect the currently active Web Browser, Flash and Java...
  22. Re: Reliable way to detect whether Internet Explorer is 64 bit

    Hi VictorN,

    I need to be able to tell what version of Flash Player and Java are being used by the browser. I need to be able to detect whether the user is using 64 bit Internet Explorer to be...
  23. Reliable way to detect whether Internet Explorer is 64 bit

    On recent versions of Windows, Internet Explorer is a 64 bit process but by default tabs are spawned as 32 bit processes. It is up to the user to change Internet Options to enable full 64 bit mode....
  24. Replies
    0
    Views
    1,118

    Recommended way to clear SaveMDIState?

    I am using SaveMDIState and LoadMDIState to have documents from the last session, load on starting the next session.

    I cannot see any way to clear the previously saved state other than manually...
  25. Re: MFC MDI Tabbed Child Window Positioning

    Awesome, I have it working.

    My problem was I didn't understand what I needed to put in the CMDIFrameWndEx::CreateDocumentWindow override. Looking at the example has helped me to get it working :D
Results 1 to 25 of 73
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured