Results 1 to 1 of 1

Thread: problem with translate c++ to vb.net

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2002
    Posts
    76

    Cool 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
    Last edited by behzad; Dec 11th, 2006 at 06:17 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width