Click here to Skip to main content
13,834,944 members

C / C++ / MFC

 
QuestionElevate Process from user to Admins Rights without UAC Elevation Pin
Drakelor12-Nov-18 22:22
memberDrakelor12-Nov-18 22:22 
AnswerRe: Elevate Process from user to Admins Rights without UAC Elevation Pin
Richard MacCutchan12-Nov-18 22:35
protectorRichard MacCutchan12-Nov-18 22:35 
QuestionOk im back with another problem... Pin
Member 140474359-Nov-18 13:36
memberMember 140474359-Nov-18 13:36 
AnswerRe: Ok im back with another problem... Pin
Richard MacCutchan9-Nov-18 22:44
protectorRichard MacCutchan9-Nov-18 22:44 
AnswerRe: Ok im back with another problem... Pin
leon de boer10-Nov-18 20:21
memberleon de boer10-Nov-18 20:21 
QuestionMobile app Pin
valentineNandang9-Nov-18 3:45
membervalentineNandang9-Nov-18 3:45 
AnswerRe: Mobile app Pin
Richard MacCutchan9-Nov-18 3:52
protectorRichard MacCutchan9-Nov-18 3:52 
QuestionHello I am having a problem Pin
Member 140474357-Nov-18 13:30
memberMember 140474357-Nov-18 13:30 
I am using visual c++.net 2010 I get these errors
1>------ Build started: Project: last try, Configuration: Debug Win32 ------
1>  main.cpp
1>c:\users\trogd\documents\visual studio 2010\projects\last try\last try\main.cpp(18): warning C4007: 'DllMain' : must be '__stdcall'
1>LINK : fatal error LNK1561: entry point must be defined
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


and here is the code Smile | :) also please tell me what is wrong and how I can fix it. thanks!

#include <Windows.h>

#define ADR_Test 0xB7CE50

void HackThread()
{
	for(;;)
	{

		*(DWORD*)ADR_Test = 100000;

	}
	Sleep(180);

}

BOOL DllMain(HINSTANCE hDll, DWORD dwReason, LPVOID)
{
	if(dwReason == DLL_PROCESS_ATTACH)
	{
		CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread, 0, 0, 0);

	}
	return TRUE;

}

AnswerRe: Hello I am having a problem Pin
David Crow7-Nov-18 18:34
memberDavid Crow7-Nov-18 18:34 
QuestionScript generation from Objects using C++ Pin
FrankStar895-Nov-18 13:30
memberFrankStar895-Nov-18 13:30 
AnswerRe: Script generation from Objects using C++ Pin
CPallini5-Nov-18 22:06
mveCPallini5-Nov-18 22:06 
GeneralRe: Script generation from Objects using C++ Pin
FrankStar8912-Nov-18 12:19
memberFrankStar8912-Nov-18 12:19 
GeneralRe: Script generation from Objects using C++ Pin
CPallini12-Nov-18 22:18
mveCPallini12-Nov-18 22:18 
AnswerRe: Script generation from Objects using C++ Pin
leon de boer6-Nov-18 15:30
memberleon de boer6-Nov-18 15:30 
GeneralRe: Script generation from Objects using C++ Pin
FrankStar8912-Nov-18 12:22
memberFrankStar8912-Nov-18 12:22 
QuestionGames Pin
Member 140425973-Nov-18 6:24
memberMember 140425973-Nov-18 6:24 
AnswerRe: Games Pin
OriginalGriff3-Nov-18 6:27
protectorOriginalGriff3-Nov-18 6:27 
AnswerRe: Games Pin
CPallini4-Nov-18 22:50
mveCPallini4-Nov-18 22:50 
QuestionConways Game of life game in C Pin
Abhinav99933-Nov-18 2:27
memberAbhinav99933-Nov-18 2:27 
AnswerRe: Conways Game of life game in C Pin
Richard MacCutchan3-Nov-18 4:57
protectorRichard MacCutchan3-Nov-18 4:57 
AnswerRe: Conways Game of life game in C Pin
元昊 潘3-Nov-18 5:04
member元昊 潘3-Nov-18 5:04 
GeneralRe: Conways Game of life game in C Pin
Victor Nijegorodov3-Nov-18 7:33
memberVictor Nijegorodov3-Nov-18 7:33 
GeneralHow to solve memory resource management problems in C++ Pin
元昊 潘2-Nov-18 23:55
member元昊 潘2-Nov-18 23:55 
GeneralRe: How to solve memory resource management problems in C++ Pin
Richard MacCutchan3-Nov-18 4:56
protectorRichard MacCutchan3-Nov-18 4:56 
AnswerRe: How to solve memory resource management problems in C++ Pin
元昊 潘3-Nov-18 5:39
member元昊 潘3-Nov-18 5:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Cookies | Terms of Service
Web04 | 2.8.190114.1 | Last Updated 22 Jan 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid