Click here to Skip to main content
15,847,653 members
Home / Discussions / COM
   

COM

 
GeneralRe: Speed of COM Pin
In-At7-Jul-03 0:30
In-At7-Jul-03 0:30 
GeneralRe: Speed of COM Pin
In-At7-Jul-03 0:58
In-At7-Jul-03 0:58 
GeneralRe: Speed of COM Pin
Jo Fredrickson7-Jul-03 17:03
Jo Fredrickson7-Jul-03 17:03 
GeneralRe: Speed of COM Pin
In-At7-Jul-03 20:59
In-At7-Jul-03 20:59 
GeneralRe: Speed of COM Pin
Mike Dimmick12-Jul-03 9:10
Mike Dimmick12-Jul-03 9:10 
GeneralRe: Speed of COM Pin
Jo Fredrickson14-Jul-03 19:05
Jo Fredrickson14-Jul-03 19:05 
GeneralRe: Speed of COM Pin
Gerald Schwab20-Jul-03 18:23
Gerald Schwab20-Jul-03 18:23 
GeneralATL Control sinks Pin
Ancient Dragon4-Jul-03 4:32
Ancient Dragon4-Jul-03 4:32 
I ported Mario Zucca's grid control to WinCE using eVC++ 3.0 compiler, but making it a Full Control to that it can be easily used in c++ MFC programs like any other ActiveX control. All that went without very many problems -- except being able to fire events. So I just copied the code to do that into my project and it seemed to work.

Then I created a test C++ MFC Dialog-based program, added the control and using ClassWizzard created the events that were exposed and explained above. That too seemed to work. However, When the control attempts to fire the event, it cannot because it doesn't realize that it has any client containers!

For example: m_vec.GetSize(); always returns 0. Does anyone know how to fix this problem?

<br />
	HRESULT Fire_BeforeEdit(INT Row, INT Col, VARIANT_BOOL * Cancel)<br />
	{<br />
		CComVariant varResult = VT_EMPTY;<br />
		T* pT = static_cast<T*>(this);<br />
		int nConnectionIndex;<br />
		CComVariant* pvars = new CComVariant[3];<br />
<br />
    //************ This line always returns 0 ***************<br />
		int nConnections = m_vec.GetSize();<br />
<br />
<br />
		for (nConnectionIndex = 0; nConnectionIndex < nConnections; nConnectionIndex++)<br />
		{<br />
			pT->Lock();<br />

GeneralAccessing COM objects Pin
Moonspellwizard3-Jul-03 20:44
Moonspellwizard3-Jul-03 20:44 
GeneralRe: Accessing COM objects Pin
In-At3-Jul-03 21:17
In-At3-Jul-03 21:17 
GeneralADO Pin
Anthony98873-Jul-03 10:51
Anthony98873-Jul-03 10:51 
GeneralRe: ADO Pin
Anonymous3-Jul-03 12:51
Anonymous3-Jul-03 12:51 
GeneralMultiple instances are launched Pin
In-At2-Jul-03 21:42
In-At2-Jul-03 21:42 
GeneralIn-proc to out-of-proc Pin
In-At2-Jul-03 21:19
In-At2-Jul-03 21:19 
GeneralRe: In-proc to out-of-proc Pin
valikac3-Jul-03 8:39
valikac3-Jul-03 8:39 
GeneralRe: In-proc to out-of-proc Pin
In-At3-Jul-03 20:54
In-At3-Jul-03 20:54 
GeneralRe: In-proc to out-of-proc Pin
valikac4-Jul-03 6:00
valikac4-Jul-03 6:00 
GeneralHelpppppp! Pin
safee ullah2-Jul-03 21:07
safee ullah2-Jul-03 21:07 
Generalhelp!!,there are some errors in my program Pin
yingkou2-Jul-03 4:35
yingkou2-Jul-03 4:35 
Generalremote connection to server Pin
satishsilla2-Jul-03 3:59
satishsilla2-Jul-03 3:59 
Generaldefault properties on COM interfaces Pin
Dave Bryant1-Jul-03 17:26
Dave Bryant1-Jul-03 17:26 
GeneralRe: default properties on COM interfaces Pin
Mil101-Jul-03 19:59
Mil101-Jul-03 19:59 
GeneralRe: default properties on COM interfaces Pin
Dave Bryant2-Jul-03 11:35
Dave Bryant2-Jul-03 11:35 
GeneralRe: default properties on COM interfaces Pin
Mil102-Jul-03 19:46
Mil102-Jul-03 19:46 
GeneralRe: default properties on COM interfaces Pin
Dave Bryant2-Jul-03 19:49
Dave Bryant2-Jul-03 19:49 

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.