#194 Something has problem in COM/Automation

closed-fixed
Earnie Boyd
MinGW (56)
2002-09-29
2002-09-28
Hanzac Chen
No
I'm a user of Dev-Cpp, but its developer told

me that the problem might relate with MingW.
Sorry to have troubled you...^_^&thank u if u can solve
the problem or tell me anything useful!

Here it is:

When I want to use IDispatch::Invoke method, I can't
normally pass the variants!

When I set:
dIspParams.cArgs=1;
dIspParams.rgvarg=&vARG;
dIspParams.cNamedArgs=0;
dIspParams.rgdispidNamedArgs=NULL;
It failed! It tells DISP_E_TYPEMISMATCH!

But when I set:
dIspParams.cArgs=0;
dIspParams.rgvarg=NULL;
dIspParams.cNamedArgs=0;
dIspParams.rgdispidNamedArgs=NULL;
Some method needing no vars can run successfully!

System specification...

CPU: Athlon XP 1600+
Mainboard: SiS 740
Platform ID: Winblows 9x
Platform Version: 4.90
Platform Build Number: 3000

Discussion

  • Luke Dunstan
    Luke Dunstan
    2002-09-29

    • status: open --> closed-fixed