Results 1 to 8 of 8

Thread: Getting DVD Region hell.

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2002
    Posts
    269

    Getting DVD Region hell.

    HI ppl

    I am a vb programmer. I have been searching for months now on how to get a dvd discs region code from vb but I have given up.

    I need you guys to help me. I have only started in vc++ and I am totally crap atm.

    I am reading all these pages on microsofts site, directx sdk I think, on how to read a dvds region but it is like double dutch to me.

    I beg of some of you guys to help me out. My perfect scenario would be to find out how to put this code into c++ and ot make a .exe which I could run from my vb app, which would silently return me the region codes.

    Can anyone help me out.........

  2. #2
    Hyperactive Member
    Join Date
    Jul 2002
    Location
    WGTN, New Zealand
    Posts
    338
    I assume you're using MSVC++.

    I reckon if you can't understand the code, you should read a book or two, and get more familiar with C++ rather than jumping straight into it. VB is different because it's a high-level language.

  3. #3
    Frenzied Member Technocrat's Avatar
    Join Date
    Jan 2000
    Location
    I live in the 1s and 0s of everyones data streams
    Posts
    1,024
    First let me expand on Dreamlax comments, if you dont know C/C++ then I would stop what you are doing right now and learn that first. VB is a million times easier to use and make stuff with compared to C/C++ and this stuff will kick your a$$ if you dont learn it first. Nothing is as easy to do, create, make or run as it is in VB. Just look at all the problems people have just making and using strings. Trust me I came from VB to C/++

    With that being said let me see if I can help you some.

    If you haven't already you might want to check here

    It looks like the header ntddcdvd.h and IOCTL_DVD_GET_REGION function will get you what you want. Here is the info from
    MSDN

    I also found this

    I also attached DeCSS which does alot of this stuff. If someone takes pitty on you, or you can learn how to do it, you can port this over to a .dll and then have it in your VB program.

    Good luck
    Attached Files Attached Files
    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


  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2002
    Posts
    269
    Thanks so much for your replies.

    Seeing as the code is on their site and I probably wont use c++ for months, I was hoping one of you could copy in the code for me but that is being to lame.

    I better read a tutorial or something.

    If any of you guys feels happy and would like to make this exe for me, I would be so grateful, seriously.

    All I need it to do is get the region code, not change it or anything special, just get the region. My vb program should be able to run this exe then and silently get the region codes for the disk.

    What tutorial should I read so I can copy this code in, lol...

    KT

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2002
    Posts
    269
    Oh and where can I get this ntddcdvd.h

  6. #6
    Frenzied Member Technocrat's Avatar
    Join Date
    Jan 2000
    Location
    I live in the 1s and 0s of everyones data streams
    Posts
    1,024
    Its part of the Windows Driver Development Kit you can download it from MSDN

    You might also need the symbols, platform sdk and the directx sdk if you dont have them already.
    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


  7. #7

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2002
    Posts
    269
    HMM

    On a 56K

    I think I will have to look elsewhere.

    What is the best c++ starters tutorial out there. I would also love a tutorial that teaches how to create a window etc etc...

    Thanks alot though...

    Oh and does anyone feel sorry for me and want to code this little prog for me. I probably wont use c++ for like years after this.

  8. #8

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2002
    Posts
    269
    Anyone want to show off their vc++ skills.

    Those sdks will take years on this 56k. Somebody take pity on me........

    Mwa.........mwaaaaaaaaaa.....

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