Hello,
I have problems when trying to read files with MapViewOfFile API function. Actually I only have problems when I try to read very large file. Here is what I am doing;
long offsetHigh...
Windows Measurements Instrumentation interface contain a method to get CPU temperature but from what I have read, it is not implemented for most motherboards.
Still, lots of products e.g. ...
I dont' know if I am getting it right, but I have understood that the dmesg kernel messages are stored in /var/log/messages by the help of syslog, and that syslog was adding a timestamp before...
I'me developing and application where I need to detect logons and then display something when somebody has actually logged on. Note that the customer has specified 'logon' as any time a user g...
Please help me identify what caulses my server to BSOD.... I have used WinDbg/!analyze although i dont know how to read it..
thank you,...
I would like to be able to search a directory set an a multi homed webserver, and based on file presense, remove a differnet file, or perform a set of actions.
For example: search for /home...
I have xml tag as <ctntMobile1>0923423482</ctntMobile1>
<ctntAddr1Ln1>Some adresss1</ctntAddr1Ln1>
I wish to know this value in between the tags.
e.g. in this case: mob_no=0923423482 and t...
I have file in which the statement is ::
ctntMobile2=9923541688,
I wish to replace all the occurences of this instance in my file as :: (based on ctntMobile2=)
ctntMobile2=XXXXXXXXX,
This...
Hello,
I one of my C# applications I used CreateFileMapping & MapViewOfFile Win API functions and I was able to to read content of the files I mapped. But I got confused with dwFileOffsetHi...
I'm wondering, if compilers are written in human readable way, then how come the machine could read the compiler?
If machine could read the compiler - which is by itself is not a machine la...
Hi,
I'm running Cygwin under WinXP.
What's the sed command to find the text "_??^_" (an underscore followed by 1 or 2 digits which is NOT followed by another underscore. Then, replace...
Hi Guys, i wanna to write a batch file, which if run on any computer will give me the Ip configuration of that computer
so like
CMD
IPCONFIG /ALL
etc
how can i do that please help
Hi all,
Environment: Linux RHEL
I am wanting a simple bash script that I could run via cron that would search a specific directory, for specific file type (say "/home/uploads/*.pdf" )
...
How would i go about getting the System Clock time via Assembly in Protected Mode?
I would like to find a way to get a Logical/Volume device name of Removable device (Flash card...).
Something like:
H: ; Removable disk; Volume Name: DAILY_BK
K: ; Local Fixed Disk; Volume ...
I am looking for a 'student' operating system where all the source code is available and it can be used as a teaching tool - it would be nice for instance if all the code sections/lines were a...
My application has so many dll files. So I want to bind them into my application to become a single file.
Please give me a suggestion for this problem.
Thanks a lot.
my problem is ,i need to write a program for random number generator
in c or c++
Hi,
I'm working on PDH (Performance Data Helper). The commands asks for the process name. The name is processed in a specific way such as adding index to the processes that have same names,...
I'm wondering how can I use NtDeleteFile to delete C:\file.txt
It's being called from a Native Application, and the actual return code is something like -10279875....
lpPathName = "\\??\\C:\...
I have a vb 6.0 program that downloads files from a web server. It runs 24/7 on a windows 2003 server.
It occassionally gets locked up and I can't identify the issue.
I have code that...
Hi,
How can I run and close Outlook using code.
I am at my wits end with this one and would appreciate some help:
I have queried the Win32_Printer API to return all of the PaperTypesAvailable for printers installed, as follows:
strin...
Dear Sirs, I need your help on tell me any dlls and libs APIS from Windows Xp
that you supose that directly or indirectly offer some kind of control of usb ports.
for example the interface ...
I do kernel debugging with WinDbg. Both debugger and debuggee run under Vista. One debuggee system always gets stuck by permanently sending debug prints from windows and I don't know how to fi...