Raised This Month: $51 Target: $400
 12% 

#include <windows.h> <-- Possible?


Post New Thread Reply   
 
Thread Tools Display Modes
culd
Member
Join Date: Aug 2009
Old 08-15-2009 , 13:57   Re: #include <windows.h> <-- Possible?
Reply With Quote #11

How include the "ExecuteX.inc" in AMXX Studio.

If I put #include <ExecuteX> throws error when compiling
culd is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 08-15-2009 , 14:26   Re: #include <windows.h> <-- Possible?
Reply With Quote #12

You putted ExecuteX.inc into includes folder?
__________________
xPaw is offline
culd
Member
Join Date: Aug 2009
Old 08-15-2009 , 14:30   Re: #include <windows.h> <-- Possible?
Reply With Quote #13

Quote:
Originally Posted by xPaw View Post
You putted ExecuteX.inc into includes folder?
Yes...

ExecuteX.inc in C:\Archivos de programa\AMX Mod X\files\base\scripting\include

ExecuteX_amxx.dll in C:\Archivos de programa\AMX Mod X\files\base\modules

But not in "Code Included Header "-->" inspectors." So throw error when compiling
culd is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 08-15-2009 , 14:34   Re: #include <windows.h> <-- Possible?
Reply With Quote #14

What error
__________________
xPaw is offline
culd
Member
Join Date: Aug 2009
Old 08-15-2009 , 14:35   Re: #include <windows.h> <-- Possible?
Reply With Quote #15

Quote:
Originally Posted by xPaw View Post
What error
Error: Cannot read from file: "ExecuteX" on line 29

Line 29 = #include <ExecuteX>
culd is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 08-15-2009 , 15:04   Re: #include <windows.h> <-- Possible?
Reply With Quote #16

ExecuteX.inc is not in includes folder
__________________
xPaw is offline
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 08-16-2009 , 06:49   Re: #include <windows.h> <-- Possible?
Reply With Quote #17

Quote:
Originally Posted by P34nut View Post
for spanish go http://forums.alliedmods.net/forumdisplay.php?f=10

No you cannot include windows.h into your pawn project.. its not C++!
The PAWN compile gets all his includes out of the include folder if you include it like this: #include <myfile>
It can also gets it from the directory where the sma file is located if you include it like this: #include "myfile"
<file> and "file" is the same.



Include folder: *\cstrike\addons\amxmodx\scripting\include (?)
Module folder: *\cstrike\addons\amxmodx\modules

Last edited by [ --<-@ ] Black Rose; 08-16-2009 at 06:56.
[ --<-@ ] Black Rose is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:07.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode