Click here to Skip to main content
15,888,351 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
Generalerror C2451 confusion Pin
Anonymous27-Mar-05 17:14
Anonymous27-Mar-05 17:14 
GeneralIMAGES TO MOVIE file Pin
Emiliano27-Mar-05 14:15
Emiliano27-Mar-05 14:15 
GeneralRe: IMAGES TO MOVIE file Pin
Christian Graus30-Mar-05 12:04
protectorChristian Graus30-Mar-05 12:04 
GeneralRe: IMAGES TO MOVIE file Pin
Emiliano30-Mar-05 12:40
Emiliano30-Mar-05 12:40 
GeneralRe: IMAGES TO MOVIE file Pin
Christian Graus30-Mar-05 12:47
protectorChristian Graus30-Mar-05 12:47 
QuestionUDP Socket sample code is needed??? Pin
Kimdave23-Mar-05 22:13
Kimdave23-Mar-05 22:13 
AnswerRe: UDP Socket sample code is needed??? Pin
eli1502197926-Mar-05 20:54
eli1502197926-Mar-05 20:54 
QuestionHow do you call COM from a C++ web service? Pin
Chris Disdero22-Mar-05 16:10
Chris Disdero22-Mar-05 16:10 
I have a simple default C++ web service created with the wizards in Visual Studio .NET 2003:

#include "stdafx.h"
#include "blipwebClass.h"
#include "Global.asax.h"

#using <mscorlib.dll>
#using "BLIPSVRLib.dll"

using namespace BLIPSVR;

namespace blipweb
{
String __gc* blipwebClass::HelloWorld()
{
Interop::BLIPSVRLib::BlipClass *p = new Interop::BLIPSVRLib::BlipClass();
return(p->Puke());
}
};

I have added a reference to a simple ATL COM server I created with Visual Studio C++ 6.0 SP5 that exposes the BlipClass object and the method called 'Puke'. The minute you click the invoke button on the web service page, the page fails to come up and displays error 500 in the browser. If I do this from a Managed C++ console app, creating BlipClass and calling its Puke method works perfectly. Also, if I create a C# web service and add a reference to the BLIPSVRLib, creating the BlipClass object and calling its Puke method works perfectly. Why doesn't it work in a Managed C++ web service? Uggg!

Thanks in advance for any help,
Chris Disdero
Everett, WA USA
GeneralCorrupt output from WideCharToMultiByte. Pin
zen0n21-Mar-05 1:31
zen0n21-Mar-05 1:31 
GeneralRe: Corrupt output from WideCharToMultiByte. Pin
zen0n21-Mar-05 20:23
zen0n21-Mar-05 20:23 
GeneralC++ Windows Socket Problem. Pin
Anonymous20-Mar-05 9:06
Anonymous20-Mar-05 9:06 
GeneralRe: C++ Windows Socket Problem. Pin
Christian Graus20-Mar-05 13:44
protectorChristian Graus20-Mar-05 13:44 
GeneralRe: C++ Windows Socket Problem. Pin
toxcct22-Mar-05 4:10
toxcct22-Mar-05 4:10 
Generalplllzzz help me out:producer- consumer program urgently needed Pin
pradeep reddy19-Mar-05 20:26
pradeep reddy19-Mar-05 20:26 
GeneralRe: plllzzz help me out:producer- consumer program urgently needed Pin
Christian Graus20-Mar-05 13:43
protectorChristian Graus20-Mar-05 13:43 
GeneralRe: plllzzz help me out:producer- consumer program urgently needed Pin
skonopa23-Mar-05 3:50
skonopa23-Mar-05 3:50 
GeneralRe: plllzzz help me out:producer- consumer program urgently needed Pin
Christian Graus23-Mar-05 11:12
protectorChristian Graus23-Mar-05 11:12 
QuestionControlling ActiveChild form from MDI Parent - How? Pin
Francis TA19-Mar-05 5:18
sussFrancis TA19-Mar-05 5:18 
GeneralMultiple DllImportAttribute Statements Problem Pin
Chikky17-Mar-05 12:21
Chikky17-Mar-05 12:21 
GeneralRe: Multiple DllImportAttribute Statements Problem Pin
Chikky24-Mar-05 11:43
Chikky24-Mar-05 11:43 
Generalclosing a form/dialog Pin
doneirik16-Mar-05 1:36
doneirik16-Mar-05 1:36 
GeneralRe: closing a form/dialog Pin
Christian Graus16-Mar-05 15:43
protectorChristian Graus16-Mar-05 15:43 
GeneralRe: closing a form/dialog Pin
Anonymous18-Mar-05 20:58
Anonymous18-Mar-05 20:58 
QuestionCan i write a Dialog Based Program on DLL Pin
popo8414-Mar-05 15:47
popo8414-Mar-05 15:47 
AnswerRe: Can i write a Dialog Based Program on DLL Pin
User 91483328-Mar-05 12:02
User 91483328-Mar-05 12:02 

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.