Click here to Skip to main content
16,004,901 members
Home / Discussions / COM
   

COM

 
GeneralCoRegisterClassObject Pin
youyou789@google.com14-Jun-04 8:38
youyou789@google.com14-Jun-04 8:38 
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 
Hi,
I have a function that passes the following arguments:

void SignOn(BSTR* Name, BSTR* Password, BOOL* UseProxy, BSTR*
ProxyServer, short* ProxyPort);.

I declared the following variables which I pass to the function

BSTR Name = ::SysAllocString(L"coinpig");
BSTR Password = ::SysAllocString(L"aug2203");
BOOL useproxy = 0;
BSTR proxyServer = ::SysAllocString(L"0");
short ProxyPort = 0;
short * strPortptr = &ProxyPort;

When I use the active-x control test container and specify that all
values are BSTR the function works properly. When I call the function
with the variables I declared, the program exits with code 3. I am
new to MFC, and greatly appreciate any help.

Thank you,
Tom
GeneralRe: Passing BSTR and Short variables in a function Pin
Anonymous9-Jun-04 19:40
Anonymous9-Jun-04 19:40 
Questionhow to create a COM object Pin
iceman117-Jun-04 17:17
iceman117-Jun-04 17:17 
QuestionDownload my .ocx and 2 depending dll’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 

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.