D
Daniel Johansson
Hi
I´m new to C++ and working with passing files back and fourth to a
webservice. I have found som code in C# that does this for me but I can´t
convert it into C++. Can someone please help me with the two last lines?
DimeAttachment attachment = new DimeAttachment("application/octet-stream",
TypeFormatEnum.MediaType, ms);
HttpSoapContext.ResponseContext.Attachments.Clear();
HttpSoapContext.ResponseContext.Attachments.Add(attachment);
I keep on getting the error C2512
....
HttpSoapContext *hsc;
hsc = new HttpSoapContext;
....
is not possible
Regards
// Daniel
I´m new to C++ and working with passing files back and fourth to a
webservice. I have found som code in C# that does this for me but I can´t
convert it into C++. Can someone please help me with the two last lines?
DimeAttachment attachment = new DimeAttachment("application/octet-stream",
TypeFormatEnum.MediaType, ms);
HttpSoapContext.ResponseContext.Attachments.Clear();
HttpSoapContext.ResponseContext.Attachments.Add(attachment);
I keep on getting the error C2512
....
HttpSoapContext *hsc;
hsc = new HttpSoapContext;
....
is not possible
Regards
// Daniel