problem with translate c++ to vb.net
hi
I have some code in c++ an I wish translate this to vb.net
my first problem:
I have this code
Code:
typedef prInt32 prProgressSts;
in c++.
I don't know how can i translate this to vb.net because this is a data type and use in
Code:
prProgressSts lStatus;
.
I translate that but second line have error
Code:
Public prProgressSts As Integer
Code:
Dim lStatus As prProgressSts
my second problem:
please translate this code for me. I don't know that what is "gen" in this code.
Code:
#define prSUB_GENERATION_CAMERA(gen) ((gen&prGENERATION_CAMERA_MASK)>>8)
very thanks