Results 1 to 7 of 7

Thread: Need some help here...

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2003
    Location
    Amsterdam, The Netherlands
    Posts
    53

    Need some help here...

    I found what looks like a useful piece of code here(website). It does some stuff I need for my own project so I decided to take the plunge and convert to VB.NET (it's VB6).. I am running into some problems though..

    I get an "argument 'Length' must not be greater or equal to zero" error, real cute, but of little help ..:^) .. I stored the original and converted code here(archive) I got rid of the errors and issues, I just have a lot of "Couldn't resolve default property of object" warnings and that's probably where things go wrong, but I guess I am not going to figure this one out by myself..

    So any help would be much appreciated!..

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Is there anything wrong with second link(the converted proj) . It looks damaged file or something .

  3. #3

    Thread Starter
    Member
    Join Date
    Nov 2003
    Location
    Amsterdam, The Netherlands
    Posts
    53
    I just dl it and unpacked without problem..

  4. #4
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by paulheu
    I just dl it and unpacked without problem..
    Sorry but I'm still having a problem while connecting to that site and then d/l the file . Can't you just upload it here or paste some code so that everybody might help !

  5. #5

    Thread Starter
    Member
    Join Date
    Nov 2003
    Location
    Amsterdam, The Netherlands
    Posts
    53
    weird.. since the archive is a bit too big to attach to a post here I put it up here..

    My guess is the problem has something to do with having to add marshalling, something that will take me a bit to figure out..

    I would really appreciate any help I can get here..

  6. #6

    Thread Starter
    Member
    Join Date
    Nov 2003
    Location
    Amsterdam, The Netherlands
    Posts
    53

    Red face Duh...

    As it turns out the functionality I needed was allready built into the BASS dll I am using in the same project..


    Double duh...

  7. #7
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Umm , I've checked that class . It's big one and looks cool in VB6 . The problem seems to be as you said , adding some attributes and marshelling values before passing them . I really couldn't make it . You need to see MSDN Help for other attributes that help you in these situations :

    VB Code:
    1. <VBFixedString(256)> Public path As String
    Sorry , this is all the help I can offer .

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