Results 1 to 11 of 11

Thread: VideoInfo (DirectX)

  1. #1

    Thread Starter
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    25,464

    VideoInfo (DirectX)

    get VideoInfo using DirectX

    @Hack. i removed all binaries except DirectX .dll
    Attached Files Attached Files

  2. #2
    Banned
    Join Date
    Mar 2009
    Posts
    764

    Re: VideoInfo (DirectX)

    testing report :
    IT DIDN'T WORK
    tested on : vb.net express 2010, win xp with media player 11
    when run (f5) after a folder was selected the program jammed up and the button became light pale white.

  3. #3

    Thread Starter
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    25,464

    Re: VideoInfo (DirectX)

    did you set your target CPU to x86 + disable Loaderlock (Debug-->Exceptions-->Managed Debugging Assistants-->Loaderlock)?

  4. #4
    Banned
    Join Date
    Mar 2009
    Posts
    764

    Re: VideoInfo (DirectX)

    set target CPU to x86 ?

  5. #5
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,621

    Re: VideoInfo (DirectX)

    @moti that's unnecessary unless you are running a 64-bit os. The compiler will target that cpu and directx sdk doesn't support it.
    My light show youtube page (it's made the news) www.youtube.com/@artnet2twinkly
    Contact me on the socials www.facebook.com/lordorwell

  6. #6
    Banned
    Join Date
    Mar 2009
    Posts
    764

    Re: VideoInfo (DirectX)

    Quote Originally Posted by Lord Orwell View Post
    The compiler will target that cpu and directx sdk doesn't support it.
    will target what cpu ? and directx sdk doesn't support what ?

  7. #7

    Thread Starter
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    25,464

    Re: VideoInfo (DirectX)

    directx sdk doesn't support x64. your target cpu must be x86

  8. #8
    Banned
    Join Date
    Mar 2009
    Posts
    764

    Re: VideoInfo (DirectX)

    did you know when I mouse hover over a video file it says, in a yellow label, it's time length.

  9. #9
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,621

    Re: VideoInfo (DirectX)

    Quote Originally Posted by moti barski View Post
    will target what cpu ? and directx sdk doesn't support what ?
    ok let me go in length here.
    1. There are two versions of windows: x86 and x64, which are 32 and 64 bits respectively.
    2. While directx works on both x86 and x64, the sdk does not, so any programming you test, you must compile with your cpu target as x86. The problem here is that some versions of visual studio (the free ones) don't have an option to change it in their menu. You need to google how to edit the program solution's configuration file and manually change it.
    3. As far as i am aware, loaderlock only applies if you are developing in c#.

    I hope that clears up some issues.
    My light show youtube page (it's made the news) www.youtube.com/@artnet2twinkly
    Contact me on the socials www.facebook.com/lordorwell

  10. #10

    Thread Starter
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    25,464

    Re: VideoInfo (DirectX)

    Quote Originally Posted by Lord Orwell View Post
    3. As far as i am aware, loaderlock only applies if you are developing in c#.
    my example from post #1 throws an error with Loaderlock exceptions handled.
    with it disabled it runs without an error

  11. #11
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,621

    Re: VideoInfo (DirectX)

    Quote Originally Posted by .paul. View Post
    my example from post #1 throws an error with Loaderlock exceptions handled.
    with it disabled it runs without an error
    ok well i learned something then. I've only encountered an issue with it using c# and never had the pleasure of seeing the setting in vb.net 2010 or earlier. Well if i get an error i'll know why now.
    My light show youtube page (it's made the news) www.youtube.com/@artnet2twinkly
    Contact me on the socials www.facebook.com/lordorwell

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