Click here to Skip to main content
15,888,610 members
Home / Discussions / C#
   

C#

 
QuestionCalling an embedded unmanaged dll Pin
jamie55031-Aug-08 2:33
jamie55031-Aug-08 2:33 
QuestionGeneric Printer class Pin
Silvyster31-Aug-08 1:47
Silvyster31-Aug-08 1:47 
QuestionProblem referencing class library in a web service Pin
dlarkin7731-Aug-08 0:54
dlarkin7731-Aug-08 0:54 
AnswerRe: Problem referencing class library in a web service Pin
#realJSOP31-Aug-08 1:11
mve#realJSOP31-Aug-08 1:11 
GeneralRe: Problem referencing class library in a web service Pin
dlarkin7731-Aug-08 2:07
dlarkin7731-Aug-08 2:07 
GeneralRe: Problem referencing class library in a web service Pin
#realJSOP31-Aug-08 2:20
mve#realJSOP31-Aug-08 2:20 
GeneralRe: Problem referencing class library in a web service Pin
dlarkin7731-Aug-08 3:02
dlarkin7731-Aug-08 3:02 
GeneralRe: Problem referencing class library in a web service Pin
#realJSOP31-Aug-08 3:33
mve#realJSOP31-Aug-08 3:33 
I think the problem is that since the web service is a different binary, the calling application doesn't know what to do with the value. I make it a habit to only return intrinsic types and DataTables from web services. I convert enums to int before returning them.

Have you looked at the returned value in the debugger? You might have gotten lucky and it might already be an int.

John's 1st rule of programming: If there are several ways to accomplish the same task, the one that creates the most effort on the part of the programmer is probably to only way to do it right.


"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001


GeneralRe: Problem referencing class library in a web service Pin
dlarkin7731-Aug-08 3:37
dlarkin7731-Aug-08 3:37 
AnswerRe: Problem referencing class library in a web service Pin
Wendelius31-Aug-08 7:02
mentorWendelius31-Aug-08 7:02 
Questionexporting excel file to database Pin
abhijitjathar31-Aug-08 0:29
abhijitjathar31-Aug-08 0:29 
AnswerRe: exporting excel file to database Pin
Natza Mitzi31-Aug-08 2:22
Natza Mitzi31-Aug-08 2:22 
AnswerRe: exporting excel file to database Pin
MumbleB31-Aug-08 7:12
MumbleB31-Aug-08 7:12 
Questionproblem with crystal report in .net2 Pin
Member 385128630-Aug-08 22:01
Member 385128630-Aug-08 22:01 
AnswerRe: problem with crystal report in .net2 Pin
Wendelius30-Aug-08 22:29
mentorWendelius30-Aug-08 22:29 
Questionwhich is better to choose? Pin
Sajjad Izadi30-Aug-08 21:42
Sajjad Izadi30-Aug-08 21:42 
AnswerRe: which is better to choose? Pin
zafersavas30-Aug-08 23:33
zafersavas30-Aug-08 23:33 
GeneralRe: which is better to choose? [modified] Pin
Sajjad Izadi31-Aug-08 1:21
Sajjad Izadi31-Aug-08 1:21 
GeneralRe: which is better to choose? Pin
N a v a n e e t h31-Aug-08 18:06
N a v a n e e t h31-Aug-08 18:06 
AnswerRe: which is better to choose? Pin
Mbah Dhaim31-Aug-08 0:24
Mbah Dhaim31-Aug-08 0:24 
GeneralRe: which is better to choose? [modified] Pin
Sajjad Izadi31-Aug-08 1:24
Sajjad Izadi31-Aug-08 1:24 
GeneralRe: which is better to choose? Pin
Mbah Dhaim31-Aug-08 1:49
Mbah Dhaim31-Aug-08 1:49 
AnswerRe: which is better to choose? Pin
#realJSOP31-Aug-08 1:12
mve#realJSOP31-Aug-08 1:12 
GeneralRe: which is better to choose? [modified] Pin
Sajjad Izadi31-Aug-08 1:27
Sajjad Izadi31-Aug-08 1:27 
GeneralRe: which is better to choose? Pin
#realJSOP31-Aug-08 1:46
mve#realJSOP31-Aug-08 1:46 

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.