Click here to Skip to main content
15,904,339 members
Home / Discussions / COM
   

COM

 
GeneralRe: ActiveXControl/COM Component. Please help me! Pin
MartinOrtiz31-Jul-03 12:16
MartinOrtiz31-Jul-03 12:16 
GeneralBasic doubt about ATL com component distribution Pin
Venkateswar Rao29-Jul-03 3:46
Venkateswar Rao29-Jul-03 3:46 
GeneralMicrosoft Script Control Run-time error Pin
FAADI29-Jul-03 0:16
FAADI29-Jul-03 0:16 
GeneralRe: Microsoft Script Control Run-time error Pin
Vi229-Jul-03 1:31
Vi229-Jul-03 1:31 
GeneralBasic COM automation doubts, Please help. Pin
Venkateswar Rao27-Jul-03 23:20
Venkateswar Rao27-Jul-03 23:20 
GeneralRe: Basic COM automation doubts, Please help. Pin
first_sandy28-Jul-03 1:22
first_sandy28-Jul-03 1:22 
GeneralRe: Basic COM automation doubts, Please help. Pin
Venkateswar Rao28-Jul-03 1:58
Venkateswar Rao28-Jul-03 1:58 
Questionhow to return from IDispatch invoke? Pin
safee ullah27-Jul-03 21:14
safee ullah27-Jul-03 21:14 
hi there..

i am working on a spread sheet control..and need to know if there is any problem with the way i am returning from the Invoke call..

When run this method throws an access violation...any ideas.??

here is the code..

long CControl :: GetObjCellCol(long ObjID)
{
DISPPARAMS DispParam1;
EXCEPINFO excep;
UINT nArgErr;
DISPID dispidNamed;
VARIANT * pResult = NULL;

DispParam1.cArgs = 1; //number of arguments
DispParam1.cNamedArgs = 0; // named arguments.
DispParam1.rgdispidNamedArgs = &dispidNamed;
// Dispatch IDs of named arguments.

DispParam1.rgvarg = new VARIANTARG();

DispParam1.rgvarg->vt = VT_I4;
DispParam1.rgvarg->lVal = ObjID;

IImpl::Invoke(DISPID_F1_CellCol, IID_NULL , 0 , NULL, &DispParam1,pResult , &excep, &nArgErr);
return pResult->lVal;
}

AnswerRe: how to return from IDispatch invoke? Pin
Mike Dimmick28-Jul-03 2:27
Mike Dimmick28-Jul-03 2:27 
GeneralRe: how to return from IDispatch invoke? Pin
safee ullah28-Jul-03 2:53
safee ullah28-Jul-03 2:53 
GeneralBHO Pin
manuboy27-Jul-03 11:56
manuboy27-Jul-03 11:56 
GeneralRe: BHO Pin
Michael Dunn27-Jul-03 12:07
sitebuilderMichael Dunn27-Jul-03 12:07 
GeneralRe: BHO Pin
manuboy27-Jul-03 12:12
manuboy27-Jul-03 12:12 
GeneralGetting selected folder in a namespace extension Pin
Mike Hartway25-Jul-03 14:28
Mike Hartway25-Jul-03 14:28 
QuestionHow to SendMessage to a windowless Ctrl Pin
ray_li25-Jul-03 5:41
ray_li25-Jul-03 5:41 
AnswerRe: How to SendMessage to a windowless Ctrl Pin
John M. Drescher25-Jul-03 6:54
John M. Drescher25-Jul-03 6:54 
AnswerRe: How to SendMessage to a windowless Ctrl Pin
MartinOrtiz31-Jul-03 12:24
MartinOrtiz31-Jul-03 12:24 
GeneralCOM+ / MSMQ Pin
sam_jr24-Jul-03 17:05
sam_jr24-Jul-03 17:05 
GeneralRe: COM+ / MSMQ Pin
ICBM25-Jul-03 15:02
ICBM25-Jul-03 15:02 
GeneralClosing document in Word under Automation Pin
Dave Loeser24-Jul-03 4:52
Dave Loeser24-Jul-03 4:52 
Generalword automation Pin
Jason Henderson23-Jul-03 10:06
Jason Henderson23-Jul-03 10:06 
GeneralArrays of IUnknown.. Pin
ICBM22-Jul-03 0:27
ICBM22-Jul-03 0:27 
GeneralRe: Arrays of IUnknown.. Pin
valikac22-Jul-03 8:56
valikac22-Jul-03 8:56 
GeneralRe: Arrays of IUnknown.. Pin
first_sandy25-Jul-03 3:40
first_sandy25-Jul-03 3:40 
GeneralRe: Arrays of IUnknown.. Pin
ICBM25-Jul-03 13:44
ICBM25-Jul-03 13:44 

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.