windows

Is there any ISAPI DLL C# wraper?

I created a HTTP\TCP server in C#. Now I want to host It as I would host normal C\C++ server . I want to give to it namespace on my 80's port near to other HTTP servers I have. (see this topic ) So anyway I want to be able to use ISAPI DLL from. I need a wraper. Where to find such? ...

How can I retrieve monitor information?

I am trying to retrieve the monitor ID's as shown in the Windows display properties (#1, 2... etc), but I can't seem to find a way. I have tried using EnumDisplayMonitors as well as EnumDisplayDevices. They both return something like "\.\DISPLAY1". However, this number doesn't always match the number shown by Windows, especially when 2 v...

Are there any viable alternatives to wkhtmltopdf on windows, for html to pdf conversion?

I've found wkhtmltopdf, which looks good on the surface and works fine in very small cases, but it doesn't provide any real css control over the rendering. By that I mean it doesn't use the print media type and page breaks are not respected, as well, on windows you can't control the names of some header/footer variables, or generate a T...

Writing a script with the cmd prompt.

I'm trying to make a script that will place a list (in a .csv file) of processes that are running that take up more than 10 mb of RAM and shows the time + date the script was run. My teacher did this during his lecture but I can't remember how he did it. Just trying to figure out how to be better at IT. So my question is, can anyone hel...

Returning References from Function in VBScript

Hi, I am loosing my hair on VBScript. How the heck can I pass a reference as return value of a function? Currently my code looks like this: Set objUser = FindUser("bendert") REM Searches Directory for the User Function FindUser(UserLoginName) Wscript.Echo "Querying AD to retrieve user-data" Set objConnection = CreateObject("AD...

windows rights management client for windows 7

can you guys help me out finding windows rights management services client for windows 7 for 64 bit OS thanks ...

Why does Thunderbird always return immediately after sending mail through MAPI?

Why does Thunderbird always return immediately after sending mail through MAPI? Other clients, like Outlook Express, returns only when the mail is sent or when the user was cancelled the request. But Thunderbird always return SUCCESS every time. Somebody knows why or knows how to fix it? Thanks in advance. ...

Install error on installing Developer 2k 1.2.1on Virtualized Windows NT

I am trying to install Developer 2k 1.3.2 on a virtualized windows nt system. I am facing the following access exception. An application error has occurred log has been generated ORAINST.exe Exception: Access violation (0xc0000005) , address:0x00ea78ea Can anyone help me understand what might be going wrong ? ...

Is there a way to capture a bitmap from a WPF window using native C++?

Imagine a document window in a MDI application which contains a child WPF window, say a sidebar for example. How can one get a bitmap containing both the WPF pixels AND the GDI (non-wpf) pixels? I've discovered that when making my thumbnail preview for the Win7 taskbar app icon hover, I get black in the parts of the preview where the WP...

PHP set timeout for script with system call, set_time_limit not working

I have a command-line PHP script that runs a wget request using each member of an array with foreach. This wget request can sometimes take a long time so I want to be able to set a timeout for killing the script if it goes past 15 seconds for example. I have PHP safemode disabled and tried set_time_limit(15) early in the script, however ...

Pervasive & Linux

I'm interested in quering a Pervasive DB server running on a Windows platform from Linux. Would anyone happen to know if this is possible, what's required and what resources there are for me to read up on it? Thanks! ...

How can I use ToUnicode without breaking dead key support?

A similar question has already been asked, so I'm not going to waste time re-explaining it, an existing discussion can be found here: http://stackoverflow.com/questions/1964614/toascii-tounicode-in-a-keyboard-hook-destroys-dead-keys The reason I'm posting a new question however is that I seem to have come across a 'solution', but I'm no...

Modifying an old Windows program not to call exit after a keypress without source access

I have an older C++ Windows program that I've been asked to get run in a kiosk style environment for a student project. From the main menu, hitting ESC will exit the program, which is undesirable. In ye olden days I would have trapped the keyboard interrupt or whatever and dug around to NOOP whatever JMP or CALL was getting referenced in...

How to tell if two exe's are the same code-wise?

Is there a way to detect whether two EXE's (compiled from VS.Net 2008 for C++/MFC) do not have any code-level changes between them i.e. for purposes of knowing that there have been no statement changes. This is for compliance purposes when my vendor ships me an exe, ostensibly with no changes made to the code since the last time we ...

c++ process always on foreground in window OS

I have a c++ process, I want that process should always remain on foreground, kindly guide me how can I make it possible? ...

How to create a drop-in replacement for an existing dll?

Beyond creating a dll with all the same functions with the same interface and calling conventions, does the replacement dll need to exactly duplicate the export map including ordinal numbers of the original as well? So that not only explicit loading via GetProcAddress works, but implicit linking as well? (edit: this is an unmanaged, ...

Installing and configuring LDAP(AD LDS) on windows 7

How to install Ldap on windows7 and to configure it?? Did some googling..cant find any exact article.. any suggestions?? ...

How to get Version of the software?

Hi All, I am working on getting the version of the Software which is installed on the Computer. I have implemented the logic for reading the Uninstall hive of registry, but i have observed that some of the software are not having version entries in the Uninstall hive of the registry. But i want to show the version of those softwares als...

Finding undefined symbols in windows static lib

Is there any way to find out the list of undefined symbols in windows static library compiled using VC6? I know the nm command will list all the symbols in linux and symbols with a tag of "U" can be identified as undefined. But, how to do it Windows? ...

Several ways to call a windows batch file from another one or from prompt. Which one in which case?

A windows batch file (called.bat or called.cmd) can be called from another batch file (caller.bat or caller.cmd) or interactive cmd.exe prompt in several ways: direct call: called.bat using call command: call called.bat using cmd command: cmd /c called.bat using start command: start called.bat I'm quite in trouble to differentiate th...