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

Search:

Type: Posts; User: John E

Page 1 of 80 1 2 3 4

Search: Search took 0.45 seconds.

  1. Re: [RESOLVED] Namespace problem with older version of MSVC

    That also worked 2kaud - many thanks !
  2. Re: Namespace problem with older version of MSVC

    Apologies - I just realised this was solved back in 2013
  3. [RESOLVED] Namespace problem with older version of MSVC

    I have a project here which still needs to build with VS2008 and I've discovered a problem with std::min() and std::max()


    #include <algorithm>

    int n = std::min(2, 1);

    The compiler gives...
  4. Replies
    6
    Views
    739

    Re: A nice surprise (re: name-mangling)

    That reminds me... whatever happened to manifest files? In some earlier versions of VC++ it was necessary to include something called a manifest file at the link stage. IIRC this later told the OS...
  5. Replies
    6
    Views
    739

    Re: A nice surprise (re: name-mangling)

    It's great to hear that MS have fixed this but I must admit, I'm confused... If I'm reading the article correctly it implies that VS2015, 2017 and 2019 will now be compatible with each other - but in...
  6. Replies
    6
    Views
    739

    A nice surprise (re: name-mangling)

    I might be wrong about this - but in earlier versions of Visual C++ I've a recollection that it wasn't possible to "mix + match" between different compiler versions. So if you compiled something with...
  7. Replies
    8
    Views
    695

    Re: RtlCaptureStackBackTrace

    That was it 2kaud, thanks (I still had it set to 0x500)

    On a separate issue... I often see this code in programs written for gcc:-


    #include <limits>

    int x = std::min(something,...
  8. Replies
    8
    Views
    695

    Re: RtlCaptureStackBackTrace

    Thanks Victor but that one's already installed... :confused:

    [Edit...] Here's how it looks in winnt.h :-


    // begin_ntifs

    #pragma region Application or OneCore Family
    #if...
  9. Replies
    8
    Views
    695

    Re: RtlCaptureStackBackTrace

    Hi guys - the only ones which say SDK in their name are:-

    Windows 10 SDK (10.0.18362.0)
    Windows Universal CRT SDK
    .NET Framework 4.6.1 SDK
    .NET Framework 4.8 SDK
    .NET Core 3.0 SDK
  10. Replies
    8
    Views
    695

    RtlCaptureStackBackTrace

    Does anyone know what I need to #include in order to get RtlCaptureStackBackTrace in VS2019?

    The MSDN page suggests that it's in winnt.h but that I should either include FltKernel.h or Ntifs.h -...
  11. Replies
    1
    Views
    360

    Re: Precompiled header files in VS2019

    It turned out that these are somehow connected to Intellisense but they can be switched off if you're prepared to dig deep enough:-

    Tools->Options->Text...
  12. Replies
    1
    Views
    360

    Precompiled header files in VS2019

    If I select my project's properties in VS2019 and I click Configuration Properties->C/C++->Precompiled Headers I can see that it's set to Not Using Precompiled Headers. And yet If I try to compile a...
  13. Replies
    1
    Views
    375

    Building for older libraries

    VS2019 can build projects originally intended for earlier versions - so for example I could build a DLL which needed to link to VS2015 libraries - BUT...

    Does it literally build with VS2015 or...
  14. Replies
    4
    Views
    566

    Re: [RESOLVED] std::map with VS 2015

    I'd never really liked VS2015 so I bit the bullet and replaced it with VS2019. Over on a different machine, the top-right window (when I load a VS2019 project) allows me to select between 3 x tabs:-...
  15. Replies
    4
    Views
    566

    Re: std::map with VS 2015

    Looks like an installation issue. I hadn't used VS2015 for a while so when I launched it, it went through a marathon task of upgrading itself. But I managed to restore an earlier version from a...
  16. Replies
    4
    Views
    566

    [RESOLVED] std::map with VS 2015

    This morning I needed to open an old project in VS2015 but I couldn't seem to make anything work. So I created an empty project with just 1 x source file and added just 1 x line:-


    #include <map>...
  17. Replies
    6
    Views
    634

    Re: Strange crash with strftime()

    That's great 2kaud. I figured it'd be an internal struct but I hadn't realised there'd be different structs for each thread (that gives me a bit more confidence !!)

    And according to your list it...
  18. Replies
    6
    Views
    634

    Re: Strange crash with strftime()

    Thanks guys - using the value returned by localtime() directly doesn't help. At first I wasn't sure how 'valid' the pointer was which is why I decided to copy the data with memcpy() (e.g. can the...
  19. Replies
    6
    Views
    634

    Strange crash with strftime()

    Can anyone see what I'm doing wrong here..?



    #include <time.h>

    struct tm local_time;
    char timebuf[128];

    time_t n = time (NULL);
  20. Thread: Re-vamped MSDN

    by John E
    Replies
    13
    Views
    1,066

    Re: Re-vamped MSDN

    Yeah, I agree... For as far back as I can remember MSDN was always my "goto site" for stuff like this - but the new version is a huge step backwards IMHO :(
  21. Thread: Re-vamped MSDN

    by John E
    Replies
    13
    Views
    1,066

    Re-vamped MSDN

    I'm trying to find the MSDN description pages for upper_bound() and lower_bound() but MSDN seems to have changed again :cry: Does anyone have a link I could follow?
  22. Replies
    4
    Views
    1,497

    Re: Backup & Recovery software

    Hmmm... I just tried that on Windows 10 but it'd only allow me to create backups from an NTFS formatted drive and it only lets me save them onto an NTFS drive (FAT32 volumes don't seem to be...
  23. Replies
    4
    Views
    1,497

    Backup & Recovery software

    Which software are people recommending these days for backup & recovery? For years I used Paragon's Drive Backup but when I bought a new PC, I wasn't sure if it'd cope any more with my GPT...
  24. Replies
    43
    Views
    23,335

    Sticky: Re: Input wanted: 3rd Party Products

    Gosh, that really is a disappointment... over the Christmas period I've been creating a bootable USB stick so I can boot my PC into Linux. My intention was to install VS on it and see how the Linux...
  25. Replies
    43
    Views
    23,335

    Sticky: Re: Input wanted: 3rd Party Products

    Oops - this conversation ended up getting split between various different threads (so it's been hard to keep track of who said what...)



    Yes I hope so... back in it's heyday, MSVC was easily...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)