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

  1. Replies
    5
    Views
    179

    Re: Anyone upgraded to Windows 10 yet ??

    Thanks guys. As an aside, do either of you know if it's possible to enable Aero Glass in Windows 10? According to an article I read, the beta version offered a registry key to enable it - but if you...
  2. Replies
    5
    Views
    179

    Re: Anyone upgraded to Windows 10 yet ??

    Thanks 2kaud. I tried that link and it seemed to install quite smoothly. The only issue I've noticed so far is that I can't for the life of me find Add/Remove Programs any more (or even Control...
  3. Replies
    5
    Views
    179

    Anyone upgraded to Windows 10 yet ??

    For the past few weeks, every time I booted up I've been seeing a 'Windows' icon in my task bar and a message asking if I want to upgrade to Windows 10. I haven't heard anything bad about it so a...
  4. Thread: xgetbv

    by John E
    Replies
    5
    Views
    1,354

    Re: xgetbv

    Thanks again. Alternatively, could I declare the function using __declspec(noinline) ?
  5. Thread: xgetbv

    by John E
    Replies
    5
    Views
    1,354

    Re: xgetbv

    Thanks O'Reubens. For MSVC8 I used your last example and it compiled okay. Just one question though... will it return a value? The original code did this:-


    return (static_cast<uint64_t>(edx) <<...
  6. Thread: xgetbv

    by John E
    Replies
    5
    Views
    1,354

    xgetbv

    Using MSVC8, I'm compiling some code that was originally written for Linux. It contains a conventional 'C' function called _xgetbv which looks like this:-

    static uint64_t
    _xgetbv (uint32_t xcr)...
  7. Replies
    3
    Views
    429

    Re: noexcept

    Yes, I think this is something new in C++11
  8. Replies
    3
    Views
    429

    [RESOLVED] noexcept

    I'm building a popular gtk library called glibmm. Effectively, it's a C++ wrapper around the libglib toolset. Some classes used to have member functions declared like this:-


    void...
  9. Replies
    1
    Views
    275

    Re: CaptureStackBackTrace

    Oops - forgot to surround it with extern "C":-


    define CaptureStackBackTrace RtlCaptureStackBackTrace

    extern "C" {
    __declspec(dllimport) USHORT WINAPI CaptureStackBackTrace (
    ...
  10. Replies
    1
    Views
    275

    [RESOLVED] CaptureStackBackTrace

    Using MSVC-8 I need to compile a module which calls CaptureStackBackTrace. There's no declaration for it in WinBase.h but the function itself does seem to exist in kernel32.lib (although the actual...
  11. Re: Is it possible to add to (i.e. extend) a std::stringstream ?

    Thanks guys. Creating the object uninitialized seems to do the trick. I must admit, it surprised me but what the heck... :)
  12. Is it possible to add to (i.e. extend) a std::stringstream ?

    Suppose I do this:-



    std::stringstream whatever("initialize, ");

    whatever << "then add";

    Somehow I expected the stringstream to contain initialize, then add. Whereas in fact, it seems to...
  13. Re: Using upper_bound() and lower_bound() (from the 'algorithm' header)

    Thanks Philip. I'll try your 2nd suggestion and I'll try to find out if the vector is guaranteed to be sorted.

    What would happen if the vector wasn't sorted? Does that give us undefined behaviour?
  14. Using upper_bound() and lower_bound() (from the 'algorithm' header)

    I'm trying to debug some code which uses upper_bound() and lower_bound(). In the following example, _ary is essentially a std::vector of 64-bit ints:-


    BBTPointList::const_iterator pos = ...
  15. Replies
    6
    Views
    489

    Re: Compiling on an x86 CPU

    That's a really interesting list. Thanks for finding it.!

    What's Itanium BTW?? I only ever hear it mentioned in relation to servers so I've never been 100% certain. Is it related to x86 or...
  16. Replies
    6
    Views
    489

    Re: Compiling on an x86 CPU

    Thanks OReubens. Something occurred to me just after I posted - am I right in thinking that MSVC can only target the x86 architecture? If so, I guess I could just test for _MSC_VER

    [Edit...] No, I...
  17. Replies
    6
    Views
    489

    Compiling on an x86 CPU

    I'm compiling some open source code (originally written for Linux / gcc) which uses the following line to determine if a particular section is being compiled for an x86 processor:-


    #if (...
  18. Replies
    3
    Views
    436

    Re: Graphical alternative to pastebin ?

    Yeah, that's the problem I've encountered. I just wondered if someone could recommend one that's least intrusive.

    [Edit...] Actually, I just found postimage which doesn't seem too bad... :thumb:
  19. Replies
    3
    Views
    436

    Graphical alternative to pastebin ?

    The pastebin site is a great tool for letting programmers share code fragments etc. But its big limitation is that it's restricted to text. You can't (for example) share a screenshot with someone.
    ...
  20. Replies
    4
    Views
    386

    Re: Thread/Core affinity

    Thanks guys. I tried both the Task Manager and Process Explorer and they both showed the same results (as you might expect!) Setting a process's affinity to one particular core did show a noticeable...
  21. Replies
    4
    Views
    386

    Thread/Core affinity

    I use the Windows CPU Meter on my dual-core machine. It has two dials which I (wrongly) thought were showing me the usage for core #1 and core #2. But I've just realised this morning that the 2nd...
  22. Replies
    5
    Views
    579

    Re: Text format conversion

    Thanks Laserlight. After a lot of (confusing) research yesterday I kinda ended up with the same conclusion.

    From what I can tell, the full specification looks like this:-

    ...
  23. Re: Windows 10: Is Microsoft Seeing Things That Arenít There?

    I'm not sure if it's the same thing - but with regard to the 'single app store' I remember hearing (about 18 months ago) that Microsoft was working on a utility similar to Linux's apt-get. For anyone...
  24. Replies
    5
    Views
    579

    Re: Text format conversion

    I need a little help with cross-platform stuff. Suppose I have this file path in Windows:- C:\file.txt

    If I was to convert that to a URI it would look like this:- file:///C%3A/file.txt

    But...
  25. [RESOLVED] URI question - how many forward slashes??

    Suppose I have this file path in Windows:- C:\file.txt

    If I was to convert that to a URI it would look like this:- file:///C%3A/file.txt

    But what's the situation in Linux (where file paths...
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 is a Codeguru.com survey!


HTML5 Development Center