can i lock computer resources with C?

Discussion in 'C' started by zius oram, Jan 21, 2009.

  1. zius oram

    zius oram New Member

    Joined:
    Jan 25, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    hello,
    i am working on a project in which i have to use JAVA to communicate with remote machine and other (Java Native Interface)language to lock the resources of remote machine. can i lock drives,folder of a computer with C and also controlle ShutDown/Restart event or c++?
     
  2. NewsBot

    NewsBot New Member

    Joined:
    Dec 2, 2008
    Messages:
    1,267
    Likes Received:
    2
    Trophy Points:
    0
    You need to have your own processes running on the remote machine which can easily do it but I am not sure about the remote control of that nature when its not shared.
     
  3. zius oram

    zius oram New Member

    Joined:
    Jan 25, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    the architecture of my project is---
    i m using RMI(java) to connect Remote Machines and on the remote machine i m writting JNI(java/c)code. here java is to take instructions from admin(on remote server)about which resources to lock on remote machine.. and C will actually be used to lock the resources, if it is possible.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice