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

Search:

Type: Posts; User: Codeplug

Page 1 of 72 1 2 3 4

Search: Search took 0.08 seconds; generated 50 minute(s) ago.

  1. Re: Get libstdc++ version from the preprocessor?

    http://sourceforge.net/p/predef/wiki/Libraries/

    gg
  2. Re: Anyone written an OpenSSL Client Application? I really need PROPER documentation

    I started off just like you - very disappointed in the documentation. Since then, I've primarily used the command line app that comes with the OpenSSL source as a reference. The one thing I had to do...
  3. Re: Anyone written an OpenSSL Client Application? I really need PROPER documentation

    The easiest thing to do is to look at the "reference implementation", which in this case would be something like:


    openssl.exe s_client -connect abc.net -CAfile cacert.pem -showcerts -crl_check
    ...
  4. Re: Template specialization does not work for user-defined object.

    std::string get_symbol() const {return symbol;}

    void assert_equals<std::string, QuoteClass, QuoteClass>(const std::string &str, const QuoteClass &p1, const QuoteClass &p2)

    Or you could remove...
  5. Replies
    2
    Views
    303

    Re: Computer has 2 ip address

    >> The first one is the right one, ...

    >> for (int i = 0; phe->h_addr_list[i] != 0; ++i)
    Why not just remove the loop and use h_addr_list[0] only?

    gg
  6. Re: reading and writing xml with Chinese C/C++

    >> I'm converting that char to wchar_t using the API mcstowcs() for display
    No.

    You want to convert UTF-8 to UTF-16. mcstowcs() does not do this. Here is a function that does:...
  7. Replies
    11
    Views
    677

    Re: namespace expert needed :-(

    Why doesn't header_B.h include header_A.h since it depends on it? (forgive me for not compiling it myself...)
    What VC++ version is this?

    gg
  8. Replies
    9
    Views
    452

    Re: Number of hardware processors (cores)

    http://msdn.microsoft.com/en-us/library/windows/desktop/ms683194(v=vs.85).aspx

    There is sample code there that seems to extract that info.

    gg
  9. Re: Some inconveniences when using OutputDebugString

    I don't think debug view works while a debugger is attached. Forgot about that.

    gg
  10. Re: TiXmlElement (tinyxml), looking for ways to get "Next" Child?

    Or a->FirstChild("c") if the schema is that rigid.

    I prefer tinyxml2 myself.

    gg
  11. Re: Some inconveniences when using OutputDebugString

    The alternative that I know of (and use) is to use DebugView with a specific filter applied.

    gg
  12. Replies
    7
    Views
    608

    Re: 2 programs, 1 dll sharing variable.

    Something to be aware of - http://blogs.msdn.com/b/oldnewthing/archive/2004/08/04/208003.aspx

    gg
  13. Re: Need help for converting some code to x64 platform

    Looks like you could use RaiseException() with EXCEPTION_FLT_DIVIDE_BY_ZERO.

    I'm guessing that interrupt 16 triggers a floating point error like in real mode:...
  14. Re: Two PIC micros over two FTDI UM232R modules to PC.

    One approach I can think of is to use the Setup API to find all the UM232R instances (by HW/PNP ID), then find the virtual COM port # those devices are linked to. May be able to do this with WMI as...
  15. Replies
    10
    Views
    788

    Re: Is advanced seaching working properly..?

    I usually use Google:

    site:http://forums.codeguru.com/ __declspec "John E"

    gg
  16. Replies
    6
    Views
    1,214

    Re: Remove non alphanumeric characters

    Could try and do it in post-processing. So the SQL statement runs at the same speed as before.

    gg
  17. Replies
    6
    Views
    1,214

    Re: Remove non alphanumeric characters

    What are the non-alpha-num's in the particular colums, and why do you want to strip them?

    gg
  18. Thread: Unicode

    by Codeplug
    Replies
    3
    Views
    495

    Re: Unicode

    This is a descent place to start: http://www.unicode.org/standard/WhatIsUnicode.html

    gg
  19. Replies
    5
    Views
    569

    Re: A reliable av software?

    http://dennistechnologylabs.com/reports/s/a-m/2013/

    http://www.av-comparatives.org/detection-test/

    Kaspersky is one of the best non-free.
    AVG and Avast are the better ranking free solutions.
    ...
  20. Replies
    5
    Views
    350

    Re: What header for sleep()

    >> ... that apparently compiles with MinGW ...
    MinGW does not contain "sleep" in any of its headers. You could use MSYS or Cygwin if you require a Posix emulation layer on Windows.

    gg
  21. Replies
    42
    Views
    2,400

    Re: [RESOLVED] Multiple thread question

    Cool!

    What does win32_read() spit out now?

    gg
  22. Replies
    42
    Views
    2,400

    Re: Multiple thread question

    >> Do I really want a vector of several hundred fstream objects?
    You would need a pointer since streams are non-copyable.

    gg
  23. Replies
    42
    Views
    2,400

    Re: Multiple thread question

    >> Using win32_read() gives GetOverlappedResult failed error 38
    Yes, the overlapped framework I posted in that thread isn't quit right. Here is a correct framework here:...
  24. Replies
    42
    Views
    2,400

    Re: Multiple thread question

    If you the time (and same curiosity as me), I'd be interested in an HD Tach screenshot.

    Or you could run my I/O profiling code:...
  25. Replies
    42
    Views
    2,400

    Re: Multiple thread question

    What exactly does this program do with the files? Is it simple enough that it can be posted so others can analyse and make test runs?

    gg
Results 1 to 25 of 1800
Page 1 of 72 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center