Click here to Skip to main content
15,921,837 members
Home / Discussions / COM
   

COM

 
Generalfunction to view error.log file Pin
BJ13-Jul-00 23:14
BJ13-Jul-00 23:14 
QuestionHow to open error.log file Pin
John13-Jul-00 2:41
John13-Jul-00 2:41 
GeneralReading an existing Excel File from C++/COM.. Pin
K M Bansal12-Jul-00 4:17
sussK M Bansal12-Jul-00 4:17 
GeneralObject to save text or number into file Pin
BJ12-Jul-00 2:06
BJ12-Jul-00 2:06 
GeneralRe: Object to save text or number into file Pin
Alex Gorev12-Jul-00 4:21
Alex Gorev12-Jul-00 4:21 
GeneralRe: Object to save text or number into file Pin
BJ12-Jul-00 5:44
BJ12-Jul-00 5:44 
GeneralName Space Extension Pin
rod7-Jul-00 8:14
rod7-Jul-00 8:14 
GeneralCalling a COM component from ASP Pin
pba_7-Jul-00 7:02
pba_7-Jul-00 7:02 
Hi,
Here is the question : I develop a COM component using ATL . In this component I have a method called "BeepMe", from where I want to return a BSTR message , as an out parameter :
BeepMe ([out] BSTR* pbstrMessage)
when I call it from an ASP page (written in Jscript):
var strRet;
Component.BeepMe(strRet);
the strRet is empty .
but, if I declare the pbstrMessage as retval ( BeeepMe([out,retval] BSTR* pbstrMessage) ) , and write :
var strRet = Component.BeepMe();
everithing works fine . The pbstrMessage is propertly initialized in the method ( *pbstrMessage = ::SysAllocString(L"Beep") ), so that isn't the problem.
I know that the VB script interpreter handle the deallocation of memory , and I suppose that is also the ASP case . That is the cause of this behavior ? ( the ASP interpreter free the memory of the returned value ? )
GeneralRe: Calling a COM component from ASP Pin
Alex Gorev7-Jul-00 8:42
Alex Gorev7-Jul-00 8:42 
QuestionHow to get IDispatch of an instance of Excel in C++ DLL called from Excel xla? Pin
leo6-Jul-00 2:11
leo6-Jul-00 2:11 
AnswerRe: How to get IDispatch of an instance of Excel in C++ DLL called from Excel xla? Pin
leo10-Jul-00 4:37
leo10-Jul-00 4:37 
AnswerRe: How to get IDispatch of an instance of Excel in C++ DLL called from Excel xla? Pin
K M Bansal12-Jul-00 4:16
sussK M Bansal12-Jul-00 4:16 
GeneralRe: How to get IDispatch of an instance of Excel in C++ DLL called from Excel xla? Pin
leo13-Jul-00 3:49
leo13-Jul-00 3:49 
QuestionHow to get Browser Helper Object pointer ? Pin
solo.ru4-Jul-00 5:43
solo.ru4-Jul-00 5:43 
AnswerRe: How to get Browser Helper Object pointer ? Pin
Alex Gorev4-Jul-00 6:14
Alex Gorev4-Jul-00 6:14 
Generalvoid* in a parameter in COM function Pin
Jafet Sánchez2-Jul-00 20:14
Jafet Sánchez2-Jul-00 20:14 
GeneralRe: void* in a parameter in COM function Pin
Alex Gorev4-Jul-00 4:33
Alex Gorev4-Jul-00 4:33 
GeneralRe: void* in a parameter in COM function Pin
Alex Gorev4-Jul-00 6:28
Alex Gorev4-Jul-00 6:28 
QuestionHow do i extract a substring from a variant or bstr Pin
spikee2-Jul-00 0:49
spikee2-Jul-00 0:49 
AnswerRe: How do i extract a substring from a variant or bstr Pin
Jafet Sánchez2-Jul-00 20:23
Jafet Sánchez2-Jul-00 20:23 
AnswerRe: How do i extract a substring from a variant or bstr Pin
Alex Gorev4-Jul-00 4:14
Alex Gorev4-Jul-00 4:14 
GeneralATL PROP_DATA_ENTRY Pin
Lakshmi Vyas30-Jun-00 6:08
Lakshmi Vyas30-Jun-00 6:08 
GeneralRe: ATL PROP_DATA_ENTRY Pin
Alex Gorev30-Jun-00 11:33
Alex Gorev30-Jun-00 11:33 
GeneralRe: ATL PROP_DATA_ENTRY Pin
Lakshmi Vyas30-Jun-00 16:54
Lakshmi Vyas30-Jun-00 16:54 
GeneralRe: ATL PROP_DATA_ENTRY Pin
Alex Gorev4-Jul-00 3:54
Alex Gorev4-Jul-00 3:54 

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.