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

Managed C++/CLI

 
GeneralRe: Directshow methods in VC++ Windows forms application Pin
Mark Salsbery27-Jun-08 6:38
Mark Salsbery27-Jun-08 6:38 
GeneralRe: Directshow methods in VC++ Windows forms application Pin
Mark Salsbery27-Jun-08 6:16
Mark Salsbery27-Jun-08 6:16 
GeneralRe: Directshow methods in VC++ Windows forms application Pin
bhanu_850927-Jun-08 6:38
bhanu_850927-Jun-08 6:38 
GeneralRe: Directshow methods in VC++ Windows forms application Pin
Mark Salsbery27-Jun-08 6:43
Mark Salsbery27-Jun-08 6:43 
GeneralRe: Directshow methods in VC++ Windows forms application Pin
bhanu_850927-Jun-08 6:48
bhanu_850927-Jun-08 6:48 
GeneralRe: Directshow methods in VC++ Windows forms application Pin
Mark Salsbery27-Jun-08 7:05
Mark Salsbery27-Jun-08 7:05 
GeneralRe: Directshow methods in VC++ Windows forms application Pin
bhanu_850927-Jun-08 21:13
bhanu_850927-Jun-08 21:13 
QuestionReferncing a wsdl created by axis2 in Visual studio2008 [modified] Pin
Xaria23-Jun-08 5:01
Xaria23-Jun-08 5:01 
I have a wsdl generated by axis2. My project is developed in VC++ using Visual Studio2008. Now, when I add a web reference to the project I get a lot of syntax errors and schema warnings.
Following is a snippet of the generated error

1>------ Build started: Project: TrumpotConsole, Configuration: Debug Win32 ------
1>Creating web service proxy file for HermesCoreService ...
1>Schema validation warning: Schema item 'element' named 'getContactResponse' from namespace 'http://quickstart.samples/xsd' is invalid. Namespace 'http://pojo.webservice.hermes.com/xsd' is not available to be referenced in this schema.
1>Schema validation warning: Schema item 'element' named 'getNotificationResponse' from namespace 'http://quickstart.samples/xsd' is invalid. Namespace 'http://pojo.webservice.hermes.com/xsd' is not available to be referenced in this schema.

1>Writing file 'HermesCoreService.h'.
1>HermesCoreService.h
1>HermesCoreService.h(49) : error C2059: syntax error : 'public'
1>HermesCoreService.h(49) : error C2027: use of undefined type 'HermesCoreService::HermesCoreService'
1> HermesCoreService.h(22) : see declaration of 'HermesCoreService::HermesCoreService'
1>HermesCoreService.h(53) : error C2059: syntax error : 'public'
1>HermesCoreService.h(53) : error C2027: use of undefined type 'HermesCoreService::HermesCoreService'
1> HermesCoreService.h(22) : see declaration of 'HermesCoreService::HermesCoreService'
1>HermesCoreService.h(151) : error C2146: syntax error : missing ';' before identifier 'getUpdatesCompletedEventHandler'
1>HermesCoreService.h(151) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>HermesCoreService.h(151) : error C2143: syntax error : missing ';' before '^'
1>HermesCoreService.h(151) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>HermesCoreService.h(151) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int


The first few lines of the HemesCoreservice.h are as follows

#pragma once

#using <mscorlib.dll>
#using <system.dll>
#using <system.xml.dll>
#using <system.web.services.dll>
#using <system.enterpriseservices.dll>

using namespace System::Security::Permissions;
[assembly:SecurityPermissionAttribute(SecurityAction::RequestMinimum, SkipVerification=false)];
//
// This source code was auto-generated by wsdl, Version=2.0.50727.1432.
//
namespace HermesCoreService {
using namespace System::Diagnostics;
using namespace System::Web::Services;
using namespace System::ComponentModel;
using namespace System::Web::Services::Protocols;
using namespace System;
using namespace System::Xml::Serialization;
using namespace System;
ref class HermesCoreService; // this is line no 22
ref class Updates;

and the HemesCorService.wsdl

<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:ns1="http://quickstart.samples/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ns0="http://pojo.webservice.hermes.com/xsd" targetnamespace="http://quickstart.samples/xsd" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:documentation>HermesCoreService</wsdl:documentation>
<wsdl:types>
<xs:schema xmlns:ax21="http://pojo.webservice.hermes.com/xsd" attributeformdefault="qualified" elementformdefault="qualified" targetnamespace="http://pojo.webservice.hermes.com/xsd">
<xs:complextype name="Contact">
<xs:sequence>
<xs:element minoccurs="0" name="contactGroup" nillable="true" type="xs:string" />
<xs:element minoccurs="0" name="firstName" nillable="true" type="xs:string" />
<xs:element minoccurs="0" name="gender" type="xs:int" />
<xs:element minoccurs="0" name="lastIp" nillable="true" type="xs:string" />
<xs:element minoccurs="0" name="lastName" nillable="true" type="xs:string" />
<xs:element minoccurs="0" name="status" type="xs:int" />
<xs:element minoccurs="0" name="userAvatarLink" nillable="true" type="xs:string" />
<xs:element minoccurs="0" name="userId" type="xs:int" />
<xs:element minoccurs="0" name="userNick" nillable="true" type="xs:string" />
<xs:element minoccurs="0" name="userSessionId" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complextype> </xs:schema></wsdl:types></wsdl:definitions></system.enterpriseservices.dll></system.web.services.dll></system.xml.dll></system.dll></mscorlib.dll>

modified on Monday, June 23, 2008 10:16 PM
AnswerRe: Referncing a wsdl created by axis2 in Visual studio2008 Pin
led mike23-Jun-08 5:59
led mike23-Jun-08 5:59 
QuestionDark GDK Pin
Manfr3d23-Jun-08 2:48
Manfr3d23-Jun-08 2:48 
AnswerRe: Dark GDK Pin
led mike23-Jun-08 4:57
led mike23-Jun-08 4:57 
GeneralRe: Dark GDK Pin
Manfr3d23-Jun-08 5:07
Manfr3d23-Jun-08 5:07 
GeneralRe: Dark GDK Pin
led mike23-Jun-08 5:56
led mike23-Jun-08 5:56 
QuestionI couldn,t able to select Pin
rose19621-Jun-08 1:51
rose19621-Jun-08 1:51 
AnswerRe: I couldn,t able to select Pin
Mark Salsbery24-Jun-08 6:16
Mark Salsbery24-Jun-08 6:16 
QuestionDataGridView in a GroupBox Pin
Oddball19-Jun-08 7:42
Oddball19-Jun-08 7:42 
QuestionCan you suspend the OnPaint function? Pin
BuckBrown18-Jun-08 7:37
BuckBrown18-Jun-08 7:37 
AnswerRe: Can you suspend the OnPaint function? Pin
Christian Graus23-Jun-08 12:01
protectorChristian Graus23-Jun-08 12:01 
AnswerRe: Can you suspend the OnPaint function? Pin
Luc Pattyn23-Jun-08 14:39
sitebuilderLuc Pattyn23-Jun-08 14:39 
GeneralRe: Can you suspend the OnPaint function? Pin
BuckBrown25-Jun-08 12:14
BuckBrown25-Jun-08 12:14 
QuestionCan you use Forms Designer to index controls? Pin
BuckBrown17-Jun-08 10:54
BuckBrown17-Jun-08 10:54 
AnswerRe: Can you use Forms Designer to index controls? [modified] Pin
Mark Salsbery17-Jun-08 11:38
Mark Salsbery17-Jun-08 11:38 
GeneralRe: Can you use Forms Designer to index controls? Pin
led mike19-Jun-08 6:11
led mike19-Jun-08 6:11 
GeneralRe: Can you use Forms Designer to index controls? Pin
Mark Salsbery19-Jun-08 6:18
Mark Salsbery19-Jun-08 6:18 
GeneralRe: Can you use Forms Designer to index controls? Pin
led mike19-Jun-08 6:23
led mike19-Jun-08 6:23 

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.