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

  1. Re: VS2013 Compiling with header redirection IDE complains. "Open SSL"

    Yes, it will work.
    The OpenSSL DLL's will use the VS2008 CRT internally. So your app installer will need to provide both the 2008 and 2013 redistributables. So you'll need the 2008 redistributable...
  2. Re: VS2013 Compiling with header redirection IDE complains. "Open SSL"

    If you don't want to compile OpenSSL yourself (which is needed to create the "sdk" tree structure), then you can try compiling against a pre-built version of OpenSSL:...
  3. Re: Problem with RegisterPowerSettingNotification and USER32.dll.

    Looks like a fix is in the works: https://codereview.chromium.org/477173002/

    gg
  4. Re: Can you think of anything wrong with this code.

    >> template <typename U>
    >> node(const node<U>& other)
    >> :object_memory_(operator new(sizeof(T)))
    Should that be sizeof(U)?

    gg
  5. Re: Can you think of anything wrong with this code.

    Even though you are using the MS implementation of volatile, there are still plenty of data races that may be present depending your you how your threads access the object.

    The conclusion that I...
  6. Re: Can you think of anything wrong with this code.

    You should read this: http://www.gotw.ca/gotw/028.htm

    And what is up with those volatile qualifiers? I hope it has nothing to do with threading....

    I would also recommend this to avoid dynamic...
  7. Replies
    9
    Views
    304

    Re: Worker Thread handle leak

    >> However, it's still "proper" to explicitely close the handle when you no longer have a need for it.
    This is what MFC does by default. You have to take extra steps if you want the thread handle to...
  8. Replies
    9
    Views
    304

    Re: Worker Thread handle leak

    In the "Lower Pane View" of Process Explorer, what was is the "Type" of the handles that are being leaked?

    gg
  9. Replies
    14
    Views
    481

    Re: Which ASCII character to send

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

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

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

    gg
  11. 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...
  12. 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
    ...
  13. 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...
  14. Replies
    2
    Views
    330

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

    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:...
  16. Replies
    11
    Views
    759

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

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

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

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

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

    gg
  21. Replies
    7
    Views
    656

    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
  22. 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:...
  23. 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...
  24. Replies
    10
    Views
    922

    Re: Is advanced seaching working properly..?

    I usually use Google:

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

    gg
  25. Replies
    6
    Views
    1,309

    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
Results 1 to 25 of 1809
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