I was wondering if someone can help me with a code...I want to make a code where when someone opens the .exe an Instant Message in the AIM client is *SENT* not just opened...This Is what I Have So far...This is just a Snippet...Just the part im asking for help with.
#include <stdio.h>
#include <windows.h>
#include <time.h>
int main(void)
{
char* URL = "Aim:GOIM?screenname=Some+sceenname&message=I+have+accepted+the+terms!";
LRESULT CALLBACK WndProc(HWND hwnd, UINT msg,
WPARAM wParam, LPARAM lParam)
{
Sleep ( 5000 );
ShellExecute( NULL, "open", URL, NULL, "C:\\", SW_SHOW );
}
<< moderator edit: added code tags: [code][/code] >>
This Causes an instant message window to open with the message ready 2 be sent...The User still has the option to send it or close it....I need the message to be sent as a notify for a registration in the program....Help please?