|
If you really must do this: you have to write a device driver. Regular applications don't have direct access to physical memory.
Are you sure there isn't already an API for doing what you need to do?
To develop device drivers, you need the Windows DDK[^].
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
Hi Mike,
Thanx for your answer.
Mike Dimmick wrote:
If you really must do this: you have to write a device driver. Regular applications don't have direct access to physical memory.
Are you sure there isn't already an API for doing what you need to do?
Well, you're right, and now I have (re-)learned that the hard way. I was seeking high and seeking low for the SMBIOS UUID (Universal Unique ID) and first found it after several days.
The information is available (if supported by the BIOS) through WMI. Stupidly enough I was searching for it under the key Win32_BIOS or Win32_SMBIOSMemory. Instead I found it as mentioned after several days of R&D under the key Win32_ComputerSystemProduct.
Yes, silly me!
So I lived happily everafter....
BTW I have an assembly program which goes through the BIOS searching for a key, and it works! So we figure it works because it runs in a commandbox (DOS box), and the OS sort of emulates a DOS environment with some access to (a copy of) the BIOS.
Regards
Allan Krings
--[ There are 10 kinds of people in the world: those who understand binary and those who dont. ]--
|
|
|
|
|
I want to write a application which automatically encrypt the files that created by all the other applications, including the files created by Windows, and the encrypt process is transparent to the users.
Could you give me some advice.Thanks!;P
Li
|
|
|
|
|
I guess that you'd have to write a device driver which hooks the NtReadFile and NtWriteFile entry points, performing decryption and encryption as appropriate. Other problems to solve would include where to store the encryption key and how to allow administrators to decrypt files if the original owner lost their key.
To get an idea of how Microsoft implemented this in Windows 2000 and later, see Inside Windows 2000 by David Solomon and Mark Russinovich.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
I'm asking on behalf of a friend (largely because it's also my 500th message on CP) if anyone knows how to install these from code.
Steve S
|
|
|
|
|
|
|
Hi,
I try to develop C# service application.
One of the component used interacts to a GUI windows application.
It's a small application but still has GUI.
Clearly, to run my C# application as a service, unless this external exe can run also in service mode, it does not work.
Is it impossible to install a GUI windows application to windows service? or is there a way to wrap it as a service component?
Thanks for your advice.
Best,
Ken
|
|
|
|
|
In the C world, this is a good reference: Interacting with the User in a Service.
For .NET (in Introduction to Windows Service Applications) MSDN says, "The Windows Service classes supported by the .NET Framework do not support interaction with interactive stations, that is, the logged-on user. The .NET Framework also does not include classes that represent stations and desktops. If your Windows Service must interact with other stations, you will need to access the unmanaged Windows API." So the above link (for the C) world should get you started.
|
|
|
|
|
|
Does anybody know where i can download the driver development kit for windows 2000? it was removed from the windows site :\
thanks in advance
stefan
|
|
|
|
|
The site offers the Windows 2003 Server DDK on CD; it says the Win2K DDK is included. http://www.microsoft.com/whdc/ddk/winddk.mspx[^]. It's free, but they want $15 shipping!
Heard in Bullhead City - "You haven't lost your girl - you've just lost your turn..." [sigh] So true...
|
|
|
|
|
I just bought that. There's no copy protection, serial number, or product key with it. The one time a pay for something Microsoft, I didn't need to. I feel used.
Capitalist Pigs.
/\ |_ E X E GG
|
|
|
|
|
Aw, cheer up. At least next time Windows crashes you won't have to hunt it down and download it to install it again. I'd call that a bargain...
Heard in Bullhead City - "You haven't lost your girl - you've just lost your turn..." [sigh] So true...
|
|
|
|
|
Does anybody know a program that will turn the .txt file IIS made into a certificate (.cer). In other words sign it.
and I already tried openssl, and it dosn't work for me....
/\ |_ E X E GG
|
|
|
|
|
Nevermind. Server 2003 does it. Anybody want to be certified by me?
/\ |_ E X E GG
|
|
|
|
|
I got the CD for Windows Server 2003 when I upgraded my copy of Visual Studio .NET using the $30 upgrade special MS had a while back. Naturally, I installed it right away. Now, the catch is the back of the CD sleeve says "Illegal without a separate license from MS."
Oh great, so I may as well be using warez. Anyway, since I already have the disc, if I just purchased like a 5CAL pack for $130 would that cover me or is a CAL not technically the same thing?
Any thoughts are welcome.
Jeremy Falcon
|
|
|
|
|
A CAL is a Client access license, not a license to install the server itself. I believe that the distribution of Win2K03 is intended to serve as your development platform, and using it to run your organization would be illegal.
Heard in Bullhead City - "You haven't lost your girl - you've just lost your turn..." [sigh] So true...
|
|
|
|
|
Roger Wright wrote:
A CAL is a Client access license, not a license to install the server itself.
That's was I figured, but I wanted to make sure.
Roger Wright wrote:
I believe that the distribution of Win2K03 is intended to serve as your development platform, and using it to run your organization would be illegal.
Well, this particular copy is for my home/development use. However, I'm trying to start a home-based business with it too. Even though, Win2K03 would still be used for development when that happens.
They sure do make this stuff complicated, eh?
Jeremy Falcon
|
|
|
|
|
Hi,
I would like to know if there is any software that would split the voice part and the music from the 'mp3' files. Even if not in MP3, is it posible with other file formats as audio CDs etc.
Thanks in advance
I was born intelligent Education ruined me!.
|
|
|
|
|
Don't think so. Many so-called 'karaoke' converters work by assuming that the voice is central in the stereo, and eliminating accordingly, although I haven't got the first clue as to how.
Steve S
|
|
|
|
|
Its ok, but is there anything that would allow me to jump from my seat and say 'IT WORKS'??
I was born intelligent Education ruined me!.
|
|
|
|
|
How do I change the folder that windows looks for my Documents and Settings?
I have set up my Domain, but I want a non-domain (same username) account to have the same profile. I changed the My Documents already but I want to do this
BestSnowman.NEWMAN <-- Domain Account
C:\Documents and Settings\BestSnowman.NEWMAN.000 <-- Change that to
C:\Documents and Settings\BestSnowman
Does this make sense? How would I do that?
Matt Newman
|
|
|
|
|
So I figured out how to do it and it didn't work well for what I wanted it to do.
Matt Newman
|
|
|
|
|
Can I ask two questions.
1. How did you do it (presumably an HKEY_USERS\.yoursid setting?
2. What did you want that meant it didn't work well?
I found that from 2000 onwards some apps would seem to remember when I used the common dialog which folder I was last in. However, for some of the apps I've written and sold, I got around that by having my app init the folder string in the OFN structure....
Steve S
|
|
|
|