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 73 1 2 3 4

Search: Search took 0.10 seconds; generated 27 minute(s) ago.

  1. Replies
    14
    Views
    249

    Re: Which ASCII character to send

    You could base64 encode the file contents, then use a NAK (21) (or whatever) in your protocol.

    gg
  2. Re: Get libstdc++ version from the preprocessor?

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

    gg
  3. 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...
  4. 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
    ...
  5. 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...
  6. Replies
    2
    Views
    313

    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
  7. Replies
    1
    Views
    1,011

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

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

    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
  10. Re: Some inconveniences when using OutputDebugString

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

    gg
  11. 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
  12. Re: Some inconveniences when using OutputDebugString

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

    gg
  13. Replies
    7
    Views
    617

    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
  14. 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:...
  15. 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...
  16. Replies
    10
    Views
    840

    Re: Is advanced seaching working properly..?

    I usually use Google:

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

    gg
  17. Replies
    6
    Views
    1,244

    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
  18. Replies
    6
    Views
    1,244

    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
  19. Thread: Unicode

    by Codeplug
    Replies
    3
    Views
    505

    Re: Unicode

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

    gg
  20. Replies
    5
    Views
    585

    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.
    ...
  21. Replies
    5
    Views
    364

    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
  22. Replies
    42
    Views
    2,579

    Re: [RESOLVED] Multiple thread question

    Cool!

    What does win32_read() spit out now?

    gg
  23. Replies
    42
    Views
    2,579

    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
  24. Replies
    42
    Views
    2,579

    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:...
  25. Replies
    42
    Views
    2,579

    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:...
Results 1 to 25 of 1801
Page 1 of 73 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