windows

sendto fails with a non administrator user with errorcode 10013

Hi! I found more source codes which are working like ping. My only problem with them is, that if i run the program with a non administrative user, then i get back errorcode 10013 which means : "An attempt was made to access a socket in a way forbidden by its access permissions." If i run the program with a user which is member of the ad...

Can Windows installer msi make the user full trust

Hello, our applicaton is installing with windows installer. The things working fine but the application itself is full trusted and not allowing to run on the employee's computer with less level (not full trusted). My question is that, is there any way to make the user full trusted for this application during the installation? Can we make...

Should an implementor of IShellBrowser::QueryActiveShellView Method call AddRef for the caller?

I am attempting to implement an IShellBrowser. One method of such is: HRESULT STDMETHODCALLTYPE IShellBrowser::QueryActiveShellView(/* [out] */ __RPC__deref_out_opt IShellView **ppshv) This gets the active shell view pointer for the caller (in my case, there is only one shell view at any given time). But it is very unclear whether I...

Preventing Windows from paging some data

I have a large block of data in memory that I don't want Windows to page. The memory is a cache of a section of data that can be reconstructed from files on disk. The cache is meant to completely prevent hard drive accesses as long as enough memory is available, so it's worthless to me if Windows starts paging it. Instead of paging, I wo...

C# synchronous process starting

I'm attempting to start a process from a piece of code but I want the code to pause execution until the process finishes and exits. Currently I'm using the System.Diagnostics.Process.Start() class to start (specifically) an uninstaller program, and the code executing afterwards does rely on the installer uninstaller finishing before it ...

Stand-alone Mercurial (or other SCM) client for user without administrator rights?

I don't have admin rights to my pc, but would like to use Mercurial (a different SCM is fine, too) to track changes. I have Mercurial installed, but can't install TortoiseHg because I don't have admin rights. Is there an alternative that doesn't require (either directly or through dependencies) admin rights? P.S. I'm looking for a stand...

Use Windows Workflow Foundation to develop timesheet approval and submit system

I'm planning to develop a timesheet system that requires users to fill out a form, submit, and requires manager approve/reject, and finally submit to finance. Since there's quite a bit of workflow, is WF a good tool for this kind of thing? I'm going to code it in ASP.NET. ...

Python mkdir giving me wrong permissions

Hello all again :D I'm (trying) to create a folder and create a file within it. Whenever i create that folder (via Python), it creates a folder that gives me no permissions at all and read-only mode. When i try to create the file i get an IOError. Erro: <type 'exceptions.IOError'> I tried creating (and searching) for a description...

Speeding up ssh in batch files

This is my situation:     I have a linux server/media center with a windows client.     My goal is to remote control rhythmbox amongst other things.     I've done this using plink (windows based cli ssh toy).     The problem is that starting up an ssh session logging in and sending a command is understandably slow as hell. When I had a w...

How to change file icon in Turbo C++ and cc3270.dll

Hi! I started to use Borland's Turbo C++ a few days ago. I actually have two questions. 1.: How can i change the file icon?? If i create a program (Console Application), it will always have this blue icon (buildings or something like that on it), and i can't find it anywhere, how to change it to the default "none" icon (which like i...

How to put a C# programm (ex WPF or WF or with Mono) under desctop Icons (like a wallpaper)?

How to put a C# programm (ex WPF or WF) under desctop Icons (like a wallpaper)? I want my Old Good XP Active Desktop made by a some open source C# programm on my Win 7!) Something like this - Fences . They have there "windows" appearing underneath icons. I do not want to manage Icons - just put my window under them... BTW any one know...

If I know Windows kernel, what can I do?

Currently I am in a stage that can learn Windows kernel programming, but I am wondering after that which types of jobs I can do? For Linux kernel, seems till now only a bunch of driver works related jobs there. ...

Capture screen shot with mouse cursor

Hi, I have used the following code to get screen shot on Windows. hdcMem = CreateCompatibleDC (hdc) ; int cx = GetDeviceCaps (hdc, HORZRES); int cy = GetDeviceCaps (hdc, VERTRES); HBITMAP hBitmap(NULL); hBitmap = CreateCompatibleBitmap (hdc, cx, cy) ; SelectObject (hdcMem, hBitmap) ; BitBlt(hdcMem, 0, 0, cx, cy, hdc, 0, 0, SRCCOP...

The symbol packaged downloaded from MS site

Hi, I just downloaded the symbol package for WIN7 RTM but in my windbg it still find the symbol information for RegQueryValueEx(). From the windbg information it said some of the OS dll symbol is not provided in the pdb file, but how can I know which ones are not provided and which one does? Specifically the symbol I am searching for ...

What are the minimum requirements for writing a Java client for MQSeries?

I need to write a simple MQSeries client in Java. The client just has to connect to the queue and pull off the next message. I have done this before a number of years ago and have all the sample code etc. All I remember needing are the three jar files: com.ibm.mq.iiop.jar com.ibm.mq.jar connector.jar I have been doing some reading...

why windbg command start with . or !

Is there any difference between . and ! ? ...

Communicate to Apache Server

Hi, Does any one know, how to communicate to Apache server from client side using Win32 or C#. and can i get the control to execute the process at server? if so how to do?. how to receive file sent by apache?. Please help me... Thanks ...

Memory mapped files optional write possible?

When using memory-mapped files it seems it is either read-only, or write-only. By this I mean you can't: have one open for writing, and later decide not to save it have open open for reading, and later decide to save it Our application uses a writeable memory-mapped file to save data files, but since the user might want to exit ...

windbg: private pdb symbols

what is the difference between (private pdb symbols) and (pdb symbols)? ...

Building Inno Setup installer for MSI files

Hi, I'm building a deployment for a work environment, and doing it with Inno Setup. I wrap the other installers in one Inno-exe-File. It's working fine with other exe installers, but fails when it comes to MSI installers. I don't know if there is any general problem, but it completely ignores my file association with the MSI exe (it w...