findstr regex search
I need to retrieve some value based on regular expression using findstr but findstr returns the whole line. Is there any way to change it? ...
I need to retrieve some value based on regular expression using findstr but findstr returns the whole line. Is there any way to change it? ...
I'm writing a .bat script for Windows. Is there any command that I can use within the script to retrieve the directory that the script is in? ...
Hello, I want to develop using a framework called symfony BUT, i do not have a MAC and i don't want to dual boot with Debian. I tryed virtual hosts via Virtual Box but it's too crappy. So i decided to stay on windows So when the tutorial tells me to do php lib/vendor/symfony/data/bin/check_configuration.php i do in the windows cmd...
For real-time multimedia tasks the low latency is essential. A stable low latency value makes it possible to use a computer for making music for example. As far as I know, under Windows systems there's a DPC latency thing that's quite crucial for ensuring the stability of the latency. You can read more about Deferred Procedure Calls her...
My application throws the exception below. Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load 32-bit SW T libraries on 64-bit JVM. How to solve this? What is the name of jar file needed? ...
When commiting changes to already existing files I receive the following error messages since today, although no one did change anything I know of at the server or client side. The server is running SUSE Linux Enterprise Server 10 (i586). We're using use mod_dav_svn 1.6.4 in apache 2.2.13. The svn server is running behind a reverse-prox...
I am fairly new to Android and this is my first post so I apologise in advance if I am breaking protocol or posting to the wrong board. Please feel free to move this post to somewhere more appropriate if required. I am developing for the 160 Gb Archos 5 Internet tablet. Not ideal as a development platform I know, but customer requiremen...
Does anyone know how MessageBox(...) could fail silently? MessageBox(g_hMainhWnd, buffer, "Oops!", MB_OK | MB_ICONERROR); ShellExecute(0, "open", "http://intranet/crash_handler.php", NULL, "", SW_SHOWNORMAL); For a little context, this code is called inside our own exception handler, which was registered with SetUnhandledExceptionFil...
Hi, the problem is, im using a leased windows server, and im trying to create a directory using php function mkdir, whichever path i try gives the same result. im using absolute something like this. mkdir('D:\Hosting\3105674\html\lepsiprisma\hola',0777); this returns Warning: mkdir() [function.mkdir]: Permission denied in D:\Hosti...
Hi All I have just got a new company mobile and would like to begin developing apps for the HTC HD2 Mobile Phone. However, when I downloaded Microsoft Windows Phone Developer Tools, it pretty much said right at the end of installation that "Setup could not install correctly", and I clicked on "more", and it said "Silverlight 4.0 could n...
Hi I am trying to figure out a way to convert a FILETIME structure from UTC to Local and vice versa. I've been using the two functions: FileTimetoLocalFileTime() and LocalFileTimeToFileTime(). The problem seems that they do not work as expected. As an example: First I got a local file time using: WIN32_FIND_DATA fd; FindFirstFile(_T...
I have a 24-bit bitmaps with R, G, B color channels and a 24-bit bitmap with R, G, B alpha channels. I want to alpha blend the first bitmap to a HDC in GDI or RenderTarget in Direct2D with the alpha channels respectively. For example, suppose for one pixel, the bitmap color is (192, 192, 192), the HDC color is (0, 255, 255) and the alpha...
I have a Qt application that I can compile in Ubuntu 10.04 64-bit and on Windows. However, I would like to avoid switching to Windows every time I want to compile the Windows version. Is there a way I can compile a Windows Qt executable in Ubuntu with mingw32 or something? Further, is there a way to integrate that compiler into Qt Crea...
I've been working on this app for the last few days and suddenly this super weird problem starting happening where 2 of my primary windows starting spawning during run time. I've searched for 3 hours and can't find where or why this is happening. If you want to show a stranger some love, can you help me find why this is happening? My pr...
Hi everybody, After seeing this movie and the introduction to Lapsus (http://synapticmishap.co.uk/synapticmishap/lapsuspromo/) I really felt that I had missed this feature in my own daily work. Are there any time tracking solution for windows that can monitor a set folder and its changes to the content files that may or may not integra...
Environment: windows xp. If my ID is "SYSTEM", and want to programatically change the IE proxy setting for all users on the same machine, is it possible? Thanks, xin ...
I've done a bit of searching and have found a few implementations using a wrapped unmanaged .dll but haven't had any luck actually getting them to work. Such as here where I get a failure on pinvoke when attempting to initialize the hook. I used depends to check the dll and recompiled the dll myself (source was include) but no dice. I'd...
What is the equivalent of Quartz Window Services for Windows and X11? I want to be able to capture individual windows with their decorations, shadows, etc., completely independent from each other. Basically what the Son of Grab example is able to do. http://developer.apple.com/mac/library/samplecode/SonOfGrab/Introduction/Intro.html Als...
I opened a heroku account. I followed the instructions on http://docs.heroku.com/quickstart. I have a working rails app which I have deployed successfully elsewhere. I have a github account that works. I have a local git repository for my rails app. I installed the heroku gem. It shows up in my gem list. I typed 'heroku create' at the c...
Hi, I want to develop a program that copies a partition's 'data' only, to another partition. And I want to do it such that the program starts from the first sector of source partition and checks if a sector is used. If it is used copy it to the destination parition. Else don't copy. In other words it's like copying only th...