- Topics - 4
- Replies - 16
- Total Posts - 20
rc = DSM_Entry(appid, srcds, TwDG.Control, TwDAT.SetupFileXfer, TwMSG.Set, twsfFile);
where twsfFile is a SetupFileXfers structure.
I am using C#. My SetupFileXfers structure is as follows:
internal class SetupFileXfers
/* [MarshalAs( UnmanagedType.ByValArray, SizeConst=256)] – commented out */
public Byte FileName = new Byte; /* File to contain data */
public UInt16 Format; /* A TWFF_xxxx constant */
public IntPtr VrefNum; /* Used for Macintosh only */
I get a Failure report when this is called, but don’t know how to get an error code.
I suspect the structure is wrong?