windows

Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)

I'm creating a windows service on a windows 2003 machine, using dsofile to modify custom properties on a bunch of documents. This works fine until I install the service on a win2k8 machine where it gives me the following error: ERROR [2010-09-06 13:17:12,317] An unknown error occured: System.InvalidCastException: Unable to cast...

put z-index of embedded windows media file always op 0 level (z-index)

With this code i'm trying to put a windows media file on a HTML page. I also have a menu on top of my page. Problem is my top menu dissapears behind media in FireFox. IE browsers working good on this problem. Somebody any ideas, please? ...

PEAR Package for Symfony Plugin on Windows

I have been looking for a way to create a PEAR package out of my Symfony plugin on Windows. I am unable to find any utility or tutorial explaining the process. In case there is no solution, I will have to manually prepare my package.xml, which is kind of sad in this world of automation. Any solution? ...

Django + IIS + ?

I need to run a django app on windows under either IIS6 or IIS7 (yes, I don't know the exact requirements right now). What I did: I've tried to set up a working environment on my windows 7 (so its IIS7 for now) machine. I've followed the instructions at django trac using PyISAPIe. What came out of it: Apparently, either I am doing some...

When is the handle with name \GLOBAL?? is created?

Hi, I have a dump of process where the handle count in the process did reached 16 million handles (which is the maximum allowed handles per process). Hence the process got hanged. From dump (This is second dump where the handle count is high but not max limit.) I get following data : 53778 Handles Type Count None ...

How to securely store database credentials for Windows application?

I have a python application designed to run as a service on Linux, and I've been asked to install it on a Windows XP box in an office where there are no Linux machines (for me, this makes it a bizarre and confusing place as I have virtually no experience developing for Windows). On Linux the application has its own user, and the applica...

choice between win32 APIs and .NET framework

I have to develop an application for windows that will enable controlling the mouse through web cam by recognizing hand gestures. I will be using vc++ 2008 for development. But I am confused whether to go with .NET framework or core win32 APIs. Performance is very important for my application. As per the book "Beginning Visual C++ 2008" ...

Set Windows Process 'Comment' via .Net?

When looking at my Windows tasks via Microsoft's/Sysinternal's Process Explorer I can see/modify a process's 'Comment' attribute. Is it possible to set this attribute programmatically from within the process itself somehow in a .Net application or this something specific to Process Explorer? ...

Extremely confused about ContentPresenter

FYI I'm pretty new to Silverlight. Okay, so I want to build a simple user control that contains a button plus some additional XAML as specified by the client of the control. I got searching on Google and found at least 30 different articles that were all very confusing; especially because they talk about styling animation, customizing ...

Is there a way to list drive letters in dired ?

On windows, how could I open a dired buffer showing all drive letters. When you do C-x d you should always provide a directory, but I want to start at the drive letters level instead of a root directory of a particular drive. If no standard solution exists, do you have one (an extension to dired ?) ? or links to articles on the subject ...

What a good and free windows SQL client app?

Something like SQL Wave but free or open source? Thanks. ...

i want to know if the ide we use contains linker or not

Is the Linker part of the Operating System or the Compiler/IDE? ...

Windows protected mode - memory

Hello. I downloaded a disk and memory editor called HxD (available at http://mh-nexus.de/en/hxd/). I wonder how it is able to access (read and modify) virtual memory assigned to all applications running on my system (Windows XP Pro SP3). From what I know, Windows is running in protected mode, making such endeavours impossible. Yet it's n...

redhat cygwin vs cygwin ? any diffrence ?

i just notice that there is a redhat cygwin at http://www.redhat.com/services/custom/cygwin/ , is there any difference ? 1 . redhat builds cygwin so its faster. (5:15:46 AM) adamramadhan: version ? (5:15:53 AM) adamramadhan: 1.8 and 1.7.7 ? (5:15:59 AM) adamramadhan: why can that happen ? (5:16:17 AM) snoopy left the room ("Saliendo")...

How to copy structure in c/c++?

DECLARE_PTR(VIDEOINFOHEADER, pvi, pmt->AllocFormatBuffer(sizeof(VIDEOINFOHEADER))); ZeroMemory(pvi, sizeof(VIDEOINFOHEADER)); //initialize Vih VIDEOINFOHEADER Vih; Vih.aaa = xxx; Vih.bbb = yyy; ... //now how to copy the value of Vih to pvi? Anyone knows? ...

Help please - WM_SYSCOMMAND message from Aero Shake/3D flip

HI I have an application written in Delphi 2006. I have noticed that when running under windows 7 the application does not receive the WM_SYSCOMMAND message from Aero Shake. However if I run the application as administrator then it does receive the WM_SYSCOMMAND when performing Aero Shake. I've tried calling ChangeWindowMessageFilter...

Microsoft's ASLR is weird.

I watched a ASLRed dll images's based address for 32bit Process. It's not a fully randomization. It just randomizated 1/2 probability. For example, once I load a dll then the image is loaded on 0x12345678. And I load the image again, the image is loaded on 0x23456789.(Base address is chagned!) But I load the image again 0x12345678 0x234...

Difference between Authenticode, SPC and Java CodeSign?

Hello. Most CAs are selling code signing certificates in different "products", like Verisign or Certum: Microsoft Authenticode - "Allows you to sign EXE, OCX, DLL, bla..." Java CodeSign - "Allows you to sign Java code" Software Publisher Certificate - "Allows you to sign software" Well, I am REALLY confused about this. What is the d...

Problem getting System.ContentStatus using DSOFile.OleDocumentPropertiesClass

I've been able to read many of the Windows System Properties through Pywin32 and DSOFile, but I'm having trouble accessing the System.ContentStatus property. import win32com.client DSO = win32com.client.Dispatch("DSOFile.OleDocumentProperties") DSO.Open('C:\test.doc') print DSO.SummaryProperties.Company #works print DSO.SummaryProperti...

Underline Text in Tkinter Label widget?

I am working on a project that requires me to underline some text in a Tkinter Label widget. I know that the underline method can be used, but I can only seem to get it to underline 1 character of the widget, based on the argument. i.e. p = Label(root, text=" Test Label", bg='blue', fg='white', underline=0) change underline to 0, and i...