-
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.........
-
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.
-
1 Attachment(s)
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
-
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
-
Oh and where can I get this ntddcdvd.h
-
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.
-
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.
-
Anyone want to show off their vc++ skills.
Those sdks will take years on this 56k. Somebody take pity on me........
Mwa.........mwaaaaaaaaaa.....