Converting .DLL to .SO
Hello, Can any one of you help me in converting an windows dll file in a .so file. ...
Hello, Can any one of you help me in converting an windows dll file in a .so file. ...
Hi all, We would like to print the Web page loaded onto WebBrowser control in C# .net application.We have custom printer driver to print the bitmap images, now our task is to get the printer friendly version of web pages by applying print media CSS style to webBrowser control. Do you know the method /code to get the Printer friendly v...
In my .bat file I want to generate a unique name for files/directories based on date-time. e.g. Build-2009-10-29-10-59-00 The problem is that %TIME% won't do because it contains characters that are illegal in filename (e.g. ':'). Is there something like 'tr' in batch files? Any other ideas how to solve this (that don't require extr...
There seems to be a problem compiling freetype2 with MinGW and MSYS My attempts on a clean copy of the freetype source, and an unadulterated MinGW and MSYS give: Andrew@MCARDLE-PC ~/documents/code $ cd freetype-2.3.11 Andrew@MCARDLE-PC ~/documents/code/freetype-2.3.11 $ ./configure FreeType build system -- automatic system detection ...
I've a strange problem with a java server application running on a windows machine; sometimes the SocketChannel I just obtained by ServerSocketChannel.accept immediately returns an error when I try to read data from it - the strange thing is that at the same time the client that started the incoming connection is stuck waiting for the an...
In gVim if the cursor is over a filename (like "C:\Program Files\Vim\vim71\README.txt" ) which contains spaces then using 'gf' fails. I found the isfname option but the documentation says one should avoid using spaces. Is there I can make gVim open files under these circumstances ? ...
Here is a sample string I got off a socket stream. \033[H\033[J\033[1;30HSUPERVISOR MAIN MENU\033[6;5H 0. Exit Exit\033[7;5H 1. Help Display help\033[8;5H 2. Control Calling lists and users\033[9;5H 3. Campaign Campaigns\033[10;5H 4. Manage If you want to see the output I expect open a unix/linux shell, t...
We have some databases in a single SQL Server 2000 instance, one of them being a sandbox. My boss needs to be able to restore fresh data over the sandbox using a utility I don't have the source to. Such restores fail if anyone is connected to the sandbox. Another app I have accessing it uses connection pooling, and also there might be...
Hello, I'm developing a kind of filesystem driver. All of read requests that windows makes to my filesystem goes by the driver implementation. I would like to distinguish between "normal" read requests and those who want to get only the metadata from the file. ( Windows reads first 4K of the file and then stop reading ). Does Windows ...
Hey, I'm using Windows Hook, I installed the mouse hook, system-wide and its working perfectly. Now there is a problem, I need to the get window handle on which the mouse was clicked.. How do I do that? Does the Mouse hook event passes us that information? ...
Hi friends I am developing an application for Windows CE based devices to read battery status. How would I do using win32 APIs? ...
Is there a modern day equivalent to Foxpro, Access, and so on? I'm looking for a programming environment that has database access built in as one of its most fundamental features. Something where the table data can be very easily tied into the GUI without having to write loads of glue code. Also preferably one that compiles down to an ...
I am trying to get all the information about my hard drives displayed in a memo or some other control so I can see free space and total space on the drives. I know there is a shell call I can use, but cannot figure out the usage. Can anyone give me an example or explain what I am doing wrong? ...
When the user selects file(s) or/ and folder(s) , I want to know the names of the selected file(s) or/and folder(s) programmatically. I think that if I send the message lvm_selected to the explorer window, it might return me the selected item. But as this is just a thought, it would be nice if anyone can help me out it in letting me k...
Can anyone suggest a good email server that runs on Windows Server 2008? I'm setting up a SharePoint test box and need email. Win2008 does not have the free smtp/pop services that were available on Win2003, so I need a free, easy and reliable mail server. Thanks. ...
In a Windows Batch script is there any way to return an absolute path from a value containing a filename and/or relative path? Given: "..\" "..\somefile.txt" I need the absolute path relative to the batch file. Example: "somefile.txt" is located at "C:\Foo\" "test.bat" is located in "C:\Foo\Bar". User opens a command window at "C...
The following code will always throw UnuthorizedAccessException (MemoryStream's internal buffer cannot be accessed.) byte[] buf1 = { 2, 3, 5, 7, 11 }; var ms = new MemoryStream(buf1); byte[] buf2 = ms.GetBuffer(); // exception will be thrown here This is in a plain old console app and I'm running as an admin. I can't imagine a ...
I'm soon to launch a beta app and this have the option to create custom integration scripts on Python. The app will target Mac OS X and Windows, and my problem is with Windows where Python normally is not present. My actual aproach is silently run the Python 2.6 install. However I face the problem that is not activated by default and t...
Is there a Windows API call that will tell me if I'm running on a 64-bit OS? I have some legacy c++ code that makes a call to GetVersionEx to fill in a OSVERSIONINFO structure, but that only tells me (AFAIK) the OS (Vista, V7, etc.), but not the processing architecture. I can hack around this by simply looking for the existence of "C:\...
I'm looking for a way to make a dual executable file for Windows/Mac. That is, I can execute the file in either OS and it would run some piece of code that I want for that OS. This code can be either a script or (preferably) natively compiled code, but it needs to run on the vanilla OS without needing any extra tools or libraries insta...