Click here to Skip to main content
16,015,351 members
Home / Discussions / C#
   

C#

 
GeneralRe: Simple way to play audio/video file in form? Pin
TrooperIronMan11-Jan-07 14:00
TrooperIronMan11-Jan-07 14:00 
GeneralRe: Simple way to play audio/video file in form? Pin
Ed.Poore11-Jan-07 20:13
Ed.Poore11-Jan-07 20:13 
QuestionTrap DataGrid Sort Event Pin
swjam11-Jan-07 11:31
swjam11-Jan-07 11:31 
AnswerRe: Trap DataGrid Sort Event Pin
Jamestown4811-Jan-07 12:34
Jamestown4811-Jan-07 12:34 
GeneralRe: Trap DataGrid Sort Event Pin
swjam11-Jan-07 12:45
swjam11-Jan-07 12:45 
QuestionLanguage Translation in .Net Web application Pin
suvarna joshi11-Jan-07 11:09
suvarna joshi11-Jan-07 11:09 
AnswerRe: Language Translation in .Net Web application Pin
led mike11-Jan-07 11:16
led mike11-Jan-07 11:16 
QuestionHeader files included in Web Services? Pin
joeller11-Jan-07 10:34
professionaljoeller11-Jan-07 10:34 
I have a question that I am sure has been answered many times but I have been unable to find any references on the internet and my attempts to program the situation keep failing and I am running out of time.

In designing ASP.Net Web Applications with c# and VB.net I have been able to deploy these applications with only the contents of the bin directory. When I have included third party or in-house class library in the Web app I only needed to include the assembly file (dll) of the class library I am referencing.

Now I am trying to analyze alternative designs for a Web service which references a C++ DLL. We want to redesign the DLL as a Visual C++ 2005 DLL, and to reference that assembly in the Web service project. One of the alternatives is to create a visual C++ 2005 ASP.Net web service that references the DLL. I want to report in my evaluation of this alternative that creating a refereence to this Managed assembly of the class library eliminates the need for including the header files in your Web service project. I also want to say that deployment would only require copying the Web service's assembly and the class library's assembly into the bin. (In addtion to the disco, the web config, the asmx, the asax, etc.) But it occured to me I had never actually tested that. Nor had I seen anything written on that. So I tested it first for a c# web service which of course verified my second point. However, when I tested a C++ Web Service I was either unable to successfully compile the Web service, (Error kept reporting the DLL had no copy constructor (which it didn't) when attempting to instantiate object using gcnew:
TestDLL::clsPerson^ Me = gcnew TestDLL::clsPerson;

or else it would compile successfully but error in the invoke method of the debug when I declared it with out instantiating it.

TestDLL::clsPerson^ Me;

(note I did not use it at all in the return from the Web service.)

At this time I really do not care why it failed I just want an answer to my question.

Is it necessary to include the header files from a Managed class library in the Web service when the assembly is referenced using VS 2005 "add reference"?

Please help me as this is VERY time sensitive. I need to have this information by Friday 1/12/2007 3:00 PM EST. After that I will have failed in my mandate and it will be of no importance to me as I will be looking for work. Thanks in advance.






Edward R. Joell
MCSD MCDBA
QuestionVisual C# Pin
BlitzPackage11-Jan-07 9:20
BlitzPackage11-Jan-07 9:20 
AnswerRe: Visual C# Pin
netJP12L11-Jan-07 9:46
netJP12L11-Jan-07 9:46 
AnswerRe: Visual C# Pin
Ed.Poore11-Jan-07 9:46
Ed.Poore11-Jan-07 9:46 
GeneralRe: Visual C# Pin
TrooperIronMan11-Jan-07 12:02
TrooperIronMan11-Jan-07 12:02 
GeneralRe: Visual C# Pin
Ed.Poore11-Jan-07 12:10
Ed.Poore11-Jan-07 12:10 
GeneralRe: Visual C# Pin
TrooperIronMan11-Jan-07 12:20
TrooperIronMan11-Jan-07 12:20 
GeneralRe: Visual C# Pin
Christian Graus11-Jan-07 12:38
protectorChristian Graus11-Jan-07 12:38 
GeneralRe: Visual C# Pin
TrooperIronMan11-Jan-07 12:50
TrooperIronMan11-Jan-07 12:50 
GeneralRe: Visual C# Pin
Ed.Poore11-Jan-07 13:03
Ed.Poore11-Jan-07 13:03 
GeneralRe: Visual C# Pin
Christian Graus11-Jan-07 21:30
protectorChristian Graus11-Jan-07 21:30 
GeneralRe: Visual C# Pin
TrooperIronMan12-Jan-07 0:41
TrooperIronMan12-Jan-07 0:41 
QuestionPasting a string value to a remote application Pin
sampath Jayasinghe11-Jan-07 8:55
sampath Jayasinghe11-Jan-07 8:55 
Questionevent handler Pin
Harikrk11-Jan-07 8:20
Harikrk11-Jan-07 8:20 
AnswerRe: event handler Pin
Not Active11-Jan-07 8:40
mentorNot Active11-Jan-07 8:40 
AnswerRe: event handler Pin
Mike Hankey11-Jan-07 21:06
mveMike Hankey11-Jan-07 21:06 
QuestionGeneric replacement for Array.Copy? Pin
Jon Hulatt11-Jan-07 8:04
Jon Hulatt11-Jan-07 8:04 
AnswerRe: Generic replacement for Array.Copy? Pin
Ravi Bhavnani11-Jan-07 8:52
professionalRavi Bhavnani11-Jan-07 8:52 

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.