How would I go about making my program close instantly after it finished doing its thing?
Without displaying "Press any key to continue" and waiting to be closed manually.
Type: Posts; User: Metal Man
How would I go about making my program close instantly after it finished doing its thing?
Without displaying "Press any key to continue" and waiting to be closed manually.
The error points to this line
hFind=FindWindow("IEFrame",NULL);
And if I remove it then the error points to the next line which has "hFind" in it.
hFind=FindWindow("IEFrame",NULL);
If I remove that it points to any line with "hFind"
// TheClicker3 Beta1Dlg.h : header file
//
#if !defined(AFX_THECLICKER3BETA1DLG_H__92934473_FD13_4460_A993_E946B5A1D54E__INCLUDED_)
#define...
// TheClicker3 Beta1Dlg.cpp : implementation file
//
#include "stdafx.h"
#include "TheClicker3 Beta1.h"
#include "TheClicker3 Beta1Dlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef...
error C2440: '=' : cannot convert from 'class CWnd *' to 'struct HWND__ *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Error executing...
The only thing I can think of is...
TerminateProcess("iexplore.exe", 0);
That didnt work...
I looked up TerminateProcess and couldnt find anything that really helped me (I'm obviously very...
My program currently opens up multiple iexplorer.exe's in the background. Everytime I run it i get around 50 iexplorer.exe processes.
Now I'm hoping to find a way to kill all of them with a single...
i dont really care about the program displaying the html, i just want to send the GET command. I'm just trying to find a way to open the telnet session and then write to it.
I tried to put it in the same line
system("telnet site.com 80 GET /whatever.html HTTP/1.1");
but that doesnt work either.
I have the following code
#include <stdio.h>
#include <stdlib.h>
#include <iostream.h>
int main()
{
system("telnet site.com 80");