Hi,
I am trying to fetch pages using "httpwebrequest", but the links also have relative path in them like (.../something/, ../.../something/) , i am trying to map them to absolute path, i am not too good at programming, do we have any utility helpers to do the job, any links, articles, tutorials appreciated.
Thank you in advance.
...
Quoted from here:
BOOL WINAPI CreateProcess(
__in_opt LPCTSTR lpApplicationName,
__inout_opt LPTSTR lpCommandLine,
__in_opt LPSECURITY_ATTRIBUTES lpProcessAttributes,
__in_opt LPSECURITY_ATTRIBUTES lpThreadAttributes,
__in BOOL bInheritHandles,
__in DWORD dwCreationFlags,
__in_opt LPVOID lp...
As part of our nightly build on windows, an installer package is created using NSIS. I would like to automatically test the "correctness" of the installer.
This might be things like:
Checking the platform of dll files.
Checking the install folder.
Testing the uninstall function doesn't leave any files behind.
Checking registry keys ar...
Windows file system supports scatter/gather IO.(Of course, other platform does)
But I don't know when do I use the IO mechanism.
Could you explain me a proper case?
And what benefit can we get from using the I/O mechanism?(Just a little IO request?)
...
Since I had so many issues installing RoR on my laptop with Windows 7, I thought I would share my steps with you. Many people tell you to use InstantRails. I did that one too, but the option below worked best for me.
Download and install Ruby 1.8.7 http://rubyforge.org/frs/download.php/71492/rubyinstaller-1.8.7-p299.exe
Download the l...
We have a c++ application (console) that runs on windows and unix.
This application used output files to output verbose log files of system calls/prints/etc.
The prblem is, that in certain occasion we might get signal 11/2 after new features are added.
Now whenever, that happenes, we do not get 'almost complete' information from log f...
not using WTS (Terminal Services is not running...)
...
Hi,
I am new to windows.
My web application is leaking huge amounts of memory.
I am using apache 2.2.15 and PHP 5.2.13
I used "Windows Debugging Tools -umdh" to detect leaks.
And the output of the trace is as below(difference before stress and after stress) :
217800195 ( 222666334 - 4866139) 3266192 allocs BackTraceC6
3240839...
I have multiple python processes running in their console output windows. I can set their console title via win32api.SetConsoleTitle(). Thats nice, but it would be even nicer to set some versioninfo strings (like description/company name/version) during runtime as that would allow me to easier differentiate between the (generic) python p...
I'm looking for a flexible alternative to the standard Windows (VB) message box for us in VB6.
I'd like features such as:
1. Non-modal (but always on top)
2. Timer (so that it disappears after X seconds)
3. Custom button names. (Instead of saying "do you want to quit? Click Yes" I can have "Quit" and "Continue" on the button names.
I'v...
Hey All,
I'm trying to make a push notification service, mainly as a learning experience (so please do not start suggesting open/closed source alternatives). Being a hardcore Win32 c++ developer, i don't have a lot of web dev. knowledge.
What I'm trying todo:
Expose an API (over http(s)) to send push notifications to a certain devic...
Although most of the time it's C:\WINDOWS\system32, but sometimes it can be in D partition or alike, how to get it programatically?
...
RtlInitUnicodeString(&sddl, _T("D:P(A;;GA;;;SY)(A;;GA;;;BA)(A;;GA;;;BU)"));
status = IoCreateDeviceSecure(
pDriverObject,
sizeof(DEVICE_EXTENSION),
pDeviceName,
FILE_DEVICE_DISK,
0,
FALSE,
&sddl,
NULL,
&pDeviceObject
); // Succeed
IoCreateSymbolicLink(...) // Succeed
And I tried to open in user...
What I know is
\\.\
It is used when we open a device's symbolic link in user mode
\??\
It is used when we open a device in kernel mode
\\?\
long file name
\\
UNC path.
But I want to know more detail.
Could you explain more certainly about these prefixs.
...
Can anyone either point me to (or provide here) a clear, step-by-step approach that will get Mozilla's signtool (distinct from the Windows program of the same name) installed and working in a Windows environment (specifically, Windows 7)? It appears to be the best tool available to build a XPI file to package up a compiled Firefox exten...
Does anyone have experience with Windows appbars (application desktop toolbars)? I have figured out how to implement them from the documentation (http://msdn.microsoft.com/en-us/library/cc144177%28VS.85%29.aspx), and I've got it working pretty well. But I'm noticing when there are multiple non-auto-hide appbars on adjacent edges, the top...
I don't find any solution for this... please help me out
I'm using a FolderBrowserDialog in my application. If I try to create a 'New Folder' within the FolderBrowserDialog and immediately after I try to rename the 'New Folder' and hit OK (not Enter) the SelectedPath property has the 'New Folder' in it's path and not the name that I e...
I need to do the check in a method contained in a shared library that is referenced by a windows forms application and a windows service.
When we do the check in console mode, I must allow potential dialogs. In case of the windows service, I will write messages in the event log instead.
I found many way to do that using compilation dir...
In this document,
http://msdn.microsoft.com/en-us/library/aa365247(VS.85).aspx#paths
To make these device objects accessible by Windows applications, the device drivers create a symbolic link (symlink) in the Win32 namespace, "Global??", to their respective device objects. For example, COM0 and COM1 under the "Global??" subdirectory ...
At MSDN Installing a Filter Driver there is a sample file given (reproduced lower).
In the [upperfilter_addreg] section there is the registry line HKR,,"UpperFilters",0x00010008,"upperfilt".
What is the meaning of the 0x00010008 flag ?
Note that this file is meant to install an Upper Filter Driver.
Thank you microsoft for your great...