error in c++ 2010 ...

Posts 1–4 of 4 · Page 1 of 1
error in c++ 2010 ...
1>------ Build started: Project: ProjectersHackCF, Configuration: Debug Win32 ------
1> ProjectersHackCF.cpp
1>c:\users\gustavo\documents\visual studio 2010\projects\projectershackcf\projectershackcf\pr ojectershackcf.cpp(2): fatal error C1083: Cannot open include file: 'exports.h': No such file or directory
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


HELP ME PLEASE
Quote Originally Posted by gusfelix95 View Post
1>------ Build started: Project: ProjectersHackCF, Configuration: Debug Win32 ------
1> ProjectersHackCF.cpp
1>c:\users\gustavo\documents\visual studio 2010\projects\projectershackcf\projectershackcf\pr ojectershackcf.cpp(2): fatal error C1083: Cannot open include file: 'exports.h': No such file or directory
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


HELP ME PLEASE
Lol all u have to do is to copy all things in exports.h then remove it and add it again with same name and paste then go to main.cpp ( or whatever u call it ) and debugg

---------- Post added at 06:02 AM ---------- Previous post was at 06:00 AM ----------

Quote Originally Posted by gusfelix95 View Post
1>------ Build started: Project: ProjectersHackCF, Configuration: Debug Win32 ------
1> ProjectersHackCF.cpp
1>c:\users\gustavo\documents\visual studio 2010\projects\projectershackcf\projectershackcf\pr ojectershackcf.cpp(2): fatal error C1083: Cannot open include file: 'exports.h': No such file or directory
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


HELP ME PLEASE
Lol all u have to do is to copy all things in exports.h then remove it and add it again with same name and paste then go to main.cpp ( or whatever u call it ) and debugg
Make one header file name it what ever you want or keep it exports.h create one there open exports.h Copy and paste original Code of Exports.h or C + P This


Code:
#include <windows.h> #pragma warning (disable:4311) #pragma warning (disable:4312) #define OffsetDesc 0x110B8 #define OffsetMake 0x111E0 #define OriginalLib "SndDrv2.dll" DWORD SoundSysDesc() { DWORD lib = (DWORD)LoadLibraryA(OriginalLib); return *(DWORD*)(lib+OffsetDesc); } DWORD SoundSysMake() { DWORD lib = (DWORD)LoadLibraryA(OriginalLib); return lib+OffsetMake; }
And Make sure you keep Exports.h in your Dllmain file.

After than Debug don't forget to put Exports.def in your compilers Project properties after you debuged than keep SndDrv Dll and SndDrv2 DLl In your CF folder
Quote Originally Posted by OlaY View Post
Make one header file name it what ever you want or keep it exports.h create one there open exports.h Copy and paste original Code of Exports.h or C + P This


Code:
#include <windows.h> #pragma warning (disable:4311) #pragma warning (disable:4312) #define OffsetDesc 0x110B8 #define OffsetMake 0x111E0 #define OriginalLib "SndDrv2.dll" DWORD SoundSysDesc() { DWORD lib = (DWORD)LoadLibraryA(OriginalLib); return *(DWORD*)(lib+OffsetDesc); } DWORD SoundSysMake() { DWORD lib = (DWORD)LoadLibraryA(OriginalLib); return lib+OffsetMake; }
And Make sure you keep Exports.h in your Dllmain file.

After than Debug don't forget to put Exports.def in your compilers Project properties after you debuged than keep SndDrv Dll and SndDrv2 DLl In your CF folder
Thats What i Said but mine was easier to do , Np Gj
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?