dcsimg
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.91 seconds.

  1. Replies
    4
    Views
    416

    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...
  2. Replies
    4
    Views
    416

    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...
  3. Replies
    43
    Views
    15,310

    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...
  4. Replies
    43
    Views
    15,310

    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...
  5. Replies
    43
    Views
    15,310

    Sticky: Re: Input wanted: 3rd Party Products

    It looks like Apple's XCode IDE is also offering Clang for MacOS development - so hopefully Microsoft will jump on the bandwagon too and give us a truly cross-platform development environment for C++.
  6. Replies
    43
    Views
    15,310

    Sticky: Re: Input wanted: 3rd Party Products

    Incidentally... I discovered recently that msbuild projects can now be configured to use a compiler called Clang, as an alternative to Visual C++. Clang allows compiling for both Windows & Linux,...
  7. Replies
    1
    Views
    537

    Predefined compiler macros

    VC++ offers some pre-defined macros which can be used within your VS project - for example there's $(Platform) and $(ProjectName) and $(TargetExt)

    $(TargetExt) will either be .lib or .dll or .exe...
  8. VS2015 keeps re-running pre/post build steps (unnecessarily)

    I have a copy of VS2008 on an old PC - and a copy of VS2019 on my latest PC - and a copy of VS2015 on an intermediate PC...

    For VS2008 AND VS2019 if I rebuild a project, then select Build...
  9. Re: Groan... VS2019 has lost my platform toolsets

    Yes - if you look at my screenshot (left hand side) you'll see that there are no options showing for compile or link, or pre/post build steps etc - and it was the same, even for Clang. Everything had...
  10. Re: Groan... VS2019 has lost my platform toolsets

    Thanks 2kaud. For some strange reason, the VS2015 toolset had gotten uninstalled. I ticked it and re-installed and everything seems to have come back now.

    FWIW I've built both a simple Windows app...
  11. Groan... VS2019 has lost my platform toolsets

    A few months ago I updated from VS2015 to VS2019 and it installed 2 x VC toolsets for me (one for VS2015 and one for VS2019).

    Then (yesterday) I realised that Visual Studio can use the Clang C++...
  12. Replies
    44
    Views
    3,099

    Re: How to learn c#

    Thanks again Arjay.

    Since my post from yesterday I've discovered that msbuild projects (which I assume means .vcxproj files in this case) can now be configured to use Clang directly. Previously, I...
  13. Replies
    44
    Views
    3,099

    Re: How to learn c#

    No, it's because the projects I'm involved with happen to be written in C++ (and they rely on 3rd party libraries which are also C++). And it just wouldn't be practical now to convert everything to...
  14. Replies
    44
    Views
    3,099

    Re: How to learn c#

    Interestingly, I just came across a Microsoft article which suggests that VS2019 can also be configured to use the Clang compiler, rather than VC++. I'm not sure how well it'd handle debugging (and...
  15. Replies
    44
    Views
    3,099

    Re: How to learn c#

    Time to ditch Visual C++ and make a switch maybe? I remember Turbo Debugger from the old days but I can't remember how it stacked up against MSVC's debugger back then. But this looks promising from...
  16. Replies
    44
    Views
    3,099

    Re: How to learn c#

    Groan... so here's what I've learned so far...

    1) Microsoft's one & only attempt at cross-platform development is .NET Core
    2) But it doesn't support GUI apps unless they're browser based
    3) And...
  17. Replies
    44
    Views
    3,099

    Re: How to learn c#

    Thanks guys - so if my app's not browser based, is my only other option to have a text mode / console app?

    I realised quite early on that .NET Core doesn't support Windows Forms - but I assumed...
  18. Replies
    6
    Views
    1,650

    Re: Beginner's String questions

    Well here's what I needed to do to convert int to String^


    int n = 56;
    String^ s = n.ToString();
  19. Replies
    6
    Views
    1,650

    Re: Beginner's String questions

    Thanks 2kaud - it looks like (in C++/CLI) the int type is actually an object type, rather than the simple type we know from regular C :thumb:
  20. Replies
    44
    Views
    3,099

    Re: How to learn c#

    Something's beginning to dawn on me... VS2019 offers a number of C# sample projects for .NET Core (i.e. they'll run on a non-Windows platform). But unless I've missed something, all the...
  21. Replies
    6
    Views
    1,650

    Beginner's String questions

    In all the C++/CLI examples I've seen, strings seem to get allocated like this:-


    String^ MyString = "Hello World";

    To my (C++ mind) this feels more like char* than an actual String object....
  22. Replies
    0
    Views
    920

    C++/CLI (calling functions in a DLL)

    As a VC++ user I'm trying to get to grips with C++/CLI. I've created a DLL with a single function:-


    // My source file:-
    #include "ClassLibrary1.h"

    namespace ClassLibrary1 {
    int...
  23. Thread: std::map::at()

    by John E
    Replies
    2
    Views
    472

    Re: std::map::at()

    Thanks 2kaud - in this particular case, the code was needed in a const member function so for that reason, operator[] gave me a compile error. I ended up using find():-


    std::map<std::string,...
  24. Thread: std::map::at()

    by John E
    Replies
    2
    Views
    472

    std::map::at()

    Can anyone remember how we used to extract entries from a std::map in the days before .at() got implemented?


    std::map<std::string, int> myMap;

    myMap.insert(myMap::value_type("a", 1));
    ...
  25. Replies
    40
    Views
    7,393

    Re: How to learn c++/cli?

    I must admit I'd be very reluctant to start any new project using Visual C++ - but for legacy projects it'd be nice to have a better cross-platform solution than gcc.
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)