the content of manifest file is linked to executabe by linker or must be distributed into the same folder where the app's executable is running from?
tibiz
Posts
-
Getting rid of security questions when accessing registry Vista, Win 7 [modified] -
Getting rid of security questions when accessing registry Vista, Win 7 [modified]it's without manifests
-
Getting rid of security questions when accessing registry Vista, Win 7 [modified]no, I can't require from users to turn off the UAC. my app must run at startup like anything other (antivirus, mouse or bluetooth resident, ...). But it won't ...
-
Getting rid of security questions when accessing registry Vista, Win 7 [modified]ok, I disabled any registry checking but my app still won't run at windows startup on Vista and W7 :confused: On XP works properly. Any ideas?
-
Struct Probtry change to this: typedef struct VIRTUAL_BIN { int Type; int Quantity; double Price; } Virtual_Bin;
-
Getting rid of security questions when accessing registry Vista, Win 7 [modified]Dear developers I'm finishing a simple but useful tool and have a serious problem - when I start my app and access windows registry to create value in RUN key or check if already created (for registering my app to startup) in Vista or 7 it always show a "Do you want to allow...to make changes to your computer?" message which must be confirmed. How can I get rid of this confirmation boxes? When I confirm the needs, the app registeres itself into startup but after restart it don't run. The key and value is already in registry. This problem occurs on Win 7 and Vista, XP is fine. I'm writing to hkey_local_machine/software/microsoft/.../run Need I upgrade my compiler to build versions for Vista or Win 7 which can run as Administrator? I'm using my old but legal VC++ ver7 / 2003 and have C++ 2008 Express too. Thank you
modified on Monday, March 8, 2010 9:23 PM
-
Catch drag'n'drop eventthank for answ. catching the event is more important than getting the WM_DROPFILES target. but will, try.
-
Catch drag'n'drop eventHello Is possible to catch a system event if mouse is in Drag'N'Drop mode? I mean an event when PC user is dragging something between two application f.e. from AcrobatReader to Photoshop and I want catch this event from my app. Or the one possible solution is asynchronously track mouse way and buttons... Thanx
-
Modifying input stream of Video before playing itThanx, I've done it during today, but created a Source filter (file reader). The transform filter won't work as well
-
Supplying new command line parameters to the executable already activemay be a solution: you run the app #1 in MSG processing define an own message, f.e. WM_OWNMSG run app #2 handle the command line parameters find/catch the main window of app #1 (f.e. throu FindWindow(...); ) send the cmdline parameters throu SendMessage(FindWindow(...), WM_OWNMSG, (LPARAM)cmdline, (WPARAM)whatWithIt);
modified on Thursday, July 24, 2008 7:07 PM
-
Modifying input stream of Video before playing itI need some quick help with this problem: I've created a simple video player using DirectShow. When I set playing a video file (f.e. wmv) I need do some file decryption (file is encrypted with own algorithm) before playing the movie stream - during reading data from file into DirectShow's stream buffer. I need some ideas, how can I do this: > Open video file > fread(buffer, bufflen) / apply buffer decryption -> redirect to DirectShow (apply filters, etc.) -> Play Thank you for any support
-
Determining if an drang'n'drop event is activeHow is possible to determine, if a drag'n'drop event is active between two other appliactions or processes. I mean - catching the event globally - that in Windows is at the moment a drag'n'drop event in progress. Thanx a lot
-
An interesting problemI used the PeekMessage and tried to create the window in the secondary thread, but still not working. So I placed the whole code, here (sorry for the comments, they are not in ENG)
-
An interesting problemI create a thread in a very simple app, that way:
HWND hWnd = CreateWindow(...); DWORD _tid; if((CreateThread(NULL, 0, msgprocessing, hWnd, 0, &_tid)) == NULL) { error(); } // hWnd is the parameter for thread
I need tu run message processing in the thread to catch msg's for hWnd window, but it won't work. Everything else is coded correctly. Any ideas why :confused: -
TcpClient in Visual C++hello, I can help you sending the src of UDP / TCP messenger here, if interested, write me or to a contact on that page
-
2. Questions about PowerDown and Hibernation - need helpI tried the way using creating classic HWND window receiving WM_POWERBROADCAST and returning BROADCAST_QUERY_DENY. Problem is - if I create the window and let it invisible, it don't receive any WM_POWEBROADCAST message.
-
2. Questions about PowerDown and Hibernation - need helpwe can't use visible HWND window in our app, and invisible window don't behave well
-
2. Questions about PowerDown and Hibernation - need helpI need to catch Windows PowerDown from a process and block it. This is nicely implemented in MS Outlook 2002 or later (try to power down your computer when MS Outlook is running) 1. How can I catch a Windows PowerDown (or Hibernation) Event without using window (HWND) message queue 2. A way to block or deactivate the PowerDown Any help will realy help, thank you
-
Switching off hibernation [modified]bool SetHibState(BYTE state) { HKEY hKey; HKEY hk; if(RegOpenKeyEx(HKEY_LOCAL_MACHINE, SUBKEY, 0, KEY_QUERY_VALUE, &hKey) == ERROR_SUCCESS) { BYTE byteRegData[255]; DWORD dwBufLen = 255; LONG lRet; if((lRet = RegQueryValueEx(hKey, VALNAME, NULL, NULL, byteRegData, &dwBufLen)) == ERROR_SUCCESS) { RegCloseKey(hKey); byteRegData[6]=(BYTE)state; //for(int i=0;i //printf(" %x", byteRegData[i]); if(!RegCreateKey(HKEY_LOCAL_MACHINE, SUBKEY, &hk)) { RegSetValueEx(hk, VALNAME, 0, REG_BINARY, (LPBYTE)byteRegData, (DWORD)dwBufLen); RegCloseKey(hk); } else return false; } else { RegCloseKey(hKey); return false; } } return true; }
.... but the problem is, the system won't give any reaction to the change, in power options is still the old setting -
Switching off hibernation [modified]Thanx, I know about registry setting. I'm trying using the GLOBAL_POWER_POLICY and if it will not help, maybe the reg. settings. Can you post me the place where to find the reg. entry ?