Search:

Type: Posts; User: wakeup

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    3,094

    This is the actual state: In idl file: ...

    This is the actual state:

    In idl file:

    interface IProblem : IDispatch{
    [propget, id(1)] HRESULT miProblema([out, retval] ISolver** pVal);
    [propput, id(1)] HRESULT miProblema([in] ISolver*...
  2. Replies
    3
    Views
    3,094

    An ATL class as member of another ATL Class

    I have an C++ ATL COM DLL (VS2015) with two ATL Clasess, and I would like to add one of them as a member of the other ATL class.

    How should I do it?

    I tried adding the member as the type...
  3. Replies
    3
    Views
    2,112

    atof is not exact

    This is the code

    char number[]="0.58";
    double value = atof(number);

    When I execute it value is 0.57999999999999996

    Do you know why?

    Thanks in advance
  4. Replies
    3
    Views
    2,846

    Not to a simple function. To a function in a atl...

    Not to a simple function. To a function in a atl dll.
    Thanks
  5. Replies
    3
    Views
    2,846

    Passing array of doubles to ATL COM dll

    Hi,
    I'm developing a DLL Atl com. I want pass as parameter one array of doubles.

    I read the best form to do it is with VARIANT* parameter in C++ and manage ir as SAFEARRAY. But It seems very...
  6. Replies
    11
    Views
    6,821

    I have to define variable two times? in header...

    I have to define variable two times? in header and in cpp files? It get value of variable in header file?
    Thanks
  7. Replies
    11
    Views
    6,821

    I have put it in every .h files but I get same...

    I have put it in every .h files but I get same error.
    I have:


    #ifndef _CONSTANTS_H_
    #define _CONSTANTS_H_
    // definitions
    #endif
  8. Replies
    11
    Views
    6,821

    .h files: "constant already defined"

    Hi, I'm newbie in c++.
    I have 2 cpp files, and their 2 .h files. I have another .h file with constant too.
    The first cpp file use the second cpp file. And First ands second file are using...
Results 1 to 8 of 8