Essentially, how to write a plugin system, where each plugin is a DLL. (Or is there a better way of a plugin system where each plugin is written natively?)
Suppose that each DLL offers some functionality available to other plugins. If plugin A does provides FuncA and plugin B wants FuncA, how should dependency be managed? How should plu...
I have an .net C# winforms application, and I need to add hotkey support, but I want more than the standard RegisterHotKey function, I want be able to support hotkeys like ctrl-ctrl (like in Google Desktop).
Please provide me a direction how to implement this.
edit:
You didn't got it right.
I want the hotkey to work even if my applica...
Please give me code example, How to Access USB port and detact USB driver is pluged.
Eg : When pen is plug Virious gard detect it and begin search , How they do it.
Thanks.
...
im searching for full directx tutorials i found directxtutorial.com but it only gave me the basic. couldn't find others that were full tutorials.
have you find any or know any?
...
My program has a static interface, but I don't know what's the best way to make my interface. With resource files or with the CreateWindow function using the WM_CREATE message?
Thanks
...
I am writing something similar to the http://ideone.com/. Currently I am running user processes with CreateProcess call. I kill the process if it runs longer then specified amount of time but I don't know how to deny read/write filesystem rights / creating process rights etc. to the created process. The given executable can be literally ...
It doesn't need to look like a progress bar.
All I need it to say is "Loading images..." while the texture is loading, then saying "Done" when it's done loading.
I have no idea, how to do it?
...
I've got a service that I need to shut down and update. I'm having difficulties with this in two different cases:
I have some threads that sleep for large amounts of time. Obviously I can't wait for them to wake up to finish shutting down the service. I had a thought to use an AutoResetEvent that gets set by some controller thread when...
Hello,
I have a problem, i have a file who opened other process and this process defined in CreateFile non file sharing, then i have other application and i want read data from this
file in same time, but how to do.
I can't change file sharing in first application.
I can reach computer administrator right's, i can do changes in system,...
I am new to WINAPI and have figured out how to send a message to another program. The program I am using however I would like to be able to have it click on a specific button. From what I have learned by viewing Spy++ windows handles change for the programs every time they are reloaded and so do the handles for their controls. The contro...
i found some examples how to apply texture on 2d object but nothing on 3d. if you know any tutorial or you can give me an example that would be greate.
...
I am trying to write to the memory of another process, I open it with permission 38h (VM_OPERATION, VM_READ, VM_WRITE), then i use VirtualProtectEx with permission 4h(PAGE_READWRITE), but i also tried PAGE_EXECUTEREADWRITE - same error later.
Then I invoke ReadProcessMemory, and successfully read out the value of a fix address.
But as I...
I'm starting an Explorer.exe instance with CreateProcess (flags NORMAL_PRIORITY_CLASS + DEBUG_PROCESS + DEBUG_ONLY_THIS_PROCESS), and then I'm doing this:
procedure FakeDebugProcess;
var
wDebugEvent : DEBUG_EVENT;
begin
fillchar( wDebugEvent, sizeof( wDebugEvent ), 0 );
repeat
if WaitForDebugEvent( wDebugEvent, INFINITE ...
i don't need tutorials talking about fvf or how to draw a triangle.... i need some advance stuff like meshes shadering........ that are free.
...
Hi guys,
Is it possible, using the Windows Printer Spooler API, to extract RAW/Plain Text or any useful data from a Print Job?
I'll be building a separate App on a windows machine that will be listening for a Print Job and extract 'usable' data from it(plain text, etc.).
Say I print a 'Hello Word' text from notepad, a separate applica...
I want to implement an analog of backtrace utility under windows in order to add this information to exception for example.
I need to capture return addresses and then translate it into symbols names.
I'm aware of StackWalk64 and of StackWalker project but unfortunately it has several important drawbacks:
It is known to be very slow ...
I have been able to reparent an mdichild window to the desktop with the following code:
SetParent(hSeekedWindow,0);
SetWindowLong(hSeekedWindow,GWL_STYLE,WS_OVERLAPPED|WS_VISIBLE|WS_CAPTION|WS_MAXIMIZEBOX| WS_MINIMIZEBOX|WS_THICKFRAME|WS_SIZEBOX);
SetWindowLong(hSeekedWindow,GWL_EXSTYLE,WS_EX_CLIENTEDGE);
However, as soon as i try ...
I'm developing a DLL in C++ which needs to write some data via a (previously established) TCP/IP connection using the write() call. To be precise, the DLL should send a little 'Process 12345 is terminating at 2007-09-27 15:30:42, value of i is 131' message over the wire when the process goes down.
Unfortunately, all the ways I know for ...
i don't get any errors when i compiile my game the only problem is that it won't apply the texture it will apply a color, i know it is werid. like if texture has two colors white and red than white will be applied.
here is my code
// Monopoly.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#include "Monopoly.h...
Possible Duplicate:
Delphi Using LockFile on windows 7 64.
Hi All.
I have found that if you open a file that resides on 32 bit server in a share folder from a 64 bit windows 7 machine, read it, lock it and then open it again. When you close all open handles the file actually remains open.
The exact steps are:
Place a file...