| |

VerySource

 Forgot password?
 Register
Search
View: 1291|Reply: 5

What does InvokeHelper function mean

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-19 23:40:01
| Show all posts |Read mode
I am doing the course design of that communication. I downloaded some vc source code from the Internet and found a lot of calls to InvokeHelper function. After checking a lot of information, I still can't figure out what those parameters are.
For example
InvokeHelper (0x1c, DISPATCH_PROPERTYGET, VT_BOOL, (void *)&result, NULL);
           InvokeHelper (0x1d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, nNewValue);
        and many more
I don't think the MSDN is clear
So which friend knows what to say
Wait thank you !!!!!!!!!!!!!!!!!!!!! 1
Reply

Use magic Report

0

Threads

6

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-3-31 10:45:01
| Show all posts
This code is generated by ide itself, probably a function method of calling the component.
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-20 12:15:02
| Show all posts
It feels like the stuff in the COM component
Reply

Use magic Report

0

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-8-20 14:00:01
| Show all posts
When you call related methods in the ActiveX control, you need to import this control into the program, and a pseudo-calling class about this control call will be generated in the project. Each method called in the cpp is The dwDispID value is called by InvokeHelper to locate the address of the method! Therefore, the InvokeHelper call can be understood as a means of locating related methods in the activex control!
Reply

Use magic Report

0

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-8-20 14:30:02
| Show all posts
invokehelper: A wrapper method used to invoke the IDispatch interface method of OLE.
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-24 11:00:01
| Show all posts
Thanks,luluzhao,widmen
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list