CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: LTAN

Search: Search took 0.02 seconds.

  1. Replies
    8
    Views
    20,392

    [StructLayout(LayoutKind.Sequential)] private...

    [StructLayout(LayoutKind.Sequential)]
    private class UUID
    {
    public int data1;
    public short data2;
    public short data3;
    [MarshalAs(UnmanagedType.ByValArray, SizeConst = 8)]
    public byte[]...
  2. Replies
    8
    Views
    20,392

    Solution

    Yes. I did.

    Here's the sample:

    [DllImport("Oleacc.dll")]
    private static extern int AccessibleObjectFromWindow(int windowHandle, int objectID, UUID refID, IntPtr accessibleObject);

    private...
  3. Replies
    8
    Views
    20,392

    How to Marshal AccessibleObjectFromWindow

    Hi all,

    I've been trying to marshal AccessibileObjectFromWindow without luck. The code compiles but I get an exception at the line Marshal.Queryinterface which reads...
Results 1 to 3 of 3





Click Here to Expand Forum to Full Width

Featured