Click here to Skip to main content
15,895,084 members
Home / Discussions / COM
   

COM

 
QuestionRe: Calling ActiveX DLL from MFC - passing arrays Pin
CPallini3-Jan-08 21:11
mveCPallini3-Jan-08 21:11 
GeneralRe: Calling ActiveX DLL from MFC - passing arrays Pin
mla1544-Jan-08 3:39
mla1544-Jan-08 3:39 
AnswerRe: Calling ActiveX DLL from MFC - passing arrays Pin
Lim Bio Liong4-Jan-08 23:24
Lim Bio Liong4-Jan-08 23:24 
GeneralRe: Calling ActiveX DLL from MFC - passing arrays [modified] Pin
mla1547-Jan-08 4:24
mla1547-Jan-08 4:24 
GeneralRe: Calling ActiveX DLL from MFC - passing arrays Pin
Lim Bio Liong7-Jan-08 15:10
Lim Bio Liong7-Jan-08 15:10 
QuestionMSSOAPLib30 SoapReader30Class LoadWithParser Error Pin
miauwmiauwmiauw2-Jan-08 19:31
miauwmiauwmiauw2-Jan-08 19:31 
QuestionHow to Use events from VB.NET in VC.NET? Pin
ritz12341-Jan-08 2:38
ritz12341-Jan-08 2:38 
GeneralActiveXControl with empty Parameters in c# Pin
FriendOfAsherah30-Dec-07 23:14
FriendOfAsherah30-Dec-07 23:14 
I have to translate c++ into c# using an activeXcontrol.
The .NET Wrapper translate all dll function into c# calls.
How can I use emtpty parameters like

c++ acontrol.h (header) code:
....
void Fun1(short par1, short par2, short par3)<br />
{ Fun1(par1, par2, par3, COptionalVariant(), COptionalVariant(), COptionalVariant()); }<br />

....
This calls Fun1 using only 3 Parameters

COptionalVaraint is defined as:
class COptionalVariant: public COleVariant<br />
{<br />
public:<br />
	COptionalVariant() { vt = VT_ERROR; scode = DISP_E_PARAMNOTFOUND; }<br />
};<br />


The c# .NET wrapper only translates Fun1 with all! Parameters
What do I insert for the empty ones !
Fun1( par1, par2, par3 , null , null, ...) <br />
does not work
I cannot change the wrapper itself, its metadata
is there any c# type for Variant() like
Fun1( par1 , par2 , par3, new Variant(), .... ) ????Confused | :confused: Confused | :confused:
Questionprinting - dot matrix printer Pin
bijumon Mathew30-Dec-07 18:54
bijumon Mathew30-Dec-07 18:54 
GeneralHey man, COM stands for Component Object Model Pin
CPallini30-Dec-07 21:14
mveCPallini30-Dec-07 21:14 
GeneralShell Extension Left-Click Pin
Jens Frederich28-Dec-07 23:49
Jens Frederich28-Dec-07 23:49 
QuestionOverride GetOverrideKeyPath of IDocHostUIHandler2 interface. Pin
ashdwivedi26-Dec-07 21:07
ashdwivedi26-Dec-07 21:07 
Generalabout dll and exe Pin
Shaileshvb26-Dec-07 17:44
Shaileshvb26-Dec-07 17:44 
GeneralRe: about dll and exe Pin
CPallini26-Dec-07 23:09
mveCPallini26-Dec-07 23:09 
General32bit deskband DLL in Vista64 Pin
exper_t24-Dec-07 21:18
exper_t24-Dec-07 21:18 
GeneralRe: 32bit deskband DLL in Vista64 Pin
«_Superman_»27-Dec-07 22:56
professional«_Superman_»27-Dec-07 22:56 
Questionhow to convert .aspx page to .pdf on fly using asp.net in vb.net Pin
gopal_Pandey20-Dec-07 18:03
gopal_Pandey20-Dec-07 18:03 
Generalexcel object Pin
gauthee20-Dec-07 3:41
gauthee20-Dec-07 3:41 
GeneralRe: excel object Pin
User 21559720-Dec-07 5:17
User 21559720-Dec-07 5:17 
GeneralCOM Object NameSpace Pin
Ju@ncho19-Dec-07 7:05
Ju@ncho19-Dec-07 7:05 
GeneralRe: COM Object NameSpace Pin
Nathan Holt at EMOM19-Dec-07 11:20
Nathan Holt at EMOM19-Dec-07 11:20 
GeneralRe: COM Object NameSpace Pin
Ju@ncho20-Dec-07 2:47
Ju@ncho20-Dec-07 2:47 
GeneralRe: COM Object NameSpace Pin
Nathan Holt at EMOM20-Dec-07 7:17
Nathan Holt at EMOM20-Dec-07 7:17 
GeneralRe: COM Object NameSpace Pin
Lim Bio Liong20-Dec-07 23:22
Lim Bio Liong20-Dec-07 23:22 
GeneralRe: COM Object NameSpace Pin
Kuryn19-Dec-07 11:38
Kuryn19-Dec-07 11:38 

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.