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

C#

 
Questionhow to start other applications with no window ? Pin
hdv2126-Apr-07 15:47
hdv2126-Apr-07 15:47 
AnswerRe: how to start other applications with no window ? Pin
Sathesh Sakthivel6-Apr-07 16:12
Sathesh Sakthivel6-Apr-07 16:12 
QuestionC Function returns struct - how to use in c#? Pin
Grizzley906-Apr-07 11:53
Grizzley906-Apr-07 11:53 
AnswerRe: C Function returns struct - how to use in c#? Pin
Leslie Sanford6-Apr-07 14:11
Leslie Sanford6-Apr-07 14:11 
GeneralRe: C Function returns struct - how to use in c#? Pin
Grizzley907-Apr-07 2:38
Grizzley907-Apr-07 2:38 
GeneralRe: C Function returns struct - how to use in c#? Pin
Leslie Sanford7-Apr-07 4:39
Leslie Sanford7-Apr-07 4:39 
GeneralRe: C Function returns struct - how to use in c#? Pin
Grizzley907-Apr-07 5:24
Grizzley907-Apr-07 5:24 
GeneralRe: C Function returns struct - how to use in c#? Pin
Leslie Sanford7-Apr-07 5:39
Leslie Sanford7-Apr-07 5:39 
Ok, no typedefs to pointers there. Here's what I'd use:

[ DllImport( "Kernel32.dll", CharSet=CharSet.Auto )]
public static extern MyStruct fslCreateListenerEnvironment(StringBuilder stringData, UInt32 size);


Where "MyStruct" is the interopted version of FSL_EAX_LISTENER_PROPERTIES.

Unfortunately, I've not been able to find an example on MSDN for marshalling a function that returns a structure by value. So I can't 100% guarantee that this is the correct approach, but I'm relatively certain.
GeneralRe: C Function returns struct - how to use in c#? Pin
Grizzley907-Apr-07 5:53
Grizzley907-Apr-07 5:53 
QuestionGetting handler of current running Outllook application. Pin
pnpfriend6-Apr-07 10:19
pnpfriend6-Apr-07 10:19 
QuestionHow do i create a public variable? Pin
joaquimc6-Apr-07 9:49
joaquimc6-Apr-07 9:49 
AnswerRe: How do i create a public variable? Pin
SABhatti6-Apr-07 9:59
SABhatti6-Apr-07 9:59 
GeneralRe: How do i create a public variable? Pin
joaquimc6-Apr-07 10:10
joaquimc6-Apr-07 10:10 
GeneralRe: How do i create a public variable? Pin
Colin Angus Mackay6-Apr-07 10:34
Colin Angus Mackay6-Apr-07 10:34 
GeneralRe: How do i create a public variable? Pin
joaquimc6-Apr-07 10:42
joaquimc6-Apr-07 10:42 
GeneralRe: How do i create a public variable? Pin
Colin Angus Mackay6-Apr-07 11:58
Colin Angus Mackay6-Apr-07 11:58 
GeneralRe: How do i create a public variable? Pin
SABhatti6-Apr-07 10:46
SABhatti6-Apr-07 10:46 
GeneralRe: How do i create a public variable? Pin
BoneSoft6-Apr-07 11:23
BoneSoft6-Apr-07 11:23 
GeneralRe: How do i create a public variable? Pin
Colin Angus Mackay6-Apr-07 12:02
Colin Angus Mackay6-Apr-07 12:02 
GeneralRe: How do i create a public variable? Pin
joaquimc6-Apr-07 12:25
joaquimc6-Apr-07 12:25 
GeneralRe: How do i create a public variable? Pin
BoneSoft6-Apr-07 12:27
BoneSoft6-Apr-07 12:27 
GeneralRe: How do i create a public variable? Pin
Colin Angus Mackay6-Apr-07 12:29
Colin Angus Mackay6-Apr-07 12:29 
GeneralRe: How do i create a public variable? [modified] Pin
joaquimc6-Apr-07 12:58
joaquimc6-Apr-07 12:58 
GeneralRe: How do i create a public variable? Pin
Colin Angus Mackay6-Apr-07 14:07
Colin Angus Mackay6-Apr-07 14:07 
GeneralRe: How do i create a public variable? Pin
Dave Kreskowiak6-Apr-07 17:11
mveDave Kreskowiak6-Apr-07 17:11 

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.