Click here to Skip to main content
15,892,059 members

Xiangyang Liu 刘向阳 - Professional Profile



Summary

    Blog RSS
3,127
Author
2,569
Authority
17,706
Debator
44
Enquirer
1,120
Organiser
2,050
Participant
0
Editor
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Reputation

Weekly Data. Recent events may not appear immediately. For information on Reputation please see the FAQ.

Privileges

Members need to achieve at least one of the given member levels in the given reputation categories in order to perform a given action. For example, to store personal files in your account area you will need to achieve Platinum level in either the Author or Authority category. The "If Owner" column means that owners of an item automatically have the privilege. The member types column lists member types who gain the privilege regardless of their reputation level.

ActionAuthorAuthorityDebatorEditorEnquirerOrganiserParticipantIf OwnerMember Types
Have no restrictions on voting frequencysilversilversilversilver
Bypass spam checks when posting contentsilversilversilversilversilversilvergoldSubEditor, Mentor, Protector, Editor
Store personal files in your account areaplatinumplatinumSubEditor, Editor
Have live hyperlinks in your profilebronzebronzebronzebronzebronzebronzesilverSubEditor, Protector, Editor
Have the ability to include a biography in your profilebronzebronzebronzebronzebronzebronzesilverSubEditor, Protector, Editor
Edit a Question in Q&AsilversilversilversilverYesSubEditor, Protector, Editor
Edit an Answer in Q&AsilversilversilversilverYesSubEditor, Protector, Editor
Delete a Question in Q&AYesSubEditor, Protector, Editor
Delete an Answer in Q&AYesSubEditor, Protector, Editor
Report an ArticlesilversilversilversilverSubEditor, Mentor, Protector, Editor
Approve/Disapprove a pending ArticlegoldgoldgoldgoldSubEditor, Mentor, Protector, Editor
Edit other members' articlesSubEditor, Protector, Editor
Create an article without requiring moderationplatinumSubEditor, Mentor, Protector, Editor
Approve/Disapprove a pending QuestionProtector
Approve/Disapprove a pending AnswerProtector
Report a forum messagesilversilverbronzeProtector, Editor
Approve/Disapprove a pending Forum MessageProtector
Have the ability to send direct emails to members in the forumsProtector
Create a new tagsilversilversilversilver
Modify a tagsilversilversilversilver

Actions with a green tick can be performed by this member.


 
GeneralRe: XySystem message processing speed Pin
Xiangyang Liu 刘向阳27-May-05 13:18
Xiangyang Liu 刘向阳27-May-05 13:18 
GeneralYour articale about sending a window message to a program running on remote host Pin
DavidR_r18-Jun-04 2:44
DavidR_r18-Jun-04 2:44 
GeneralRe: Your articale about sending a window message to a program running on remote host Pin
Xiangyang Liu 刘向阳18-Jun-04 4:03
Xiangyang Liu 刘向阳18-Jun-04 4:03 
GeneralHow to install XYNTService under an account besides Local System Pin
john.berry23-Jun-04 7:03
john.berry23-Jun-04 7:03 
GeneralRe: How to install XYNTService under an account besides Local System Pin
Xiangyang Liu 刘向阳23-Jun-04 7:48
Xiangyang Liu 刘向阳23-Jun-04 7:48 
GeneralRe: How to install XYNTService under an account besides Local System Pin
john.berry23-Jun-04 8:07
john.berry23-Jun-04 8:07 
GeneralInvokeMethod & PropertyGet vs. DispatchMethod Pin
brafalowski13-Jul-04 16:29
brafalowski13-Jul-04 16:29 
GeneralRe: InvokeMethod & PropertyGet vs. DispatchMethod Pin
Xiangyang Liu 刘向阳13-Jul-04 22:37
Xiangyang Liu 刘向阳13-Jul-04 22:37 
It looks like the "method" you want to invoke is actually a parameter. InvokeMethod does not work with parameters. You should use GetParameter instead.

However, GetParameter does not take any input for the parameter. That is a flaw of the XYDispDriver class (it was designed for "simple" com programming).

You can call the static method InvokeVariantMethod to get around this problem. Assume you have created your com object using an instance of XYDispDriver, dispDriver, here is the code:
// the output value
VARIANT varOutput;

// the input parameter
VARIANT varInput;
varInput.vt = VT_I4;
varInput.lVal =1;

// get the property by calling InvokeVariantMethod
HRESULT hRet =
XYDispDriver::InvokeVariantMethod
(
 dispDriver.GetDispatch(),
 "MessageParameter",
 DISPATCH_PROPERTYGET,
 &varOutput,
 NULL,
 1,
 varInput
);
if(hRet==S_OK)
{
// now variable "varOutput" contains the output value you want
}

Good luck.


P.S. I hope it works.






My articles and software tools





GeneralInvoke Failure Pin
brafalowski16-Jul-04 15:49
brafalowski16-Jul-04 15:49 
GeneralRe: Invoke Failure Pin
brafalowski17-Jul-04 7:15
brafalowski17-Jul-04 7:15 
GeneralASP running as a service! Pin
n30n19-Jul-04 7:10
n30n19-Jul-04 7:10 
GeneralRe: ASP running as a service! Pin
Xiangyang Liu 刘向阳19-Jul-04 7:12
Xiangyang Liu 刘向阳19-Jul-04 7:12 
GeneralRe: New Topic Pin
dalaroseyeah30-Apr-04 1:42
dalaroseyeah30-Apr-04 1:42 
GeneralRe: New Topic Pin
Xiangyang Liu 刘向阳30-Apr-04 1:51
Xiangyang Liu 刘向阳30-Apr-04 1:51 
GeneralXYDispDriver Return Types Pin
brafalowski26-Apr-04 2:15
brafalowski26-Apr-04 2:15 
GeneralRe: XYDispDriver Return Types Pin
Xiangyang Liu 刘向阳26-Apr-04 2:47
Xiangyang Liu 刘向阳26-Apr-04 2:47 
GeneralRe: XYDispDriver Return Types Pin
brafalowski26-Apr-04 2:56
brafalowski26-Apr-04 2:56 
GeneralRe: XYDispDriver Return Types Pin
brafalowski26-Apr-04 3:16
brafalowski26-Apr-04 3:16 
GeneralRe: XYDispDriver Return Types Pin
Xiangyang Liu 刘向阳26-Apr-04 3:23
Xiangyang Liu 刘向阳26-Apr-04 3:23 
GeneralVBThread Pin
terryhutt1959@hotmail.com16-Mar-04 7:07
terryhutt1959@hotmail.com16-Mar-04 7:07 
GeneralRe: VBThread Pin
terryhutt1959@hotmail.com16-Mar-04 7:32
terryhutt1959@hotmail.com16-Mar-04 7:32 
GeneralRe: VBThread Pin
Xiangyang Liu 刘向阳16-Mar-04 8:41
Xiangyang Liu 刘向阳16-Mar-04 8:41 
GeneralConnection string Pin
dodgemaster29-Dec-03 2:45
dodgemaster29-Dec-03 2:45 
GeneralRe: Connection string Pin
Xiangyang Liu 刘向阳2-Jan-04 4:29
Xiangyang Liu 刘向阳2-Jan-04 4:29 
GeneralRe: Connection string Pin
dodgemaster4-Jan-04 19:20
dodgemaster4-Jan-04 19:20 

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.