Click here to Skip to main content
13,764,268 members

C / C++ / MFC

 
PinnedHOW TO ANSWER A QUESTION PinPopular
Chris Maunder12-Jul-09 23:37
adminChris Maunder12-Jul-09 23:37 
PinnedHOW TO ASK A QUESTION PinPopular
Chris Maunder12-Feb-09 18:19
adminChris Maunder12-Feb-09 18:19 
Questionfacing issue in “Ajantha” font on windows10 in GDIplus Pin
Avinash.Pandey12-Nov-18 23:06
memberAvinash.Pandey12-Nov-18 23:06 
QuestionRe: facing issue in “Ajantha” font on windows10 in GDIplus Pin
Richard MacCutchan19hrs 42mins ago
protectorRichard MacCutchan19hrs 42mins ago 
AnswerRe: facing issue in “Ajantha” font on windows10 in GDIplus Pin
leon de boer18hrs 26mins ago
memberleon de boer18hrs 26mins ago 
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
mvpCPallini5-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
mvpCPallini12-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
mvpCPallini4-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 

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
Web01-2016 | 2.8.181113.4 | Last Updated 14 Nov 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid