Re: How to Send Multiple UDTs via Connection Point
From: Alexander Nickolov (agnickolov_at_mvps.org)
Date: 12/08/04
- Next message: Alexander Nickolov: "Re: Admin rights"
- Previous message: Alexander Nickolov: "Re: Destroy the parent of the control"
- In reply to: Dennis Vansickle: "Re: How to Send Multiple UDTs via Connection Point"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 8 Dec 2004 14:33:04 -0800
Good, I didn't scan it as far down...
-- ===================================== Alexander Nickolov Microsoft MVP [VC], MCSD email: agnickolov@mvps.org MVP VC FAQ: http://www.mvps.org/vcfaq ===================================== "Dennis Vansickle" <DennisVansickle@discussions.microsoft.com> wrote in message news:CF49D811-95DF-4351-8F9C-83289A281B2E@microsoft.com... > Alexander, > > Thank you. I found the problem thanks to this. I took a closer look at > the > DISPPARAMS and found that I had the incorrect value for the cArgs. I was > sending 1 instead of 2. My fault for doing a quick copy & paste of the > other > implementation. > > // WRONG > DISPPARAMS disp = { pvars, NULL, 1, 0 }; > > // CORRECTED > DISPPARAMS disp = { pvars, NULL, 2, 0 }; > > Thanks again. > > Sincerely, > Dennis > > > "Alexander Nickolov" wrote: > >> You forgot to reverse the order of arguments in the >> DISPPARAMS array. >> >> -- >> ===================================== >> Alexander Nickolov >> Microsoft MVP [VC], MCSD >> email: agnickolov@mvps.org >> MVP VC FAQ: http://www.mvps.org/vcfaq >> ===================================== >
- Next message: Alexander Nickolov: "Re: Admin rights"
- Previous message: Alexander Nickolov: "Re: Destroy the parent of the control"
- In reply to: Dennis Vansickle: "Re: How to Send Multiple UDTs via Connection Point"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|