Click here to Skip to main content
15,886,258 members
Home / Discussions / C#
   

C#

 
GeneralRe: Mutex Not Working Pin
jan larsen9-Aug-05 4:02
jan larsen9-Aug-05 4:02 
GeneralRe: Mutex Not Working Pin
Dwayner799-Aug-05 4:19
Dwayner799-Aug-05 4:19 
GeneralRe: Mutex Not Working Pin
Dwayner799-Aug-05 4:42
Dwayner799-Aug-05 4:42 
GeneralRe: Mutex Not Working Pin
jan larsen9-Aug-05 8:53
jan larsen9-Aug-05 8:53 
GeneralRe: Mutex Not Working Pin
Dwayner799-Aug-05 11:17
Dwayner799-Aug-05 11:17 
GeneralC# Video Pin
magnifique8-Aug-05 6:30
magnifique8-Aug-05 6:30 
GeneralRe: C# Video Pin
Dave Kreskowiak8-Aug-05 6:49
mveDave Kreskowiak8-Aug-05 6:49 
QuestionC# and old "C" Dlls Pin
Mike Doner8-Aug-05 5:59
Mike Doner8-Aug-05 5:59 
Im in the process of learning C#, and so far, I'm loving it. I've found a way to make calls to some old "C" DLLs, but I have a few questions regarding types.

[DllImport("MYDLL.DLL")]
public static extern ulong GetSerialNumbers ( byte f1, byte f2, byte NodeAddr, PIFS_CABLESER pserials, PUSHORT pcount );

I have a function in in MYDLL.DLL called GetSerialNumbers that returns an array of structures. I have no problems declaring functions with known types, but as soon as I add in a type that C# doesn't know, I'm stuck. I would like to take the data of these structures and copy them to a class I've created....

This is my C definition, would I have to make something equivalent that C# will understand?

typedef struct SerialInfoMD
{
byte ID[8];
byte something;
int new;
} IFS_CABLESER, *PIFS_CABLE_SER;

Anybody have any info to share?

Thanks!
Mike

GeneralRe: C# and old "C" Dlls Pin
LobsterDK8-Aug-05 9:17
LobsterDK8-Aug-05 9:17 
GeneralChange ScrollBar Color for ListView Pin
blueguitar18-Aug-05 5:54
blueguitar18-Aug-05 5:54 
GeneralRe: Change ScrollBar Color for ListView Pin
Guffa8-Aug-05 7:18
Guffa8-Aug-05 7:18 
GeneralRe: Change ScrollBar Color for ListView Pin
Alomgir Miah8-Aug-05 8:01
Alomgir Miah8-Aug-05 8:01 
QuestionHow to create a Bitmap from a DataGrid Pin
Rick Beideman8-Aug-05 5:40
Rick Beideman8-Aug-05 5:40 
GeneralProblems with Designer executing property's code Pin
Stephen Caldwell8-Aug-05 3:45
Stephen Caldwell8-Aug-05 3:45 
GeneralRe: Problems with Designer executing property's code Pin
leppie8-Aug-05 4:08
leppie8-Aug-05 4:08 
GeneralWebService problem Pin
Dario Solera8-Aug-05 3:41
Dario Solera8-Aug-05 3:41 
GeneralRe: WebService problem Pin
leppie8-Aug-05 4:12
leppie8-Aug-05 4:12 
GeneralRe: WebService problem Pin
Dario Solera8-Aug-05 4:15
Dario Solera8-Aug-05 4:15 
GeneralComboBox Pin
zaboboa8-Aug-05 3:11
zaboboa8-Aug-05 3:11 
GeneralRe: ComboBox Pin
Alomgir Miah8-Aug-05 3:23
Alomgir Miah8-Aug-05 3:23 
GeneralRe: ComboBox Pin
zaboboa8-Aug-05 3:25
zaboboa8-Aug-05 3:25 
GeneralRe: ComboBox Pin
Alomgir Miah8-Aug-05 4:02
Alomgir Miah8-Aug-05 4:02 
GeneralRe: ComboBox Pin
Mohamad Al Husseiny8-Aug-05 4:05
Mohamad Al Husseiny8-Aug-05 4:05 
GeneralCreating DTS Packages in C# Pin
JMichael24688-Aug-05 3:05
JMichael24688-Aug-05 3:05 
GeneralRe: Creating DTS Packages in C# Pin
JMichael24688-Aug-05 8:27
JMichael24688-Aug-05 8:27 

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.