Click here to Skip to main content
15,893,337 members
Home / Discussions / C#
   

C#

 
AnswerRe: Setting an object public property, protected by a security check Pin
Adam Maras14-Aug-09 23:47
Adam Maras14-Aug-09 23:47 
GeneralRe: Setting an object public property, protected by a security check Pin
pierpaolo paparo14-Aug-09 23:54
pierpaolo paparo14-Aug-09 23:54 
GeneralRe: Setting an object public property, protected by a security check Pin
Adam Maras14-Aug-09 23:59
Adam Maras14-Aug-09 23:59 
AnswerRe: Setting an object public property, protected by a security check Pin
PIEBALDconsult15-Aug-09 4:24
mvePIEBALDconsult15-Aug-09 4:24 
Questionabout the hashtable remove Pin
elvis_pan14-Aug-09 16:12
elvis_pan14-Aug-09 16:12 
AnswerRe: about the hashtable remove Pin
Luc Pattyn14-Aug-09 16:53
sitebuilderLuc Pattyn14-Aug-09 16:53 
QuestionPInvoke, varaible length arrays [Solved] Pin
DaveyM6914-Aug-09 11:29
professionalDaveyM6914-Aug-09 11:29 
AnswerRe: PInvoke, varaible length arrays [modified] Pin
Pete O'Hanlon14-Aug-09 11:44
mvePete O'Hanlon14-Aug-09 11:44 
I suspect you'll have to decorate lpData with
[MarshalAs(UnmanagedType.LPArray)]
. Turn it into
[[MarshalAs(UnmanagedType.LPArray)]
IntPtr[] lpData;
It's late here in the UK though, so my thinking may be a bit fuzzy here.


Ignore this - I hadn't noticed that lpData was pointing to MIDIEVENT, and this won't work in this situation.

"WPF has many lovers. It's a veritable porn star!" - Josh Smith

As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.


My blog | My articles | MoXAML PowerToys | Onyx



modified on Friday, August 14, 2009 5:58 PM

GeneralRe: PInvoke, varaible length arrays Pin
Luc Pattyn14-Aug-09 11:53
sitebuilderLuc Pattyn14-Aug-09 11:53 
GeneralRe: PInvoke, varaible length arrays Pin
Pete O'Hanlon14-Aug-09 11:57
mvePete O'Hanlon14-Aug-09 11:57 
GeneralRe: PInvoke, varaible length arrays Pin
DaveyM6914-Aug-09 12:15
professionalDaveyM6914-Aug-09 12:15 
AnswerRe: PInvoke, varaible length arrays Pin
Luc Pattyn14-Aug-09 11:46
sitebuilderLuc Pattyn14-Aug-09 11:46 
GeneralRe: PInvoke, varaible length arrays Pin
Pete O'Hanlon14-Aug-09 11:54
mvePete O'Hanlon14-Aug-09 11:54 
GeneralRe: PInvoke, varaible length arrays Pin
Luc Pattyn14-Aug-09 11:56
sitebuilderLuc Pattyn14-Aug-09 11:56 
GeneralRe: PInvoke, varaible length arrays Pin
Pete O'Hanlon14-Aug-09 11:59
mvePete O'Hanlon14-Aug-09 11:59 
GeneralRe: PInvoke, varaible length arrays Pin
Luc Pattyn14-Aug-09 12:03
sitebuilderLuc Pattyn14-Aug-09 12:03 
GeneralRe: PInvoke, varaible length arrays [Solved] Pin
DaveyM6914-Aug-09 12:09
professionalDaveyM6914-Aug-09 12:09 
GeneralRe: PInvoke, varaible length arrays [Solved] Pin
Luc Pattyn14-Aug-09 12:17
sitebuilderLuc Pattyn14-Aug-09 12:17 
GeneralRe: PInvoke, varaible length arrays [Solved] Pin
DaveyM6914-Aug-09 12:54
professionalDaveyM6914-Aug-09 12:54 
GeneralRe: PInvoke, varaible length arrays [Solved] Pin
Luc Pattyn14-Aug-09 13:01
sitebuilderLuc Pattyn14-Aug-09 13:01 
GeneralRe: PInvoke, varaible length arrays [Solved] Pin
DaveyM6914-Aug-09 13:08
professionalDaveyM6914-Aug-09 13:08 
GeneralRe: PInvoke, varaible length arrays [Solved] Pin
DaveyM6921-Apr-10 10:38
professionalDaveyM6921-Apr-10 10:38 
AnswerRe: PInvoke, varaible length arrays Pin
Hristo-Bojilov14-Aug-09 12:15
Hristo-Bojilov14-Aug-09 12:15 
GeneralRe: PInvoke, varaible length arrays Pin
DaveyM6914-Aug-09 12:20
professionalDaveyM6914-Aug-09 12:20 
GeneralRe: PInvoke, varaible length arrays [modified] Pin
Hristo-Bojilov14-Aug-09 12:33
Hristo-Bojilov14-Aug-09 12:33 

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.