Windows API's - (Right-Click->Send To)

When right-clicking any file in Windows Explorer, there's a SEND TO menu. I want to add to this menu. My colleague and I are attempting communication over a visible light channel for our senior year electrical engineering project. What I'm imagining is right-click->Send To->VLC. There will be a process running in the background that detects this event, encodes the data if need be, and fires it out the serial port. Any ideas how to add to this menu, and get a program running from it?
closed account (NAXz3TCk)
I do not know much about this type of programming, however, I do know that you will have to use the regestry. I am not sure where the values for this are. This is the basic format.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <windows.h>

int main()
{
CRegKey regkey;

regkey.Open(HKEY_LOCAL_MACHINE, L"SOFTWARE", KEY_WRITE); // new key

regkey.Create(regkey.m_hKey, L"blahkey");

regkey.Open(HKEY_LOCAL_MACHINE, L"SOFTWARE\\blahkey", KEY_WRITE);

regkey.SetStringValue(L"newValue", L"theValue"); // new string value

regkey.close(); //Closes the Key

}

Last edited on
Topic archived. No new replies allowed.