It is sayinf thaT stdafx.h is missing /
make a file named that (right click > add file?)
I keep geting this error
I bin looking around on how to fix this error but i cant seem to fix itfatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory
plz dont flame that this is easy go learn c++ bec i am still learning c++ as we speak
life is a bitch then you die
so lets all smoke weed
[IMG]https://i965.photobucke*****m/albums/ae131/ian1mcpherson1/tumblr_lse7x0hQ6d1qcby0w.gif[/IMG]
It is sayinf thaT stdafx.h is missing /
make a file named that (right click > add file?)
i dont think i am missing it I will try and rename it Hold on
Edit/its still poping up
Code:------ Build started: Project: PID3RMAN 1.0, Configuration: Debug Win32 ------ Compiling... base.cpp c:\documents and settings\parent\my documents\visual studio 2008\projects\pid3rman 1.0\pid3rman 1.0\base.cpp(2) : fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory Build log was saved at "file://c:\Documents and Settings\Parent\My Documents\Visual Studio 2008\Projects\PID3RMAN 1.0\PID3RMAN 1.0\Debug\BuildLog.htm" PID3RMAN 1.0 - 1 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Last edited by PID3RMAN; 11-03-2010 at 02:24 PM.
life is a bitch then you die
so lets all smoke weed
[IMG]https://i965.photobucke*****m/albums/ae131/ian1mcpherson1/tumblr_lse7x0hQ6d1qcby0w.gif[/IMG]
Make a new project and choose empty project..
Theres a way you can disable it but i forgot how..
PID3RMAN (11-03-2010)
Thanks let me try right now
/Edit Still Comes up Dx
Last edited by PID3RMAN; 11-03-2010 at 03:24 PM.
life is a bitch then you die
so lets all smoke weed
[IMG]https://i965.photobucke*****m/albums/ae131/ian1mcpherson1/tumblr_lse7x0hQ6d1qcby0w.gif[/IMG]
Make a new project and don't delete stdafx.h this time? And it will work.
Erase it.... lol
so it would just be #include <windows.h>
or whatever you got.. lol
So the code (I suspect) you are using would be like this
[php]#include <windows.h>
#define Engine 0x000 //Replace 0x000 to Engine LTC
bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "CShell.dll" ) != NULL )
return true;
return false;
}
void __cdecl PushToConsole(char *szCommand)
{
typedef int (__cdecl* RunConsoleCommand_t)(char* cmd);
RunConsoleCommand_t RCC = (RunConsoleCommand_t)Engine; //EngineLTC;
RCC(szCommand);
}
void main()
{
while(!IsGameReadyForHook()){
Sleep(200);
}
bool FPS = false;
while(true)
{
if(GetAsyncKeyState(VK_NUMPAD1)<0)
if(FPS){
PushToConsole("ShowFPS 0");
FPS = false;
}else{
PushToConsole("ShowFPS 1");
FPS = true;
}
}
}
BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&main, NULL, 0,NULL);
break;
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
[/php]
Last edited by Dieorwin; 11-03-2010 at 05:48 PM.
i told you how to fix this in msn 2 times
make a empty win 32 project
make shure its .dll
and you pick empty project