usagefinder.zip
Finding Usage
Section 1
ddd.dsp
ddd.dsw
Section 2
Servpost.dsp
Servpost.dsw
Section3
instks.dsp
instks.dsw
Section4
change.dsp
change.dsw
change.ico
small.ico
|
////////////////////////////////////////////////////////////////////
// This program is done by Hirosh Joseph from india //
// Email hirosh@hirosh.com //
// Website www.hirosh.com,www.hirosh.net,www.hirosh.org //
// I always welcome to ur valuble comments //
////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "ftpput.h"
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
int hhh,i;
hhh=1;
char sdate[50];
HKEY hkeyresult ;
DWORD size = sizeof ( DWORD ) ;
SYSTEMTIME stime;
GetSystemTime(&stime);
sprintf(sdate,"%d",stime.wDay);
while(hhh<100)
{ hhh++;
i=ftppost();
if(!i){
RegOpenKey ( HKEY_LOCAL_MACHINE, ( LPCTSTR ) "Software\\Foldsoft", &hkeyresult );
RegSetValueEx ( hkeyresult, ( LPCTSTR )"Date" ,0, REG_SZ, ( const BYTE* ) ( LPCTSTR ) sdate,sizeof(sdate)) ;
RegSetValueEx ( hkeyresult, ( LPCTSTR )"Sent" ,0, REG_SZ, ( const BYTE* ) ( LPCTSTR ) "1",1) ;
RegCloseKey ( hkeyresult );
// MessageBox(0,"Ok Sent all","c",MB_OK);
hhh=100;
break;
}
}
return 0;
}
|
By viewing downloads associated with this article you agree to the Terms of use and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here