Click here to Skip to main content
15,892,161 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: InvokeMethod & PropertyGet vs. DispatchMethod Pin
Xiangyang Liu 刘向阳13-Jul-04 22:37
Xiangyang Liu 刘向阳13-Jul-04 22:37 
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 
Hello Xiangyang Liu,

I am attempting to use your XYDispDriver and I am a COM novice. When I create my COM object one method is shown in output as follows with DEBUG turned on:

1: DispID = 32905
MethodName = OpenConnection
DispatchMethod
VTable offset: 0
Calling convention: 4
Return type = 26 (Not sure what this represents?)
ParamCount = 3
Param(0) type = 8
Param(1) type = 12
Param(2) type = 12

My Code to Invoke this Method is like this:
VARIANT* pOutput = disp.InvokeMethod("OpenConnection", "My Info",true, true);
When I call this method it returns OK with a VT_DISPATCH vartype.

I opened an MFC project and added the OCX Control and it generated the following method code:

CSapConnectionTarget Csapfewse::OpenConnection(LPCTSTR Description, const VARIANT& Sync, const VARIANT& Raise)
{
LPDISPATCH pDispatch;
static BYTE parms[] =
VTS_BSTR VTS_VARIANT VTS_VARIANT;
InvokeHelper(0x8089, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, parms,
Description, &Sync, &Raise);
return CSapConnectionTarget(pDispatch);
}

CSapConnectionTarget has its own methods and properties which I would like to call. Can you help me understand how I would do this through the "pOutput" return type of VT_DISPATCH? I think I'm interested in the "IDispatch FAR* pdispVal" of pOutput?



Brian
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 
GeneralHow can I receive the event Pin
chaocai16-Dec-03 14:50
chaocai16-Dec-03 14:50 
GeneralRe: How can I receive the event Pin
Xiangyang Liu 刘向阳16-Dec-03 20:24
Xiangyang Liu 刘向阳16-Dec-03 20:24 
GeneralSome question about your GetObject Pin
chaocai9-Dec-03 14:03
chaocai9-Dec-03 14:03 
GeneralRe: Some question about your GetObject Pin
Xiangyang Liu 刘向阳10-Dec-03 23:53
Xiangyang Liu 刘向阳10-Dec-03 23:53 
GeneralRe: Some question about your GetObject Pin
chaocai11-Dec-03 16:33
chaocai11-Dec-03 16:33 
GeneralRe: Some question about your GetObject Pin
Xiangyang Liu 刘向阳11-Dec-03 21:00
Xiangyang Liu 刘向阳11-Dec-03 21:00 
GeneralRe: New Topic Pin
DJ_Catboy10-Dec-03 3:37
DJ_Catboy10-Dec-03 3:37 

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.