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*...
Type: Posts; User: wakeup
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*...
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...
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
Not to a simple function. To a function in a atl dll.
Thanks
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...
I have to define variable two times? in header and in cpp files? It get value of variable in header file?
Thanks
I have put it in every .h files but I get same error.
I have:
#ifndef _CONSTANTS_H_
#define _CONSTANTS_H_
// definitions
#endif
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...