Skip to content

Library crashes on native methods call #6

@pingvincible

Description

@pingvincible

Hi, I have Windows 8.1 professional OS. I've downloaded UsbEject library and created simple winforms project. And I have lots of errors with native method calls. One of error is "The supplied user buffer is not valid for the requested operation" when calling

Native.SetupDiGetDeviceInterfaceDetail(_deviceInfoSet, interfaceData, buffer ,size, ref size, devData)
in DeviceClass.

I tried x86, x64, AnyCPU configurations and I got different errors on different native function calls.

Can you help me with this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions