Click here to Skip to main content
15,918,808 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: fopen (* delete *) Pin
Mahesh Varma19-Aug-03 17:49
Mahesh Varma19-Aug-03 17:49 
GeneralHelp in SDI Pin
Snyp19-Aug-03 13:15
Snyp19-Aug-03 13:15 
GeneralRe: Help in SDI Pin
David Crow20-Aug-03 2:37
David Crow20-Aug-03 2:37 
GeneralWindows message queue Pin
kumarjainendra19-Aug-03 12:21
kumarjainendra19-Aug-03 12:21 
GeneralRe: Windows message queue Pin
Michael Dunn19-Aug-03 12:32
sitebuilderMichael Dunn19-Aug-03 12:32 
GeneralRe: Windows message queue Pin
John M. Drescher19-Aug-03 13:56
John M. Drescher19-Aug-03 13:56 
GeneralOCX Control Dispatching Pin
BarryPearlman19-Aug-03 10:37
BarryPearlman19-Aug-03 10:37 
General"No appropriate constructor available" Pin
adaoja19-Aug-03 10:24
adaoja19-Aug-03 10:24 
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
GeneralRe: "No appropriate constructor available" Pin
David Crow19-Aug-03 10:50
David Crow19-Aug-03 10:50 
GeneralRe: "No appropriate constructor available" Pin
adaoja19-Aug-03 22:20
adaoja19-Aug-03 22:20 
GeneralRe: "No appropriate constructor available" Pin
David Crow20-Aug-03 2:29
David Crow20-Aug-03 2:29 
GeneralRe: "No appropriate constructor available" Pin
adaoja20-Aug-03 3:04
adaoja20-Aug-03 3:04 
GeneralRe: "No appropriate constructor available" Pin
David Crow20-Aug-03 3:47
David Crow20-Aug-03 3:47 
GeneralRe: "No appropriate constructor available" Pin
adaoja20-Aug-03 4:12
adaoja20-Aug-03 4:12 
GeneralRe: "No appropriate constructor available" Pin
David Crow20-Aug-03 4:16
David Crow20-Aug-03 4:16 
GeneralRe: "No appropriate constructor available" Pin
Christian Graus19-Aug-03 11:08
protectorChristian Graus19-Aug-03 11:08 
GeneralRe: "No appropriate constructor available" Pin
Steve S19-Aug-03 21:59
Steve S19-Aug-03 21:59 
GeneralRe: "No appropriate constructor available" Pin
adaoja19-Aug-03 22:23
adaoja19-Aug-03 22:23 
GeneralRe: "No appropriate constructor available" Pin
David Crow20-Aug-03 2:28
David Crow20-Aug-03 2:28 
GeneralSpy++ can not capture message of this window Pin
Shawn Ning19-Aug-03 10:10
Shawn Ning19-Aug-03 10:10 
GeneralRe: Spy++ can not capture message of this window Pin
HPSI19-Aug-03 11:11
HPSI19-Aug-03 11:11 
GeneralWebcam with MFC Pin
MKlucher19-Aug-03 10:10
MKlucher19-Aug-03 10:10 
GeneralRe: Webcam with MFC Pin
HPSI19-Aug-03 11:16
HPSI19-Aug-03 11:16 
Generalerasing a list entry Pin
Kuniva19-Aug-03 8:32
Kuniva19-Aug-03 8:32 
GeneralNVM Pin
Kuniva19-Aug-03 10:07
Kuniva19-Aug-03 10:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.