I'd like to change the screen resolution and then go fullscreen with one activex control (a flash player). Obviously, a windows-only solution is fine :). Is there a Qt api for that, or do I need to dig into winapi? If so, where do I look (keywords)?
Thanks for the help.
...
I have a WPF Window with WindowStyle set to none. Is there some way I can force this window to drop a shadow (like the one you get when WindowStyle is not none)? I don't want to set AllowTransparency to true, because it affects the performance. And I also don't want to disable hardware rendering (I read somewhere that transparency perfor...
I'm trying to write unit tests for an application that reports on Entries in an EventLog. Right now when I run the unit tests, I'm having to create a temporary EventLog, write entries to it, and delete the log when I'm done. I'm doing this because I need to get back the EventLogEntry object, which have no constructor.
My question is...
I need to buy a few smart cards (under 5) for some development work. I've got readers and I'd prefer not to buy one of the expensive SDK's offered by several companies.
I'm hoping to get some help from you folks on a few questions
Background: for the card I need to do public/private key encryption. I'd like for the card to hold the p...
Ok this is a really weird problem. I wanna start off by saying that I'm not a beginner in c++ and I'm certainly not advanced. I'm somewhere in the middle. What I'm trying to do is make a C++ OOP wrapper library (dll) of the Win32 API. Here are the classes of my library. I compiled it with Mingw using the command:
g++ -shared -o bin\win3...
I want to package a Python script so that it can run as a standalone program on Windows XP and later Windows versions. Now to do this I'm pretty sure I'll have to convert it to an .exe file. I know methods exist, what is the easiest/best method?
Now this is where the question gets a little more advanced. I also have some modules the p...
I need to be able to call .NET 3.5 managed code in a DLL from native C. I was not provided with .h or .lib files.
I've tried making a C++ DLL to expose a C-compatible interface but I don't seem to be able to include the DLLs I need to use in my project.
Is there any way to call .NET managed code from native C?
...
I am working in a project that uses a filesystem and I'm having some problems integrating with windows.
I need help to understand how windows file system works.
(sorry, I don't speak english very well)
...
im using WIN32_FIND_DATA to store the data findfirstfile outputs. i want the file location (C:\file) as a string but i don't know how to get it or any other data from it.
Edit: here is my code
PTSTR pszFileName;
PTSTR pszFileName2[100];
if (search_handle)
{
do
{
pszFileName = file.cFileName;
pszFileName2[loo...
Hi ..
I have a requiremnt in which i have to create a batch file to copy files in a folder that starts with 'ABC' and ends with Current.xls.
for ex:
the files are in the folder
C:\Sample\Source
ABC Great outdoors Current.xls
ABC Great outdoors Previous.xls
ABC Treading corp Current.xls
i want to copy the files which starts with ...
Few years ago, under Windows environment, I did some testing, by letting multiple instance of CPU computation intensive + Memory access intensive + I/O access intensive application run. I develop 2 versions. One is running under multi-process, another is running under multi-thread.
I found the performance is much better for multi-proces...
Does anybody know how to setup a basic SVN server on my windows pc? I want to create an SVN repository to store the code for my home projects I've got lined up.
Anyone know how to do this?
...
I'd be interested to know a book that covers how to use wrapper classes to create dialogs or maybe like inherit a scratch window class to create child windows and all that is needed to build a software. Currently, I only have one main source file that include headers and have global handles and variables.
...
Hi,
can somebody tell me where I am making mistake in the converting:
C:
typedef struct _REGISTRY_EVENT {
REG_NOTIFY_CLASS eventType;
TIME_FIELDS time;
HANDLE processId;
ULONG dataType;
ULONG dataLengthB;
ULONG registryPathLengthB;
/* Contains path and optionally data */
UCHAR registryData[];
} REGISTRY_...
Ok, I'm trying to make a program that finds the position of a colored pixel within the desktop. To do this I make a screenshot of the desktop then go through the pixels and search for the one that has the matching RGB as i need. The only problem is that my program returs strange coordonates X,Y for the found pixel...
#include <stdio.h>
...
im trying to index a folder that has some 2k pdf files. But it's not indexing 6 files. i copied those 6 and created a new catalog. it indexes.
what could be wrong. i tried emptying the catalog and reindex it. still it's not indexing all files.
Pls help. this is windows server 2008.
-Vivek
...
Hey guys, I am trying to figure out how I can call a function without having it being exported.
Okay so I have an exe file with "add" defined in it, This exe is a win32 console application and loads a DLL. The DLL also aims to use the add function from the exe file ( without exports )
Here is my main win32 console application file:
#i...
I'm playing around with building C# app, really new in C#. What I'm trying to do is; make the app periodically read the content of a text file (in one or two words only). The content of the text file will be handled by other mean, so no issue on that. I'm displaying the content on the Text of System.Windows.Forms.Label(). Right now, it w...
I want to implement a network level AdBlock/NoScript-like tool for Chromium, but Chromium Extension API can not do much about controlling raw request data.
So here is the idea:
Capture all HTTP queries, and cancel one if URL or MIME matches.
Hand craft packets, like insert a header to an HTTP query.
Can this be implemented by runnin...
Hi,
By default on Windows, when copying text, it gets put in the clipboard. But when attempting to copy empty text, the clipboard is untouched. For example, selecting no text in your editor, then hitting ctrl+c, will cause no change in the clipboard.
Problem is, I need to catch this event with AutoHotKey. Since the clipboard is unchang...