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

C#

 
GeneralRe: Major Error Needing Major Help!!! Pin
Dimitris Iliopoulos17-Jun-03 13:46
Dimitris Iliopoulos17-Jun-03 13:46 
GeneralReturning all fields in a database Pin
.gonad17-Jun-03 4:25
.gonad17-Jun-03 4:25 
GeneralRe: Returning all fields in a database Pin
.gonad17-Jun-03 6:56
.gonad17-Jun-03 6:56 
GeneralRe: Marshalling Pin
firat kocak17-Jun-03 3:21
firat kocak17-Jun-03 3:21 
GeneralRe: Marshalling Pin
firat kocak17-Jun-03 3:58
firat kocak17-Jun-03 3:58 
GeneralRe: Marshalling Pin
firat kocak17-Jun-03 4:46
firat kocak17-Jun-03 4:46 
GeneralInterop Pin
grv57516-Jun-03 21:48
grv57516-Jun-03 21:48 
GeneralRe: Interop Pin
firat kocak17-Jun-03 1:25
firat kocak17-Jun-03 1:25 
Hi,
To pass unknown length arrays as parameters is not allowed in C#. You have to inform the length of it to the function and use something like below,

[MarshalAs(UnmanagedType.ByValArray, SizeConst=TheLengthOfArray] ..... your function declaration ( ..., byte [] Samples,.... )

But if the length of the array has not a constant value then you need to find the address of your byte array and then use that address to pass to your function


cheers,

Doing something is better than doing nothing. So ... Move !
Generalplease help, simple question Pin
wickedclownz16-Jun-03 21:30
wickedclownz16-Jun-03 21:30 
GeneralRe: please help, simple question Pin
Nick Seng16-Jun-03 22:55
Nick Seng16-Jun-03 22:55 
GeneralRe: please help, simple question Pin
wickedclownz16-Jun-03 23:00
wickedclownz16-Jun-03 23:00 
GeneralRe: please help, simple question Pin
Nick Seng16-Jun-03 23:16
Nick Seng16-Jun-03 23:16 
GeneralRe: please help, simple question Pin
wickedclownz16-Jun-03 23:09
wickedclownz16-Jun-03 23:09 
GeneralRe: please help, simple question Pin
shaunAustin17-Jun-03 2:23
shaunAustin17-Jun-03 2:23 
GeneralRe: please help, simple question Pin
Dimitris Iliopoulos17-Jun-03 13:53
Dimitris Iliopoulos17-Jun-03 13:53 
GeneralRe: please help, simple question Pin
obaeyens18-Jun-03 3:49
obaeyens18-Jun-03 3:49 
GeneralDate Sorting of Files Pin
azusakt16-Jun-03 16:26
azusakt16-Jun-03 16:26 
GeneralRe: Date Sorting of Files Pin
reinas16-Jun-03 22:20
reinas16-Jun-03 22:20 
GeneralIntercepting HTML before IE gets it Pin
Anonymous16-Jun-03 15:30
Anonymous16-Jun-03 15:30 
GeneralSystem Pause Pin
SuperGeek16-Jun-03 15:09
SuperGeek16-Jun-03 15:09 
GeneralListview KeyPress automatic selection Pin
haezeban16-Jun-03 11:28
haezeban16-Jun-03 11:28 
GeneralRe: Listview KeyPress automatic selection Pin
dynamic16-Jun-03 12:16
dynamic16-Jun-03 12:16 
GeneralRe: Listview KeyPress automatic selection Pin
haezeban16-Jun-03 20:00
haezeban16-Jun-03 20:00 
Generalconverting .doc file to .gif file Pin
subashkrishna16-Jun-03 9:57
subashkrishna16-Jun-03 9:57 
GeneralRe: converting .doc file to .gif file Pin
Paresh Gheewala16-Jun-03 10:01
Paresh Gheewala16-Jun-03 10:01 

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.