Click here to Skip to main content
15,913,685 members
Home / Discussions / C#
   

C#

 
QuestionFileUpload Control Pin
Reji Gopalakrishnan5-Jan-07 18:47
Reji Gopalakrishnan5-Jan-07 18:47 
AnswerRe: FileUpload Control Pin
subai5-Jan-07 20:01
subai5-Jan-07 20:01 
GeneralRe: FileUpload Control Pin
Reji Gopalakrishnan5-Jan-07 20:10
Reji Gopalakrishnan5-Jan-07 20:10 
GeneralRe: FileUpload Control Pin
subai5-Jan-07 23:20
subai5-Jan-07 23:20 
AnswerRe: FileUpload Control Pin
Vasudevan Deepak Kumar5-Jan-07 22:10
Vasudevan Deepak Kumar5-Jan-07 22:10 
QuestionHow can I Change color depth/Quality? Pin
oren20105-Jan-07 17:28
oren20105-Jan-07 17:28 
AnswerRe: How can I Change color depth/Quality? Pin
Luc Pattyn5-Jan-07 17:34
sitebuilderLuc Pattyn5-Jan-07 17:34 
QuestionC++ to C# stupid question??? Pin
Pet Lizard5-Jan-07 17:20
Pet Lizard5-Jan-07 17:20 
how to do this in C# ???

i get an error when i put the ref int m_param in the C# struct
What i'm doing wrong here Frown | :(

The ideia is the class be intatiated do some work , ant then put
the result int the refrence saved in the m_retParam.


--------------
C++
----

class A<br />
 {<br />
  int m_retParam&<br />
  A(int ¶m) : m_retParam(retParam){<br />
    }<br />
  public void DoSomething(){<br />
    m_retParam = 5; // new value<br />
    }<br />
 }


--------------
C#
----
class A<br />
  {<br />
  ref int m_retParam;       :doh:   <----------- Compilter error<br />
<br />
  A(ref int param) {<br />
    m_retParam=param;<br />
    }<br />
  public void DoSomething(){<br />
    m_retParam = 5; // new value<br />
    }<br />
  }



Sigh | :sigh:
AnswerRe: C++ to C# stupid question??? Pin
Luc Pattyn5-Jan-07 17:24
sitebuilderLuc Pattyn5-Jan-07 17:24 
GeneralRe: C++ to C# stupid question??? Pin
Pet Lizard6-Jan-07 0:17
Pet Lizard6-Jan-07 0:17 
GeneralRe: C++ to C# stupid question??? Pin
Luc Pattyn6-Jan-07 4:09
sitebuilderLuc Pattyn6-Jan-07 4:09 
GeneralRe: C++ to C# stupid question??? Pin
Pet Lizard6-Jan-07 5:20
Pet Lizard6-Jan-07 5:20 
GeneralRe: C++ to C# stupid question??? Pin
Luc Pattyn6-Jan-07 7:00
sitebuilderLuc Pattyn6-Jan-07 7:00 
AnswerRe: C++ to C# stupid question??? Pin
Steve Hansen5-Jan-07 22:36
Steve Hansen5-Jan-07 22:36 
GeneralRe: C++ to C# stupid question??? Pin
Pet Lizard6-Jan-07 0:17
Pet Lizard6-Jan-07 0:17 
QuestionColumn Resize not executed if Control not visible? Pin
JoeRip5-Jan-07 15:12
JoeRip5-Jan-07 15:12 
QuestionHow to get a bitmap image from part of a larger bitmap? Pin
Subterranean5-Jan-07 13:29
Subterranean5-Jan-07 13:29 
AnswerRe: How to get a bitmap image from part of a larger bitmap? [modified] Pin
hpjchobbes5-Jan-07 15:31
hpjchobbes5-Jan-07 15:31 
AnswerRe: How to get a bitmap image from part of a larger bitmap? Pin
Luc Pattyn5-Jan-07 17:21
sitebuilderLuc Pattyn5-Jan-07 17:21 
Questionhow to check your sql for ANSI complaint Pin
WayneGretzky5-Jan-07 9:41
WayneGretzky5-Jan-07 9:41 
AnswerRe: how to check your sql for ANSI complaint Pin
Christian Graus5-Jan-07 9:48
protectorChristian Graus5-Jan-07 9:48 
Questionc++ from c# Pin
picazo5-Jan-07 8:42
picazo5-Jan-07 8:42 
AnswerRe: c++ from c# Pin
Luc Pattyn5-Jan-07 8:50
sitebuilderLuc Pattyn5-Jan-07 8:50 
GeneralRe: c++ from c# Pin
picazo5-Jan-07 9:08
picazo5-Jan-07 9:08 
GeneralRe: c++ from c# Pin
Luc Pattyn5-Jan-07 9:32
sitebuilderLuc Pattyn5-Jan-07 9:32 

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.