|
how to set compiler flags
|
|
|
|
|
put a finger in your a$$, and turn clockwise
|
|
|
|
|
HI all,
please if any1 could provide me with required codes for locking keyboards and mouses of computers connected through a LAN using Java and under Windows XP Os.
As I am a student working on my senior project, which is 2 implement an instructor control computer, that can control students' computers connected through LAN (I will work on two Pc's only,instructor and student). the teacher can lock their keyboards and mouses, and broadcast his/her desktop screen on their monitors.
Thank you.
Student
|
|
|
|
|
I am doing project.In which ,How to create window in c?I have no idea.
|
|
|
|
|
Y don't u use VC++? U can use C programming for Windows here.
Come online at:-
jubinc@skype
|
|
|
|
|
I am not know about linux.I am doing one project.In which,I should perform,restart the system using c in linux platform.
|
|
|
|
|
You already got your answer the last time you asked the very same question.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
We don't know about Linux here, either. But we do Windows...
"...a photo album is like Life, but flat and stuck to pages." - Shog9
|
|
|
|
|
they said to me ,do restart fedora core 6 system using script only
|
|
|
|
|
just try when using c programming in linux
#include "unistd.h"
system("reboot");
Lxcite's Planet
... the ultimate solution
|
|
|
|
|
Write two programs that simulate two versions of a paging memory management system - one based on FIFO algorithm, another one based on LRU. Make the following assumptions:
the size of the internal memory is 40K, and it is divided into 10 page frames;
the system loads and runs one process; the length of the process is 80K (thus, it is to be divided into 20 pages).
Your driver program will be a loop running 40 times. On each run of the loop, it randomly generates a reference to a page in the process (a number in the range from 0 to 19) and makes sure that the referenced page gets a page frame. The driver will count and print out the total number of page faults; every time when a page fault occurs, it will print out the number of the page that caused the fault and the number of the page frame it gets.
Run the driver program first time using the FIFO memory management system and save the reference string generated by the driver. Then run (a slightly different) driver program, using the LRU. Compare the numbers of page faults occurred in both cases.
|
|
|
|
|
And? What's the question?
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Oh look, someone wants their homework done for them. Try Rentacoder.
|
|
|
|
|
hello!
can anybody guide me how to change windows-xp administrator or guest password from its registry
|
|
|
|
|
You cannot get the password but you can reset the password. You'll need a boot CD with some tools on it to do this, like ERD Commander, or some other tool, possibly even UNIX-based, to do it.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
thanks.
could you please tell me in some detail how to do all that using bootable cd.
|
|
|
|
|
You'll have to read the docs for the app CD you get.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi,
my problem is the following - I have some files that my application is using.
these files are valueable and I want to protect them from being copy by the user.
the state is this:
the application is installed only in my company on some computers.
the users are not administrators.
I can't put the files in the server because they are being used locally by the application and they are very big, around 800MB.
I need somehow to prevent copy/burn/whatever for the user but allow a read permission for my application.
how can I do it?
thanks.
Alon
|
|
|
|
|
There's no way to do that. Since the application runs in the security context of the suer that launched it, it needs Read permission to, obviously, read the data file. Read permission is the only one a user needs to copy a file to another location. There's no way to prevent it.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
that is what i thought and was afraid of...
but maybe there's some third party solution - somekind of lock folder utility that cab accessd through command line (with parameters) that my application will be able to unlock but user won't be able to.
thanks anyhow.
Alon
|
|
|
|
|
That won't work either, because all the user then has to do is launch your application (or run the utility to unlock it), switch back to the Desktop and copy the file.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
how would he do that? he won't have the password.
Alon
|
|
|
|
|
What password?? You can't protect a single file or folder with a password. NTFS doesn't support it.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Security is based on user accounts, not applications. If you remove the read priv from the file, no app you run can read it, including the one app that needs to read it.
|
|
|
|
|
Like stated in the previous posts, there is no way to prevent the user from making a copy of the file if the app runs with the user's context. You could, however, encrypt the data-file. Depending on the encryption technique, there is a possibility of your application working significantly slower than before.
Additionally, the decryption routine AND the decryption key kave to be somewhere in your application (which is stored on the users computer). Thus, it is possible (though maybe not feasible) for the user to obtain these (by disassembly).
I believe what you NEED is a good licence agreement (ask a lawyer). This will not enable you to entirely prevent spread within one company, but will give you additional legal leverage if you discover that your data files have been sold to others (e.g. competitors).
Cheers,
Sebastian
--
Contra vim mortem non est medicamen in hortem.
|
|
|
|