Click here to Skip to main content
15,918,485 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: VS 2005, Boost and STLPort Pin
Nemanja Trifunovic15-Dec-05 7:19
Nemanja Trifunovic15-Dec-05 7:19 
AnswerRe: VS 2005, Boost and STLPort Pin
Stuart Dootson14-Dec-05 21:42
professionalStuart Dootson14-Dec-05 21:42 
AnswerRe: VS 2005, Boost and STLPort Pin
Nemanja Trifunovic15-Dec-05 1:56
Nemanja Trifunovic15-Dec-05 1:56 
GeneralRe: VS 2005, Boost and STLPort Pin
Rob Caldecott15-Dec-05 2:18
Rob Caldecott15-Dec-05 2:18 
QuestionHow to pass Structures/Types as parameters in COM DLL function? Pin
karnav zaveri11-Dec-05 20:30
karnav zaveri11-Dec-05 20:30 
AnswerRe: How to pass Structures/Types as parameters in COM DLL function? Pin
Starick11-Dec-05 22:09
Starick11-Dec-05 22:09 
QuestionRogueWave ToolsVC? Pin
Ed K9-Dec-05 5:11
Ed K9-Dec-05 5:11 
Questionatlbase.h line 758 assertion failed Pin
hardworkboy7-Dec-05 21:59
hardworkboy7-Dec-05 21:59 
Dear all,

I am new to ATL COM programming and the question may be silly, but pls help.

In the COM, I have defined one Simple Object Add with the inferface IAdd. Then in the client program I try to get the COM interface using following:

CComPtr<iadd> pAdd;
HRESULT hr = pAdd.CoCreateInstance(CLSID_Add);
here got problem, the following ASSERT failed;
ASSERT(hr==S_OK);

Then I define the connection Container pointer,

IConnectionPointContainer * pCPC;
hr = pAdd->QueryInterface(IID_IConnectionPointContainer, (void **) &pCPC;

Then I got the assertion failure again and it is atlbase.h line 758 assertion failed.

The program is quite simple, but I just don't know where is the problem. Please help!Cry | :((
AnswerRe: atlbase.h line 758 assertion failed Pin
Lim Bio Liong7-Dec-05 22:29
Lim Bio Liong7-Dec-05 22:29 
GeneralRe: atlbase.h line 758 assertion failed Pin
hardworkboy12-Dec-05 21:02
hardworkboy12-Dec-05 21:02 
GeneralRe: atlbase.h line 758 assertion failed Pin
Steve S12-Dec-05 21:23
Steve S12-Dec-05 21:23 
GeneralRe: atlbase.h line 758 assertion failed Pin
Lim Bio Liong12-Dec-05 21:50
Lim Bio Liong12-Dec-05 21:50 
GeneralRe: atlbase.h line 758 assertion failed Pin
Jörgen Sigvardsson13-Dec-05 11:34
Jörgen Sigvardsson13-Dec-05 11:34 
GeneralRe: atlbase.h line 758 assertion failed Pin
hardworkboy13-Dec-05 14:52
hardworkboy13-Dec-05 14:52 
AnswerRe: atlbase.h line 758 assertion failed Pin
Stephen Hewitt8-Jan-06 17:12
Stephen Hewitt8-Jan-06 17:12 
QuestionHow to support session in an ATL web service client app? Pin
CherezZaboro7-Dec-05 7:24
CherezZaboro7-Dec-05 7:24 
QuestionAbout ATL ActiveX Object Pin
elza4-Dec-05 20:25
elza4-Dec-05 20:25 
Questionstring manipulation Pin
alex@zoosmart.us3-Dec-05 21:14
alex@zoosmart.us3-Dec-05 21:14 
AnswerRe: string manipulation Pin
toxcct5-Dec-05 3:31
toxcct5-Dec-05 3:31 
Questionlist class from STL Pin
SanjaySMK1-Dec-05 20:44
SanjaySMK1-Dec-05 20:44 
AnswerRe: list class from STL Pin
Jonas Larsson1-Dec-05 22:37
Jonas Larsson1-Dec-05 22:37 
AnswerRe: list class from STL Pin
Gast12814-Dec-05 6:05
Gast12814-Dec-05 6:05 
QuestionATL Containment Pin
Eytukan29-Nov-05 21:54
Eytukan29-Nov-05 21:54 
AnswerMr. Alok phoo phoos error Pin
Eytukan30-Nov-05 22:47
Eytukan30-Nov-05 22:47 
GeneralRe: Mr. Alok phoo phoos error Pin
Jörgen Sigvardsson1-Dec-05 9:33
Jörgen Sigvardsson1-Dec-05 9:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.