Click here to Skip to main content
15,904,822 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: [ ! ] Crashing Connection points in the .exe.. Help!! Pin
Roger Stoltz4-Aug-06 5:35
Roger Stoltz4-Aug-06 5:35 
GeneralRe: [ ! ] Crashing Connection points in the .exe.. Help!! Pin
Eytukan8-Aug-06 3:36
Eytukan8-Aug-06 3:36 
GeneralRe: [ ! ] Crashing Connection points in the .exe.. Help!! [modified] Pin
Roger Stoltz8-Aug-06 3:45
Roger Stoltz8-Aug-06 3:45 
GeneralRe: [ ! ] Crashing Connection points in the .exe.. Help!! Pin
Eytukan8-Aug-06 23:13
Eytukan8-Aug-06 23:13 
GeneralRe: [ ! ] Crashing Connection points in the .exe.. Help!! Pin
Eytukan10-Aug-06 22:59
Eytukan10-Aug-06 22:59 
QuestionATL and _pAtlModule->Lock() failure. Pin
eXeonical..4-Aug-06 0:12
eXeonical..4-Aug-06 0:12 
AnswerRe: ATL and _pAtlModule->Lock() failure. Pin
CPP_Student4-Aug-06 9:11
CPP_Student4-Aug-06 9:11 
GeneralRe: ATL and _pAtlModule-->Lock() failure. Pin
eXeonical..6-Aug-06 23:06
eXeonical..6-Aug-06 23:06 
> So, if you have the normal ATL generated code in your main project file

Well, no i dont. You see i dont have any need for an entire ATL project. What i need to do is to implement a single COM interface. So i hoped that i could just extend the CComObject class and have it done the easy way, instead of writing all the COM stuff myself.

This is what i came up with:
---------------------------------------------
class CSampleProsessorRoot : public CComObjectRoot, public ISampleGrabberCB
{
public:
HRESULT STDMETHODCALLTYPE SampleCB(double SampleTime, IMediaSample *pSample);
HRESULT STDMETHODCALLTYPE BufferCB(double SampleTime, BYTE *pBuffer, long BufferLen);

DECLARE_NOT_AGGREGATABLE(CSampleProsessorRoot)
BEGIN_COM_MAP(CSampleProsessorRoot)
COM_INTERFACE_ENTRY(ISampleGrabberCB)
END_COM_MAP()
};

typedef CComObject<CSampleProsessorRoot> CSampleProsessor;
QuestionErase elements while iterating on a map Pin
vikramlinux3-Aug-06 20:27
vikramlinux3-Aug-06 20:27 
AnswerRe: Erase elements while iterating on a map Pin
Zac Howland4-Aug-06 3:40
Zac Howland4-Aug-06 3:40 
AnswerRe: Erase elements while iterating on a map Pin
Michael Dunn4-Aug-06 14:06
sitebuilderMichael Dunn4-Aug-06 14:06 
QuestionATL application using activeX Pin
CheerioMaster3-Aug-06 2:22
CheerioMaster3-Aug-06 2:22 
AnswerRe: ATL application using activeX Pin
Rob Caldecott3-Aug-06 3:34
Rob Caldecott3-Aug-06 3:34 
GeneralRe: ATL application using activeX Pin
CheerioMaster3-Aug-06 3:58
CheerioMaster3-Aug-06 3:58 
QuestionValidity of CWndClassInfo content Pin
xLobo231-Jul-06 0:27
xLobo231-Jul-06 0:27 
QuestionShould I learn ATL/COM now? Pin
CPP_Student30-Jul-06 14:59
CPP_Student30-Jul-06 14:59 
AnswerRe: Should I learn ATL/COM now? Pin
CPP_Student30-Jul-06 15:47
CPP_Student30-Jul-06 15:47 
AnswerRe: Should I learn ATL/COM now? Pin
Kevin McFarlane31-Jul-06 6:12
Kevin McFarlane31-Jul-06 6:12 
GeneralRe: Should I learn ATL/COM now? [modified] Pin
CPP_Student31-Jul-06 7:52
CPP_Student31-Jul-06 7:52 
AnswerRe: Should I learn ATL/COM now? Pin
Zac Howland31-Jul-06 8:32
Zac Howland31-Jul-06 8:32 
GeneralRe: Should I learn ATL/COM now? Pin
Kevin McFarlane31-Jul-06 9:11
Kevin McFarlane31-Jul-06 9:11 
GeneralRe: Should I learn ATL/COM now? Pin
Zac Howland31-Jul-06 9:24
Zac Howland31-Jul-06 9:24 
GeneralRe: What I am trying to do [modified] Pin
CPP_Student31-Jul-06 10:33
CPP_Student31-Jul-06 10:33 
GeneralRe: What I am trying to do Pin
Zac Howland31-Jul-06 10:57
Zac Howland31-Jul-06 10:57 
GeneralRe: Should I learn ATL/COM now? Pin
Kevin McFarlane31-Jul-06 10:52
Kevin McFarlane31-Jul-06 10:52 

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.