Click here to Skip to main content
15,920,217 members
Home / Discussions / COM
   

COM

 
GeneralRe: CoRegisterClassObject Pin
ian mariano14-Jun-04 9:14
ian mariano14-Jun-04 9:14 
GeneralRe: CoRegisterClassObject Pin
youyou789@google.com14-Jun-04 9:51
youyou789@google.com14-Jun-04 9:51 
GeneralRe: CoRegisterClassObject Pin
ian mariano14-Jun-04 10:02
ian mariano14-Jun-04 10:02 
QuestionHow to connect to the running OAT instance? Pin
oleg6314-Jun-04 4:29
professionaloleg6314-Jun-04 4:29 
QuestionHow can I initialize tapiFax Pin
GuruVN13-Jun-04 19:23
GuruVN13-Jun-04 19:23 
QuestionHow to Create a COM object from a nominated EXE Pin
Guy le Mar8-Jun-04 15:51
Guy le Mar8-Jun-04 15:51 
GeneralPassing BSTR and Short variables in a function Pin
tommcf8-Jun-04 13:52
tommcf8-Jun-04 13:52 
GeneralRe: Passing BSTR and Short variables in a function Pin
Anonymous9-Jun-04 19:40
Anonymous9-Jun-04 19:40 
How are you calling the SignOn function in your code?

To call SignOn with the variables you have created and the function prototype you have given:

<code>
SignOn(&Name, &Password, &useProxy, &proxyServer, strPortptr);


Or you could prototype your function like:

<code>
void SignOn(BSTR Name, BSTR Password, BOOL UseProxy, BSTR ProxyServer, short ProxyPort);


and then call the function:

<code>
SignOn(Name, Password, UseProxy, ProxyServer, ProxyPort)


The only difference between the two: the former uses pointers as parameters, whereas the latter does not.

I prefer the second approach unless I need to logically change the value of more than one variable in which case I would change my parameters to use pointers. Functions can only have one physical return value.

Hope this helps!
Questionhow to create a COM object Pin
iceman117-Jun-04 17:17
iceman117-Jun-04 17:17 
QuestionDownload my .ocx and 2 depending dll&#8217;s? Pin
anderslundsgard6-Jun-04 21:02
anderslundsgard6-Jun-04 21:02 
GeneralImplementing Span tag Pin
Member 5281555-Jun-04 0:22
Member 5281555-Jun-04 0:22 
GeneralRe: Implementing Span tag Pin
Andrew Quinn AUS6-Jun-04 22:23
Andrew Quinn AUS6-Jun-04 22:23 
QuestionHow to call methods of an appobject directly? Pin
Roozbeh693-Jun-04 18:32
professionalRoozbeh693-Jun-04 18:32 
AnswerRe: How to call methods of an appobject directly? Pin
Andrew Quinn AUS3-Jun-04 22:15
Andrew Quinn AUS3-Jun-04 22:15 
GeneralAutomating Office Pin
no_reg_name3-Jun-04 6:14
no_reg_name3-Jun-04 6:14 
GeneralRe: Automating Office Pin
sas22223-Jun-04 9:27
sas22223-Jun-04 9:27 
GeneralRe: Automating Office Pin
sas22223-Jun-04 9:32
sas22223-Jun-04 9:32 
GeneralRe: Automating Office Pin
no_reg_name3-Jun-04 23:02
no_reg_name3-Jun-04 23:02 
GeneralRe: Automating Office Pin
Rory Solley3-Jun-04 22:14
Rory Solley3-Jun-04 22:14 
GeneralRe: Automating Office Pin
no_reg_name3-Jun-04 23:01
no_reg_name3-Jun-04 23:01 
Generalpassing array to com Interface Pin
smartcoder2-Jun-04 9:31
smartcoder2-Jun-04 9:31 
GeneralRe: passing array to com Interface Pin
Andrew Quinn AUS3-Jun-04 4:18
Andrew Quinn AUS3-Jun-04 4:18 
GeneralCOM Interface Hooking Pin
hardboy1111-Jun-04 9:13
hardboy1111-Jun-04 9:13 
GeneralRe: COM Interface Hooking Pin
Anonymous1-Jun-04 11:12
Anonymous1-Jun-04 11:12 
Generalfirewall Pin
shahrokh nabavi1-Jun-04 7:12
shahrokh nabavi1-Jun-04 7: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.