libraw interface

Ok a dumb question I not a C programmer I have an extensive image pgm written in Vb net. I used DC raw with
bm = Bitmap.FromStream(process__1.StandardOutput.BaseStream) process__1.WaitForExit()
works great
It just catches the stream and directs it to a bitmap

I have tried a gazillion ways to do this with libraw. I can get it to write file , tiff etc but no pipe back
Yes yes a better way would be some form of integration dll or something but this is beyond me

Any help would be great - and no poo on Vb thanks

I have managed a great pgm, content aware and stuff like that

Forums: 

LibRaw (library) provides

LibRaw (library) provides dcraw_make_mem_image() call, it should be accessible via VB.

.dll is provided with Win32 builds

-- Alex Tutubalin

DCRAW_MAKE_MEM_IMAGE

So the -c is used for something else in Libraw. I am not successful in adding (VB Net 2015) a reference to LibRaw Dll
It just refuses to add it. I was not able to register it in Windows. So I am way off base Do I need anything more than the DLL? I wonder if there is anyone around who has actually done this. Just a bit of help would be good
Do I need to add anything more than the Dll My program finds and runs all the version emu, simple, etc but it wil lnt
pipe to memory
Help please

Its my lack of C (I am 80 and once used assembly language but not much C)