I'm looking to replace MSXML with a library that will allow us to use DOM processing but using our own allocation, so we can assure it is mapped directly onto a memory-mapped file. This avoids having to synch the DOM back to the file. Can anyone please suggest which of the various libraries out there is most likely to be easily customise...
A C++ project encounter the memory fragmentation problem, and tried following:
nedmalloc-
Did not pass the stress test (crashed after 15 hrs), that means it works in the most of cases but not the all. And more memory usage than other allocators.
jemalloc-
Not ready for Windows?
tcmalloc-
Compiled with host code with static linking, bu...
trying to create a batch file for setting the user documents folder in windows so that it is accessible from the network like the public folder is by default, pretty much making it shared with everybody
Cant figure out the synthax for it though. So far tried messing with Cacls but without any luck.
Testing it on vista/7
...
As the subject said, i need a dos script to check the version of java installed on windows xp Machine.
Furthermore, I need to check if the version is greater than a prefixed value 1.x.
Anyone can help me?
Thanks!
...
I'm working on a Windows project with a simple dialog created with CreateWindowEx() it contains multiple panes loaded with CreateDialog() to load the layout from a resource file. On the child panes there are a number of controls including text boxes and buttons which I would like to use TAB to navigate around but all I get is the Windows...
Please help me to find a way to track lock/unlock time on my WinXP machine. I've tried windows scheduler - it only logs logins, not locks. Any alternatives?
In Miranda's source code I saw implementation via IdleObject tracker, but this way is too long. May be an AutoIt script? Time tracking program (freeware)?
...
does anyone have a simple example on how to use the bonjour sdk with a windows visual c++ form application or a general gui application? as far as i know apple provides examples only for c sharp, java and vb
thanks a lot for any help
...
I've create a Windows Service using C# that when OnStart is called creates a new thread from another class. This new thread then loops waiting for any incoming TCP connections. Or it should. When I start the service it automatically stops after about 5 seconds. I don't know why it is doing this. I understand that services close on their ...
I want to write a program that can recover deleted files from hard drive ( FAT32/NTFS partition Windows). I don't know where to start from. What should be the starting point of this? What should i read to pursue this? Help is required. Which system level structs should i study?
...
Hi at all, i'm trying to intercept new sms unread in a winMo application (C#)
I saw that MessageInterceptor not working in some HTC phone, so i thing that this value is a good chance, but this don't work too :(
On my HTC Hd2, when new sms arrived, SystemState.MessagingSmsUnread is set to 1.
In the cellular emulator, with WM6.5, when ne...
I am using Console2 as a bash wrapper on Windows. Most importantly, it enables me to start up a new bash tab in a predefined project directory.
Now I would like to replace the Windows command line by a Cygwin bash. However, the "Startup Dir" setting in Console2 is not respected by Cygwin.
Basically, I see three solution approaches:
F...
Hi,
I'm currently working on an application that needs to add a menu
to each application's system menu. I can accomplish that for the existing
windows with the EnumWindows function.
For the new windows (applications starting up after mine)
I'm trying to do this with windows hooks. More specifically with CBTProc.
This is where I'm stuck....
Hi,
I have an asp.net application having a class library referenced in the web project i.e.I am calling a class library method with the parameters (file path in the server machine). I tried accessing the path from the class library. I am getting the error saying ""
I am using windows server 2003 machine and I have given permissions to ...
All my driver code currently does this, mostly because I worked with a very senior driver programmer for a couple years who had previously worked on the Windows kernel team for 15 years and he demanded it. I got in the habit of it and never really asked the question "Why?"
I know the obvious reasons, such as nonpaged pool is scarce com...
I'm try to find, in only one row, the number of files (*.rar) in a directory.
For doing this I'm using the commands:
for /f "delims=" %i in ('find /c ".rar" "D:\backup e ckpdb ept-icd\test\unload\lista_files_rar.txt"') do echo %i
but the value of %i I have at the end is : D:\BACKUP E CKPDB EPT-ICD\TEST\UNLOAD\LISTA_FILES_RAR.TXT: 8...
Im curious about the error messages the command prompt returns for the following commands:
C:\>md prn
The directory name is invalid.
C:\>md con
The directory name is invalid.
C:\>md nul
C:\>cd nul
The parameter is incorrect.
Why doesn't "md nul" return an error?
Edit - I understand why this is wrong, what with reserved words and s...
In xp, my Tascam US 122 usb audio interface works fine.
On my windows 7 computer the device works, however when i restart/shutdown it hangs at the "shutting down" screen forever.
If the usb cable is removed prior to initiating restart/shutdown then everything goes fine, the computer restarts as normal.
This is a known problem, runnin...
Hi everyone,
I have an executable that accepts certain command line arguments. Any user on the machine can find the arguments by doing a ps (Unix) or procexp (Windows). Some of these arguments are things like passwords. I know we should not be passing in passwords like that.
Is there any way in code of the executable that I can change ...
The question is simple: is there a way to expand a single form to all connected screens?
...
I'm having a weird issue with cygwin acting inconsistently between installations, specifically scp. I have c:\cygwin\bin in my Windows PATH in both cases. When I run the following command from a Windows Command Prompt, however, I get very different results between the two installations:
scp /cygdrive/c/something.txt User@server:${HOME...