J
JC
Hi all,
I've asked similar question before, but I would like to confirm the
following:
From C,
I've this function
void sth_func( void *st, unsigned char bits, short *synth, int bfi );
and in the sample code of C, the func is called by
sth_func(destate, analysis, synth, 0);
where
int* destate;
unsigned char analysis[14];
short synth[160];
And in vb.net, I import this function by
Declare Sub sth_func Lib "amr.dll" ( _
ByVal st As IntPtr, _
ByRef bits As Short, _
ByRef synth As Short, _
ByVal bfi As Integer _
)
Then how should the function call look light in VB?
JC
I've asked similar question before, but I would like to confirm the
following:
From C,
I've this function
void sth_func( void *st, unsigned char bits, short *synth, int bfi );
and in the sample code of C, the func is called by
sth_func(destate, analysis, synth, 0);
where
int* destate;
unsigned char analysis[14];
short synth[160];
And in vb.net, I import this function by
Declare Sub sth_func Lib "amr.dll" ( _
ByVal st As IntPtr, _
ByRef bits As Short, _
ByRef synth As Short, _
ByVal bfi As Integer _
)
Then how should the function call look light in VB?
JC