Click here to Skip to main content
15,898,035 members
Home / Discussions / COM
   

COM

 
GeneralRe: Method overloading Pin
Anonymous4-Feb-04 0:03
Anonymous4-Feb-04 0:03 
GeneralPaste img from any application like Paint, Ms Photoeditor,etc Pin
Filomela2-Feb-04 20:47
Filomela2-Feb-04 20:47 
Questionhow to use ActiveX contrl listview and imagelist in mscomctl.ocx Pin
Dababa2-Feb-04 14:29
Dababa2-Feb-04 14:29 
GeneralParameter in ActiveX control Pin
TrungHuynh1-Feb-04 19:43
TrungHuynh1-Feb-04 19:43 
GeneralRe: Parameter in ActiveX control Pin
Steve S2-Feb-04 4:23
Steve S2-Feb-04 4:23 
GeneralRe: Parameter in ActiveX control Pin
TrungHuynh2-Feb-04 14:30
TrungHuynh2-Feb-04 14:30 
GeneralRe: Parameter in ActiveX control Pin
Steve S2-Feb-04 22:07
Steve S2-Feb-04 22:07 
GeneralRe: Parameter in ActiveX control Pin
TrungHuynh2-Feb-04 22:25
TrungHuynh2-Feb-04 22:25 
ok, i have change CString to BSTR, but how can add a method in my ActiveX has parameters as FILE_INFO (example)

define FILE_INFO struct in odl file
typedef struct tagFILE_INFO
{
BSTR szFileName;
BSTR szLocation;
BSTR szLocationTemp;
}
FILE_INFO;

because my component is an ActiveX control so, in my odl file

[id(7)] void SetInfo(FILE_INFO FileInfo);

it will appear Error when you launch to class wizard (passer error). Because in ActiveX control,when you add one method. The parameter type alway has some
PREDEFINE TYPE (short, long ,CURRENTCY... VARIANT....

So how can we define a new type(UDT) for parameter in method.

Regards
TrungHuynh

GeneralRe: Parameter in ActiveX control Pin
Steve S3-Feb-04 0:18
Steve S3-Feb-04 0:18 
GeneralRe: Parameter in ActiveX control Pin
TrungHuynh3-Feb-04 14:44
TrungHuynh3-Feb-04 14:44 
GeneralRe: Parameter in ActiveX control Pin
TrungHuynh3-Feb-04 14:46
TrungHuynh3-Feb-04 14:46 
GeneralRe: Parameter in ActiveX control Pin
Steve S3-Feb-04 22:52
Steve S3-Feb-04 22:52 
GeneralAccessing IE via COM or ActiveX Pin
Dave Midgley1-Feb-04 7:52
Dave Midgley1-Feb-04 7:52 
GeneralRe: HTML control Pin
Anonymous3-Feb-04 22:09
Anonymous3-Feb-04 22:09 
Generalembedding activex control in outlook mail message Pin
emmatty1-Feb-04 3:53
emmatty1-Feb-04 3:53 
GeneralRe: embedding activex control in outlook mail message Pin
gialli1-Feb-04 19:24
gialli1-Feb-04 19:24 
Generalactivex control problem Pin
emmatty30-Jan-04 19:08
emmatty30-Jan-04 19:08 
GeneralRe: activex control problem Pin
AssemblySoft31-Jan-04 12:31
AssemblySoft31-Jan-04 12:31 
GeneralRe: activex control problem Pin
Jörgen Sigvardsson31-Jan-04 12:41
Jörgen Sigvardsson31-Jan-04 12:41 
QuestionPassing complex type through COM interface ? Pin
Alwin7530-Jan-04 12:50
Alwin7530-Jan-04 12:50 
AnswerRe: Passing complex type through COM interface ? Pin
Jörgen Sigvardsson30-Jan-04 13:00
Jörgen Sigvardsson30-Jan-04 13:00 
GeneralCOM+ Catalog Infomation Pin
kimsangwoo30-Jan-04 12:28
kimsangwoo30-Jan-04 12:28 
GeneralProblem with MIDL and Flash IDL Pin
gialli29-Jan-04 22:16
gialli29-Jan-04 22:16 
GeneralPassing variants in Fire_xxx methods Pin
Aby Philip28-Jan-04 4:38
Aby Philip28-Jan-04 4:38 
GeneralRe: Passing variants in Fire_xxx methods Pin
Lim Bio Liong29-Jan-04 4:24
Lim Bio Liong29-Jan-04 4:24 

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.