Question

I have been working on implementing ImDisk into my C# project, where I can create RAMDisk on the fly. Unfortunately due to absolutely no examples, I am at a bit lost as to how to resolve this issue.

I am receiving the error Unable to find an entry point named '_ImDiskFindFreeDriveLetter@0' in DLL 'imdisk.cpl'. which, after Google searches, is apparently from not initiating an object. However, ImDiskAPI has no constructors, and cannot be initiated in that manner, so I am at a bit of a stand-still. When I attempt to initialize an instance, I get The type 'LTR.IO.ImDisk.ImDiskAPI' has no constructors defined

Does anyone have any idea what I can do to get this going?

Was it helpful?

Solution

The error indicates that there is a DLL missing. You need to place the ImDisk.cpl file into your application's directory. The managed wrapper library needs the ImDisk.cpl file to function properly.

Hope, this helps.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top