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.25 seconds.

  1. Replies
    7
    Views
    224

    Re: WSL (Windows Subsystem for Linux)

    I've hit a different hurdle... :cry:

    I got everything installed but it won't run. The reason is that although I'm running Win10, I'm running it on Mac hardware (i.e. dual booting). The WSL stuff...
  2. Replies
    7
    Views
    224

    Re: WSL (Windows Subsystem for Linux)

    Wow, that looks promising!

    The only issue I've had is that I'll need to install Linux (and only some distros are supported). But even the supported ones say they won't work "in S mode" - or that...
  3. Replies
    7
    Views
    224

    Re: WSL (Windows Subsystem for Linux)

    Hi wolle - i'm investigating this at the moment but I must admit I'm getting the impression (possibly) that although it'll offer VS compilation for Linux, it's maybe limited to command line / BASH...
  4. Replies
    7
    Views
    224

    WSL (Windows Subsystem for Linux)

    Has anyone here tried WSL? AFAICT it's a way to install Linux so that it can be launched in Windows10 - and the Linux distro of your choice will then run in a virtual machine - BUT - if I'm reading...
  5. Re: [RESOLVED] Namespace problem with older version of MSVC

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

    Apologies - I just realised this was solved back in 2013
  7. [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...
  8. Replies
    6
    Views
    760

    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...
  9. Replies
    6
    Views
    760

    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...
  10. Replies
    6
    Views
    760

    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...
  11. Replies
    8
    Views
    714

    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,...
  12. Replies
    8
    Views
    714

    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...
  13. Replies
    8
    Views
    714

    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
  14. Replies
    8
    Views
    714

    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 -...
  15. Replies
    1
    Views
    371

    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...
  16. Replies
    1
    Views
    371

    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...
  17. Replies
    1
    Views
    384

    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...
  18. Replies
    4
    Views
    584

    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:-...
  19. Replies
    4
    Views
    584

    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...
  20. Replies
    4
    Views
    584

    [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>...
  21. Replies
    6
    Views
    654

    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...
  22. Replies
    6
    Views
    654

    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...
  23. Replies
    6
    Views
    654

    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);
  24. Thread: Re-vamped MSDN

    by John E
    Replies
    13
    Views
    1,087

    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 :(
  25. Thread: Re-vamped MSDN

    by John E
    Replies
    13
    Views
    1,087

    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?
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)