Search Results - CodeGuru Forums
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.14 seconds.

  1. Replies
    3
    Views
    103

    Re: Manifest files and VS2015

    In case it helps. here's what I see if I build a DLL with VS2005 and then look at its manifest section in a text viewer:-



    Note that it's clearly shown as being dependent on the VC8 CRT....
  2. Replies
    3
    Views
    103

    Manifest files and VS2015

    After years of building everything with VS2005 I finally found an opportunity to upgrade to VS2015 Community Edition - and to be fair, everything's gone a lot smoother than I expected :D

    The only...
  3. Replies
    3
    Views
    105

    Re: %(LinkOutputFile)

    Thanks TubularX. That works okay - except when building a DLL. Taking my original example (boost-regex) let's say I enter this as the Target Name for the 64-bit Debug build:-



    When I build, my...
  4. Replies
    3
    Views
    105

    %(LinkOutputFile)

    I like to use target names which give me some information about whether the target is 32-bit or 64-bit and also whether it's a Debug build. So if I was building a Debug build of boost-regex (for...
  5. Thread: vcproj files

    by John E
    Replies
    5
    Views
    159

    Re: vcproj files

    Thanks guys. I managed to install VS2015 Community Edition and it looks like it successfully converted an old project from VS2005. The only problem was when I tried to compile one of the files (and...
  6. Thread: vcproj files

    by John E
    Replies
    5
    Views
    159

    Re: vcproj files

    Thanks 2kaud. I tried installing VS2015 Community Edition on Windows 10, 64-bit. However, the installation folder it offered was under C:\Program Files (x86)\. To me, this suggested that it was only...
  7. Thread: vcproj files

    by John E
    Replies
    5
    Views
    159

    vcproj files

    For various corporate reasons I've been stuck with VC8 for the past few years but I've finally been given permission to update to something more recent :cool:

    The bad news is that I have around 11...
  8. Replies
    2
    Views
    151

    Re: ellipses and macro definition

    Thanks TubularX, that looks very promising...
  9. Replies
    2
    Views
    151

    ellipses and macro definition

    I'm trying to compile some code which has a line looking like this:-


    #define PRINT_MSG(fmt, args...) printf(fmt, ## args)

    I'm building with MSVC 2005 (so this is possibly something that's...
  10. Re: Changing the icon for an exe file (in Windows Explorer)

    An interesting development this afternoon...

    I happen to be compiling the exe onto a removable drive. So I decided to attach the drive to some different OS's. Guess what... Windows XP, Windows 7...
  11. Re: Changing the icon for an exe file (in Windows Explorer)

    Thanks Arjay,

    The only thing that seemed relevant there was the advice on how to change the icon for an (already running) program by selecting it from the Windows taskbar. However, that didn't...
  12. Changing the icon for an exe file (in Windows Explorer)

    I've spent an entire morning searching the internet but amazingly, I can't find an answer to this...

    For the past few years I've been using MSVC to compile an particular program periodically. The...
  13. Replies
    2,346
    Views
    384,393

    Re: The Boring Thread

    Okay - this might liven it up (even if that's not really wanted!!)

    AFAIK all mobile phones contain a GPS feature. If it's turned on, apparently anyone can go onto various web sites, type in your...
  14. Thread: NAN / INF etc

    by John E
    Replies
    3
    Views
    307

    Re: NAN / INF etc

    Thanks 2kaud. For VC8, NAN seems to be in xmath.h but after #including that it seems to work now!

    [Edit...] Hmmm... I've just been reading that xmath.h is internal to MSVC and shouldn't need to be...
  15. Thread: NAN / INF etc

    by John E
    Replies
    3
    Views
    307

    NAN / INF etc

    Using VC8 I'm trying to compile some code that was originally written for gcc. One of the source files has an array of const float which looks like this


    static const float _demolition[] = {
    ...
  16. Has anyone mastered the spelling checker in Windows 8?

    I'm an occasional user of Windows Wordpad. It's pretty basic bot not bad for simple text editing and layout. Its biggest problem has always been the lack of a spelling checker. But apparently, that...
  17. Replies
    3
    Views
    290

    Re: Why does MSVC insist on const_iterator ?

    My apologies. I just realised that (in the header file) function2() is declared as const - i.e.


    void function2 (DataType type, PortFlags flags) const;
  18. Replies
    3
    Views
    290

    Re: Why does MSVC insist on const_iterator ?

    Aha.. this is quite interesting. The error I see is C2440 (which appears at the 'for' line). But look at the actual message:-


    error C2440: 'initializing' : cannot convert from...
  19. Replies
    3
    Views
    290

    Why does MSVC insist on const_iterator ?

    In my header file:-

    class DummyBackend {

    // c'tors and stuff

    private:
    typedef std::set<DummyPort *> PortIndex;
    PortIndex _ports;
  20. Re: static variable has 2 x different addresses !!

    Good suggestion Igor. Here's the actual function which ends up calling 'free()'. I've added a line at the top with my printout:-


    void luaH_free (lua_State *L, Table *t) {

    /* My line added for...
  21. Re: static variable has 2 x different addresses !!

    Yes, I figured that dummynode_ was a name that might be in use elsewhere so I changed it temporarily:-


    define dummynode (&lua_dummynode_)

    static const Node lua_ dummynode_ = {
    ...
  22. Re: static variable has 2 x different addresses !!

    freeing is essentially done like this:-


    if (!isdummy(some_element))
    free(some_element);

    where some_element is actually an address. isdummy() checks to see if that address is equal to the...
  23. Re: static variable has 2 x different addresses !!

    Another thought... rather than there being 2 copies, is it possible that the program is getting loaded, then some of this code gets run, then the program gets relocated somehow? i.e. giving an...
  24. static variable has 2 x different addresses !!

    I'm trying to debug a program which is crashing at a call to free(). I see this in one of the header files:-

    typedef struct Node {
    TValue i_val;
    TKey i_key;
    } Node;

    At the moment, I...
  25. Use of 'this' (class with multpile base classes)

    I've just come across this in some code and I'm wondering if it's safe. There's a class defined with multiple base classes:-


    class LuaWindow :
    public Gtk::Window,
    public...
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

This a Codeguru.com survey!


HTML5 Development Center