Results 1 to 10 of 10

Thread: C++ to VB (HELP!!)

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2002
    Posts
    25

    C++ to VB (HELP!!)

    I need to open a file in a game called red faction and add the contents to a combobox (In VB). but the source on how to do this is in C++

    PLEASE can someone look at the source and tell me what it means in VB

    (VPP file contain other files like a zip file but not compresed, I need to read those file names, especialy the .RFL files)

    http://www.red-faction.com/ddn/specs/vpp/

    If anyone owns RF, this is what i am working on:

    http://www26.brinkster.com/fargate/malm.html

  2. #2
    Frenzied Member Technocrat's Avatar
    Join Date
    Jan 2000
    Location
    I live in the 1s and 0s of everyones data streams
    Posts
    1,024
    Do you want just the source on the linked page or the entire source code that is downloadable?

    You just want to know what the code does?
    MSVS 6, .NET & .NET 2003 Pro
    I HATE MSDN with .NET & .NET 2003!!!

    Check out my sites:
    http://www.filthyhands.com
    http://www.techno-coding.com


  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jan 2002
    Posts
    25
    All that I would like to know is how do I open a file of that type in VB and read off the entrys and add them to a text box.

    E.G. Entry in MyGame.vpp = jackpot.rfl and firstlevel.tga

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Jan 2002
    Posts
    25
    Help Me, please !!! :-)

  5. #5
    Frenzied Member Technocrat's Avatar
    Join Date
    Jan 2000
    Location
    I live in the 1s and 0s of everyones data streams
    Posts
    1,024
    Sorry but thats to big of a project for me to take on right now. It looks to me that your only choice in the matter is to make a DLL in C++, using some of that source code, then load it into VB. Unless I am mistaken it would be too difficult (If not impossible) to do the loading, offsetting, and masking in VB. If you can find someone with the time, it should not take more than a few days to transfer the source code into a DLL, write the DLL loading and function code, rewrite the ruturned info to be in a VB string, then test it.

    The soonest I could do would be in about a week, when I finish some other projects.
    MSVS 6, .NET & .NET 2003 Pro
    I HATE MSDN with .NET & .NET 2003!!!

    Check out my sites:
    http://www.filthyhands.com
    http://www.techno-coding.com


  6. #6

    Thread Starter
    Junior Member
    Join Date
    Jan 2002
    Posts
    25
    I would be very greatfull,

    Of course I would add your name to a devlopment list, if we can get it working, do you own "Red Faction".

  7. #7
    Frenzied Member Technocrat's Avatar
    Join Date
    Jan 2000
    Location
    I live in the 1s and 0s of everyones data streams
    Posts
    1,024
    *looks around to see who is listening*
    I dont own it persay....but I have it
    MSVS 6, .NET & .NET 2003 Pro
    I HATE MSDN with .NET & .NET 2003!!!

    Check out my sites:
    http://www.filthyhands.com
    http://www.techno-coding.com


  8. #8
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Originally posted by Technocrat
    persay
    Never quite seen it spelt like that before
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  9. #9
    Frenzied Member Technocrat's Avatar
    Join Date
    Jan 2000
    Location
    I live in the 1s and 0s of everyones data streams
    Posts
    1,024
    in a rush
    MSVS 6, .NET & .NET 2003 Pro
    I HATE MSDN with .NET & .NET 2003!!!

    Check out my sites:
    http://www.filthyhands.com
    http://www.techno-coding.com


  10. #10
    Lively Member dubae524's Avatar
    Join Date
    Jun 2001
    Location
    Currently on this Super Star Destroyer being telekinetically strangled to death by Darth Vader
    Posts
    78
    Why do you want to do it on VB so much?
    - Justin Patrick Butler

    Comme je trouve. "As I find."
    - Butler family quote

    Beneficia sumptos procul superant. "The benefits far exceed the costs."
    - Myself

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