Click here to Skip to main content
15,895,746 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
Questionusing Browser Helper Object Pin
selukus9-Jun-06 22:24
selukus9-Jun-06 22:24 
QuestionHelp me for Debugging the Project. Pin
Jack_0079-Jun-06 20:35
Jack_0079-Jun-06 20:35 
QuestionTab between edit controls Pin
_johan9-Jun-06 17:53
_johan9-Jun-06 17:53 
QuestionAfxBeginThread may use in activex control(ATL)? Pin
alan top8-Jun-06 22:06
alan top8-Jun-06 22:06 
AnswerRe: AfxBeginThread may use in activex control(ATL)? Pin
Stephen Hewitt8-Jun-06 23:19
Stephen Hewitt8-Jun-06 23:19 
GeneralRe: AfxBeginThread may use in activex control(ATL)? Pin
Jörgen Sigvardsson9-Jun-06 7:14
Jörgen Sigvardsson9-Jun-06 7:14 
GeneralRe: AfxBeginThread may use in activex control(ATL)? Pin
Rob Caldecott9-Jun-06 8:34
Rob Caldecott9-Jun-06 8:34 
QuestionMultiple Event Sinking and Firing Event Pin
Anthony98878-Jun-06 9:41
Anthony98878-Jun-06 9:41 
Hi,
I'm having trouble firing an event. I have class derived from IDispEventImpl to advise for multiple object sources. This is fine, however, I'm trying to Fire_XXX() event from this class, but the method is declared in CProxy_IXXXEvents class. Any ideas how I can do this. Here is code snippet.

"..\COMServer.tlb" //receive events from other object

class ATL_NO_VTABLE CServer :
public CComObjectRootEx<ccomsinglethreadmodel>,
public CComCoClass<cserver, &clsid_server="">,
public IConnectionPointContainerImpl<cserver>,
public IDispatchImpl<iserver, &iid_iserver,
&libid_serverib="">,
public CProxy_IServerShellEvents< CServerShell >
{

};

//Sink Class
class CSinkServerEvents :
public IDispEventImpl<0, CSinkServerEvents, &DIID__ICOMServerEvents, &LIBID_COMSERVERLib, 1, 0>
{
BEGIN_SINK_MAP(CSinkServerOEvents)
SINK_ENTRY_EX(0, DIID__ICOMServerEvents, 0x01, Calculate)
END_SINK_MAP()

HRESULT __stdcall Calculate(short value)
{
Fire_OnXXX(value);
return S_OK;
}
};

//This Class I'm trying to access this class method from the EventSink Class.
template <class t="">
class CProxy_IServerShellEvents : public IConnectionPointImpl<t, &diid__iserverevents,="" ccomdynamicunkarray="">
{
public:
HRESULT Fire_OnXXX(short value)
{
...
}
};
Thanks
QuestionHow to get event from atl component. Pin
shivditya6-Jun-06 20:22
shivditya6-Jun-06 20:22 
Questionhow to establish the doc/view activex control? Pin
alan top6-Jun-06 14:07
alan top6-Jun-06 14:07 
QuestionHow access&#12288;Safearray to be quicker? Pin
alan top6-Jun-06 6:30
alan top6-Jun-06 6:30 
AnswerRe: How access&#12288;Safearray to be quicker? Pin
Gerald Schwab6-Jun-06 7:13
Gerald Schwab6-Jun-06 7:13 
QuestionRe: How access&#12288;Safearray to be quicker? Pin
alan top6-Jun-06 14:01
alan top6-Jun-06 14:01 
QuestionWhy so many Imports? Pin
Adnan Siddiqi5-Jun-06 1:54
Adnan Siddiqi5-Jun-06 1:54 
QuestionTo add WTL support to the WinAPI DLL project Pin
Andrei Keino2-Jun-06 23:59
Andrei Keino2-Jun-06 23:59 
AnswerRe: To add WTL support to the WinAPI DLL project Pin
Pavel Muraviev6-Jun-06 21:39
Pavel Muraviev6-Jun-06 21:39 
QuestionC++.net and Acrobat Pin
Bassieeee2-Jun-06 0:15
Bassieeee2-Jun-06 0:15 
AnswerRe: C++.net and Acrobat Pin
toxcct6-Jun-06 2:08
toxcct6-Jun-06 2:08 
QuestionFire event Error: TYPE_E_ELEMENTNOTFOUND Pin
User 21559731-May-06 18:36
User 21559731-May-06 18:36 
Questionwhat is the bug in the statement Pin
GANsJob29-May-06 22:27
GANsJob29-May-06 22:27 
AnswerRe: what is the bug in the statement Pin
HakunaMatada29-May-06 23:28
HakunaMatada29-May-06 23:28 
GeneralRe: what is the bug in the statement Pin
GANsJob1-Jun-06 3:29
GANsJob1-Jun-06 3:29 
AnswerRe: what is the bug in the statement Pin
Igor Vigdorchik31-May-06 14:43
Igor Vigdorchik31-May-06 14:43 
AnswerRe: what is the bug in the statement Pin
Visual C++ Help(Code Proj)14-Jun-06 23:07
Visual C++ Help(Code Proj)14-Jun-06 23:07 
QuestionEdit Woes Pin
HakunaMatada29-May-06 19:28
HakunaMatada29-May-06 19:28 

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.