Click here to Skip to main content
15,889,116 members
Home / Discussions / C#
   

C#

 
QuestionError Message in CD Burning program Pin
shahzeb8522-Feb-07 4:56
shahzeb8522-Feb-07 4:56 
AnswerRe: Error Message in CD Burning program Pin
Judah Gabriel Himango22-Feb-07 4:59
sponsorJudah Gabriel Himango22-Feb-07 4:59 
GeneralRe: Error Message in CD Burning program Pin
shahzeb8522-Feb-07 5:19
shahzeb8522-Feb-07 5:19 
GeneralRe: Error Message in CD Burning program Pin
Ravi Bhavnani22-Feb-07 6:42
professionalRavi Bhavnani22-Feb-07 6:42 
QuestionHow to access XSL Variable or Param in c#? Pin
Abubakarsb22-Feb-07 4:16
Abubakarsb22-Feb-07 4:16 
AnswerRe: How to access XSL Variable or Param in c#? Pin
Pete O'Hanlon22-Feb-07 4:27
mvePete O'Hanlon22-Feb-07 4:27 
AnswerRe: How to access XSL Variable or Param in c#? Pin
Stefan Troschuetz22-Feb-07 4:29
Stefan Troschuetz22-Feb-07 4:29 
QuestionCall Method From External Process Pin
avictus22-Feb-07 4:15
avictus22-Feb-07 4:15 
I'm not sure if this is possible, but I need to call a method in a running program from a different program. The method I want to call is being loaded into the remote EXE via a DLL. If I try using DllImport, it does call the method, but it doesn't work correctly. The method is supposed to return its class's member information, but if I use the DllImport from C# to call the method, it doesn't return the actual remote class's members, just some garbage values. Also, the program and DLL are already compiled, were written in C++, and don't include support for .NET remoting.

For example, TestApp has a class called TestClass. This class has a bool called TestMember and a method called TestMethod that returns the value of TestMember. When I write a program and use DllImport to import TestMethod, it returns true, even when I know that the remote member is actually false. It does this with all of the methods I try to import. I'm guessing it has something to do with the fact that TestMember and TestMethod belong to an instance of an object rather than being static.

I would appreciate if someone could point me in the right direction to figuring this out. Using C++ is ok too, but I'm more comfortable with C#.
AnswerRe: Call Method From External Process Pin
Judah Gabriel Himango22-Feb-07 4:50
sponsorJudah Gabriel Himango22-Feb-07 4:50 
AnswerRe: Call Method From External Process Pin
led mike22-Feb-07 4:50
led mike22-Feb-07 4:50 
QuestionHow to access XSL Vaiable in c#? Pin
Abubakarsb22-Feb-07 4:03
Abubakarsb22-Feb-07 4:03 
AnswerRe: How to access XSL Vaiable in c#? Pin
Pete O'Hanlon22-Feb-07 4:34
mvePete O'Hanlon22-Feb-07 4:34 
GeneralRe: How to access XSL Vaiable in c#? Pin
Abubakarsb22-Feb-07 4:51
Abubakarsb22-Feb-07 4:51 
GeneralRe: How to access XSL Vaiable in c#? Pin
Pete O'Hanlon22-Feb-07 5:05
mvePete O'Hanlon22-Feb-07 5:05 
GeneralRe: How to access XSL Vaiable in c#? Pin
Abubakarsb22-Feb-07 10:21
Abubakarsb22-Feb-07 10:21 
GeneralRe: How to access XSL Vaiable in c#? Pin
Pete O'Hanlon22-Feb-07 22:41
mvePete O'Hanlon22-Feb-07 22:41 
GeneralRe: How to access XSL Vaiable in c#? Pin
Abubakarsb22-Feb-07 23:53
Abubakarsb22-Feb-07 23:53 
GeneralRe: How to access XSL Vaiable in c#? Pin
Pete O'Hanlon23-Feb-07 0:23
mvePete O'Hanlon23-Feb-07 0:23 
GeneralRe: How to access XSL Vaiable in c#? Pin
Abubakarsb23-Feb-07 2:35
Abubakarsb23-Feb-07 2:35 
GeneralRe: How to access XSL Vaiable in c#? Pin
Pete O'Hanlon23-Feb-07 4:01
mvePete O'Hanlon23-Feb-07 4:01 
GeneralRe: How to access XSL Vaiable in c#? Pin
Pete O'Hanlon26-Feb-07 4:47
mvePete O'Hanlon26-Feb-07 4:47 
GeneralRe: How to access XSL Vaiable in c#? Pin
Abubakarsb26-Feb-07 21:24
Abubakarsb26-Feb-07 21:24 
GeneralRe: How to access XSL Vaiable in c#? Pin
Abubakarsb28-Feb-07 10:13
Abubakarsb28-Feb-07 10:13 
GeneralRe: How to access XSL Vaiable in c#? Pin
Pete O'Hanlon28-Feb-07 10:52
mvePete O'Hanlon28-Feb-07 10:52 
GeneralRe: How to access XSL Vaiable in c#? Pin
Abubakarsb1-Mar-07 2:08
Abubakarsb1-Mar-07 2:08 

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.