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

COM

 
AnswerRe: InvokeHelper Pin
Vi221-Aug-09 2:07
Vi221-Aug-09 2:07 
GeneralRe: InvokeHelper Pin
MsmVc21-Aug-09 2:18
MsmVc21-Aug-09 2:18 
GeneralRe: InvokeHelper Pin
Vi221-Aug-09 2:30
Vi221-Aug-09 2:30 
GeneralRe: InvokeHelper Pin
MsmVc21-Aug-09 2:41
MsmVc21-Aug-09 2:41 
GeneralRe: InvokeHelper Pin
Vi221-Aug-09 2:44
Vi221-Aug-09 2:44 
GeneralRe: InvokeHelper Pin
MsmVc21-Aug-09 2:50
MsmVc21-Aug-09 2:50 
GeneralRe: InvokeHelper Pin
Vi221-Aug-09 3:09
Vi221-Aug-09 3:09 
GeneralRe: InvokeHelper Pin
MsmVc21-Aug-09 3:23
MsmVc21-Aug-09 3:23 
i am doing something wrong.See I add function in Dll
Public Function Get_List(SheetNumber As Long) As String
    Get_List = "aaa"
End Function

And Declaration in m2msofficecom.h file
VARIANT Get_List(long* number);

And Define in m2msofficecom.cpp
VARIANT _clsExcel::Get_List(long* number)
{
	VARIANT result;
	static BYTE parms[] =
		VTS_PI4;
	InvokeHelper(0x60030002, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
		number);
	return result;
}

And Call in MainDlg Class
_clsExcel objXl;
long ty=1;
objXl.Get_List(&ty);

but still i am getting same error.
plz help me.
GeneralRe: InvokeHelper Pin
Vi221-Aug-09 3:32
Vi221-Aug-09 3:32 
GeneralRe: InvokeHelper Pin
MsmVc21-Aug-09 3:46
MsmVc21-Aug-09 3:46 
GeneralRe: InvokeHelper Pin
Vi221-Aug-09 3:51
Vi221-Aug-09 3:51 
GeneralRe: InvokeHelper Pin
MsmVc21-Aug-09 4:00
MsmVc21-Aug-09 4:00 
GeneralRe: InvokeHelper Pin
MsmVc23-Aug-09 20:48
MsmVc23-Aug-09 20:48 
GeneralRe: InvokeHelper Pin
gaurav_quexst24-Aug-09 2:08
gaurav_quexst24-Aug-09 2:08 
QuestionHow to display images of my custom filetype in IE Pin
srivas20-Aug-09 20:59
srivas20-Aug-09 20:59 
QuestionHow to unregister the event in BHO? Pin
Jacobb Michael20-Aug-09 2:22
Jacobb Michael20-Aug-09 2:22 
Questionhow to create online quiz in html Pin
robert(m.tech)20-Aug-09 1:18
robert(m.tech)20-Aug-09 1:18 
AnswerRe: how to create online quiz in html Pin
Stephen Hewitt20-Aug-09 3:06
Stephen Hewitt20-Aug-09 3:06 
QuestionC# BHO problem Pin
svt gdwl19-Aug-09 19:55
svt gdwl19-Aug-09 19:55 
AnswerRe: C# BHO problem Pin
Jacobb Michael20-Aug-09 0:56
Jacobb Michael20-Aug-09 0:56 
QuestionDesign + technical issue Pin
Ahmed Charfeddine19-Aug-09 1:31
Ahmed Charfeddine19-Aug-09 1:31 
AnswerRe: Design + technical issue Pin
Ahmed Charfeddine19-Aug-09 1:45
Ahmed Charfeddine19-Aug-09 1:45 
GeneralRe: Design + technical issue Pin
Baltoro19-Aug-09 15:39
Baltoro19-Aug-09 15:39 
GeneralRe: Design + technical issue Pin
Ahmed Charfeddine21-Aug-09 8:40
Ahmed Charfeddine21-Aug-09 8:40 
GeneralRe: Design + technical issue Pin
Baltoro21-Aug-09 13:12
Baltoro21-Aug-09 13:12 

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.