Hello. I'm trying to use a .dll (c++ written) which would help me in my job of treating mpeg2 files, but I've got some problems when I try to use it.
My problems resides in this function:
I'm not sure how to define it in my c# code. I've tried many things:
public static extern string GetMPEG2Frame();
public static extern StringBuilder GetMPEG2Frame();
public static extern IntPtr GetMPEG2Frame();
but I always get an AccessViolationException.
Could somebody help me????
Thank you very much and sorry for my bad English.