call a structure as function parameter
Posted on 2003-03-09
This is a function in C (library vbc.lib)
bool vbsend(byte* pdata, int nsize)
and this one a sample call in C
where srcontrol is a structure.
I translate this into VB but error..
Declare Function vbsend Lib "vbc" _
(ByVal pdata As String, ByVal nsize As Long)
rewrite srcontrol as type and call the function declared in VB
what are the right way to write this. Please help.