Click here to Skip to main content
15,910,211 members
Home / Discussions / COM
   

COM

 
GeneralCreating a Typelib Pin
Brigg Thorp1-Aug-02 7:13
Brigg Thorp1-Aug-02 7:13 
GeneralRe: Creating a Typelib Pin
Vi21-Aug-02 19:31
Vi21-Aug-02 19:31 
GeneralWeb Services Implementation Guide Pin
Stanford Powers31-Jul-02 18:36
sussStanford Powers31-Jul-02 18:36 
General! SPAM ! Pin
soptest1-Aug-02 7:01
soptest1-Aug-02 7:01 
QuestionNow why doesn't this COMPILE!?!?!? Pin
Tommy Svensson31-Jul-02 6:42
Tommy Svensson31-Jul-02 6:42 
AnswerRe: Now why doesn't this COMPILE!?!?!? Pin
soptest31-Jul-02 9:07
soptest31-Jul-02 9:07 
GeneralNeed a starting point Pin
yeeeooowww31-Jul-02 6:18
yeeeooowww31-Jul-02 6:18 
GeneralIDispatch:Invoke - Runtime Access Violation error when accessing DISPARARAM &dp Pin
tm31-Jul-02 5:34
tm31-Jul-02 5:34 
before invoking the IDispacth::invoke I do the following:

BOOL CLASSNAME ::InvokeGetValue(
IDispatch *InDispatch,
DISPID& InDispId,
LCID& InLcid,
long InUserComId,
CString& OutValue, BOOL bAdhocCom, int NumToReserve, CString& Name1, CString& Name2)
{
CString strReturn;
VARIANTARG va;
EXCEPINFO exInfo;
UINT uErr;
DISPPARAMS dp;
HRESULT hr;

BSTR argConversion;

BSTR sName1= Name1.AllocSysString();
BSTR sName2= Name2.AllocSysString();

Num=32;
int nArgs = 3;
dp.cArgs = nArgs;
dp.cNamedArgs = 0;

//////???AT RUN TIME IT CRASHES ON THE NEXT INSTRUCTION
///// COMPLAINIG ABOUT UNHANDLED EXCEPTION- ACCESS VIOLATION
dp.rgvarg[0].vt = VT_I2;
dp.rgvarg[0].iVal = NumToReserve;



ANY HELP IS HIGHLY APPRECIATED.



Paradise is where I am.
Voltaire
GeneralRe: IDispatch:Invoke - Runtime Access Violation error when accessing DISPARARAM &dp Pin
Lily1831-Jul-02 6:14
Lily1831-Jul-02 6:14 
GeneralRe: IDispatch:Invoke - Runtime Access Violation error when accessing DISPARARAM &dp Pin
tm31-Jul-02 7:35
tm31-Jul-02 7:35 
GeneralCreating a Microsoft Word plugin ! Pin
Maerlin31-Jul-02 5:00
Maerlin31-Jul-02 5:00 
GeneralRe: Creating a Microsoft Word plugin ! Pin
Anonymous31-Jul-02 8:27
Anonymous31-Jul-02 8:27 
QuestionHow to talk to IE Internet Options + misc? Pin
Tommy Svensson31-Jul-02 1:31
Tommy Svensson31-Jul-02 1:31 
QuestionHow can I define packed structure in IDL? Pin
magicast30-Jul-02 22:21
magicast30-Jul-02 22:21 
AnswerRe: How can I define packed structure in IDL? Pin
Mark Janveaux4-Aug-02 20:34
Mark Janveaux4-Aug-02 20:34 
GeneralOLESCRIPT_E_SYNTAX Pin
Roman Nurik30-Jul-02 18:07
Roman Nurik30-Jul-02 18:07 
GeneralATL Problems ??? Ask for help ! Pin
Leesen30-Jul-02 16:06
Leesen30-Jul-02 16:06 
GeneralRe: ATL Problems ??? Ask for help ! Pin
Vi230-Jul-02 20:27
Vi230-Jul-02 20:27 
GeneralRe: ATL Problems ??? Ask for help ! Pin
Leesen31-Jul-02 1:45
Leesen31-Jul-02 1:45 
GeneralRe: ATL Problems ??? Ask for help ! Pin
Vi231-Jul-02 2:48
Vi231-Jul-02 2:48 
GeneralRe: ATL Problems ??? Ask for help ! Pin
Leesen3-Aug-02 22:51
Leesen3-Aug-02 22:51 
GeneralRe: ATL Problems ??? Ask for help ! Pin
Philippe Mori6-Aug-02 13:20
Philippe Mori6-Aug-02 13:20 
Generalcompilation problem with #import Pin
Lily1830-Jul-02 8:49
Lily1830-Jul-02 8:49 
GeneralRe: compilation problem with #import Pin
Gertjan Schuurmans4-Aug-02 3:12
Gertjan Schuurmans4-Aug-02 3:12 
QuestionHow to do this in MFC Pin
Anonymous29-Jul-02 21:03
Anonymous29-Jul-02 21:03 

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.