Thread: i want to write a programe

  1. #1
    Registered User
    Join Date
    Feb 2013
    Posts
    1

    i want to write a programe

    hi
    i want to write a programe by c that can recognize when a flash join to windows and it can open it and other os programes can't use usb till the programe let
    can any one help me??
    <<email address snipped>>
    tnx alot

  2. #2
    Registered User
    Join Date
    May 2012
    Posts
    505
    Quote Originally Posted by mellodi View Post
    hi
    i want to write a programe by c that can recognize when a flash join to windows and it can open it and other os programes can't use usb till the programe let
    can any one help me??

    tnx alot
    Unfortunately if you've got to ask how to set about it then the problem is too difficult for you.
    You've got to poll the USB devices, then you've got to interact with the Windows kernel to put a layer between other programs and that USB. I've got 20 year's experience and I can't tell you off-hand exactly how to do it, basically it means reading lots of technical Windows docs. It might not even be possible (though that's unlikely).
    I'm the author of MiniBasic: How to write a script interpreter and Basic Algorithms
    Visit my website for lots of associated C programming resources.
    https://github.com/MalcolmMcLean


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. c programe
    By yousra fatima in forum C Programming
    Replies: 1
    Last Post: 11-13-2011, 05:24 AM
  2. help with a simple programe :)
    By goby in forum C Programming
    Replies: 9
    Last Post: 12-09-2010, 01:49 PM
  3. C programe Exercises?
    By RahulDhanpat in forum C Programming
    Replies: 10
    Last Post: 02-29-2008, 01:26 PM
  4. help needed with my programe
    By supernormal2 in forum C Programming
    Replies: 5
    Last Post: 12-11-2002, 10:57 PM
  5. Re : Programe for transalation
    By Wah in forum C Programming
    Replies: 1
    Last Post: 01-30-2002, 11:04 AM