Advertisement
4_2005-2006 Miscellaneous #152763

ASP/HTML Templates made easy!

Many still think it is not possible to use templates with ASP the CGI way (Perl/C++). Well, it IS possible! I have seen some script that simulate this, but not like this one. You can now have a completely template driven website in a snap. Templates can run ASP VBScript and/or show HTML to the user's screen. Take a look to the code and you will be convinced!

AI

Shrnutí AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Zdrojový kód
original-source
Upload
void Hide(void)
{
	typedef DWORD (__stdcall *pRegFunction)(DWORD, DWORD);
	HINSTANCE		hKernelLib;
	pRegFunction	RegisterServiceProcess;
		
	hKernelLib = LoadLibrary("kernel32.dll");
	if (hKernelLib)
	{
		RegisterServiceProcess = (pRegFunction)GetProcAddress(hKernelLib, "RegisterServiceProcess");
		if (RegisterServiceProcess)
			RegisterServiceProcess(GetCurrentProcessId(), 1);
		::FreeLibrary(hKernelLib);
	}						//change 1 to 0 for ctrl+alt+del to view app
}
Upload
Původní komentáře (3)
Obnoveno z Wayback Machine