windows

How do I install Visual Studio dll files?

I want use the Scintilla controls and the RadControls for Winforms, but I do not know how to incorporate the files. They are in .dll format? How do I use the controls if they are in .dll format? ...

Getting started with unmanaged Windows application?

The app I am thinking about is something like an email reader (UI intensive). Is MFC the best/only way to go? Are there any other development environments for this other than Visual Studio? Are there any recommended/must read for this? Thanks in advance. ...

Failure adding assembly to the cache: Invalid file or assembly name. The name of the file must be the name of the assembly plus .dll or .exe?

I am trying to add in the Facebook SDK binaries but I keep getting this error. The file is Facebook.Main.dll and gacutil does not let me add it. I already generated a KEYS file. ...

Measuring absolute time taken by a process

Hi I am measuring time taken by my process using QueryPerformanceCounter and QueryPerformanceFrequency. It works fine. As my system is a single processor based system. So many process sharing it.Is it possible to measure CPU time allotted to my process. SO that i can measure absolute time taken. Platform : Windows Language : C++ ...

[c++] [windows] back linking.

Hi all. There is shared class. Declarator is in shared header, implementation is in main program. Main program load DLL and exec some function from it, function create object of shared class. Test code: shared_header.h: #include<stdio.h> class sharedClass{ public: sharedClass(); }; plugin.cpp -> libplugin.dll #include"shared_head...

WPF and ClickOnce on Windows Embedded Standard 2009

Anyone knows if WPF and ClickOnce works on Windows Embedded Standard 2009 (WES)? I've understood that WES ships with .NET Framework 3.5, but it's not clear to me whether the above technologies are included. I'm guessing WPF will work, but I can't find any docs saying whether ClickOnce will work or not. ...

Get stack trace from uncaught exception?

I realise this will be platform specific: is there any way to get a stack trace from an uncaught C++ exception, but from the point at which the exception is thrown? I have a Windows Structured Exception Handler to catch access violations, etc. and generate a minidump. But of course that won't get called in the event of termination due t...

How to include advertising in an application?

Are there any services that allow you to place advertising in Windows software? I want to give away my software for free but still need to eat! ...

Uninitialized constant Encoding with sqlite3-ruby on windows

On a new machine, installed ruby with the 1-click installer for windows. Installed rails 2.3.2 and all associated gems, then I installed the sqlite3 binaries (into the c:\ruby\bin folder). Lastly I did gem install sqlite3-ruby -v=1.2.3 (which is apparently the latest version that works with windows) This error happens when I run rake ...

ASP IDE on Windows

What is the best free alternative to Visual Studio for ASP development on Windows platform? ...

Check for daylight saving time with WMI on Vista/Win7

How do I find out if the computer I'm on has daylight saving time in effect? (preferably using WMI) According to this article at TechNet, I could query SELECT DaylightInEffect FROM Win32_ComputerSystem, but the property DaylightInEffect is not supported on Vista or Win7. As my program will run on various systems (XP, Vista, 7), I would ...

Send CTRL+C to subprocess tree on Windows

I would like to run arbitrary console-based sub-processes and manage them from a single master process. The console based sub-processes communicate via stdin, stdout and stderr, and if you run them in a genuine console they terminate cleanly when you press CTRL+C. Some of them may in fact be a tree of processes, such as a batch script th...

Mercurial in Windows doesn't see .hgignore - why?

Windows fails to pick up my .hgignore file. I'm running Mercurial from the command line, and "hg status" shows lots of files in the ignored directories. The .hgignore file looks like this (there's no whitespace at the start of the file, or at the start of each line). I've put it in the root directory of the repository. \.pyc$ \.pyo$ \....

What might cause OpenGL to behave differently under the "Start Debugging" versus "Start without debugging" options?

I have written a 3D-Stereo OpenGL program in C++. I keep track of the position objects in my display should have using timeGetTime after a timeBeginPeriod(1). When I run the program with "Start Debugging" my objects move smoothly across the display (as they should). When I run the program with "Start without debugging" the objects occ...

Does ntdll.dll come standard with windows xp and windows vista?

Hello, Does ntdll.dll come standard with windows xp and windows vista? I know that I have it on my windows xp machine, but am not sure that is standard with every machine. The reason I am curious is for the NTQuerySystemInformation function to get CPU usage of a windows xp and/or windows vista system. Thanks, Steve ...

Compile Windows C console applications in Linux

Can I compile a Windows C console application (.exe) in Linux? (more specific, Ubuntu) I heard a long time ago of cross-compilers, but I wasn't interested in them at that time. Best regards, John F. ...

A bubble notification tool for Windows that doesn't require running a daemon like Growl or Snarl?

Something like CocoaDialog's Bubble Control is exactly what I'm looking for. Unfortunately, the cross-platform port (wxCocoaDialog) doesn't implement that bubble feature. ToasterBox looks suitable, but I'd prefer a more compact solution which doesn't require keeping Python and WxPython around. ...

Is there a better way to create this game loop? (C++/Windows)

I'm working on a Windows game, and I have this: bool game_cont; LRESULT WINAPI WinProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) { switch(msg) { case WM_QUIT: case WM_CLOSE: case WM_DESTROY: game_cont = false; break; } return DefWindowProc(hWnd, msg, wParam, lParam); } int WINAPI WinMain(/*lots of paramete...

Windows GUI tool for enabling/disabling hosts file entries?

When doing customer tests on web sites or web applications that rely on specific host headers, it might be necessary to temporarily add one or more lines to the hosts file on the customers PC. While this is certainly doable with any text editor (even Notepad), it might not be something the customer is able to do on her own. If several i...

How can I change the remote/target repository URL on Windows?

I created a local GIT repository on Windows. Let's call it AAA. I staged, committed, and pushed the contents to GitHub. [email protected]:username/AAA.git I realized I made a mistake with the name. On GitHub, I renamed it to [email protected]:username/BBB.git Now, on my Windows machine, I need to change this [email protected]:username/AAA.gi...