Search:

Type: Posts; User: donglee

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    3,422

    C/C++ string allocation question

    Hi guys,

    I was wondering, if I do something like this,



    LPWSTR func()
    {
    LPWSTR pszString = L"Some string";
  2. Would anyone recommend good network security books?

    Hey guys,

    I will do some network programming at my work, and I was wondering if you guys could recommend me some good network/network security books. I'll probably be spending most of my time...
  3. Thread: STL vs ATL

    by donglee
    Replies
    3
    Views
    7,246

    Ok I see. I appreciate that!

    Ok I see. I appreciate that!
  4. Thread: STL vs ATL

    by donglee
    Replies
    3
    Views
    7,246

    STL vs ATL

    I see that good portion of the "advanced" level books recommended here deal with STL, but almost none of them were ATL (I take that ATL is easier to grasp then STL?). Is STL widely used even for...
  5. Does anyone know how to program drivers for HP laptop quick launch buttons?

    I've recently got a HP dv7t laptop. I am having some problems with the quick launch buttons (buttons located right below the monitor to control speaker, fasf forward, back, play, stop, wireless...
  6. Replies
    2
    Views
    2,581

    Oh crap, I didn't know if the thread already...

    Oh crap, I didn't know if the thread already existed. Thanks!
  7. Replies
    2
    Views
    2,581

    Would you recommend advanced c++ books?

    Would you recommend some good advanced C++ books? but not the beginner/intermediate level books.
    I have been working in the industry for couple of years now, and I was looking for kinds of books...
  8. Replies
    1
    Views
    2,036

    PRECOMPILED_CXX - why do we use this option?

    Hi,

    At my work, I saw bunch of other projects doing PRECOMPILED_CXX=1 in their corresponding source configuration files.

    I searched on MSDN, and it gave me the following information.


    I...
  9. Replies
    5
    Views
    4,879

    Thank you guys for the comments. adeyblue, so...

    Thank you guys for the comments. adeyblue, so were you saying that if the callee (the custom action dll function) doesn't specify the argument, then there's no one there to free the msi handle, and...
  10. Replies
    5
    Views
    4,879

    MSI custom action dll function question

    I am currently developing a MSI package and after doing some research on custom action dll, I found the following link.

    http://msdn.microsoft.com/en-us/library/aa368338(VS.85).aspx

    It says :
    ...
  11. Replies
    4
    Views
    2,218

    Thank you guys very much. It's all clear now.

    Thank you guys very much. It's all clear now.
  12. Replies
    4
    Views
    2,218

    heap vs stack memory question

    I think there are about three ways you can initialize a character string. I have been having some trouble understanding why I cannot write to a string allocated using the third initialization below....
  13. Replies
    13
    Views
    15,894

    Thank you guys for the help. Yes, it seems that...

    Thank you guys for the help. Yes, it seems that that might be the case. It's weird though, since if it were a regular header file instead of the precompiled header, not including the header (because...
  14. Replies
    13
    Views
    15,894

    Precompiled header question

    My code uses large set of libraries that I don't want to be compiled everytime I compile my program, so I want to use a precompiled header to include the libraries. I currently use visual studio 2008...
  15. Replies
    10
    Views
    2,009

    How do I use a dll file??

    Hi,

    I have a general idea of what dll file does. From my understnading, we can write a set of useful functions and data and can compile it to a dll format. But if we want to have other programs...
  16. Replies
    1
    Views
    4,384

    extern const for memory allocation?

    I was reading Microsoft's Inside COM, and I couldn't quite understand one of the comments for a code snippet.

    There are two files of interest.

    File 1 : Iface.h



    extern "C"
    {
  17. issues with accessing parent member functions by typecasting this pointer

    First of all, these are the classes that I defined




    class A
    {
    protected:
    void print() { cout << "A" << endl; }
    };
  18. Oh yeah, I used wrong words there. Thank you for...

    Oh yeah, I used wrong words there. Thank you for clarifying it for me. Now it's all clear.
  19. double semicolon in front of a function call??

    Hi,

    I was reading "Inside COM" book published by Microsoft Press, and one of the examples
    in the book of client implementation had following codes.

    #include <Iface.h>
    #include <objbase.h>...
Results 1 to 19 of 19