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

Example DLL cannot load


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Rogier21
New Member
Join Date: Jun 2009
Old 06-15-2009 , 10:50   Example DLL cannot load
Reply With Quote #1

Hello all,

I am a Delphi developer and I saw that there is a Delphi example coming with amxmodx.

So I compiled it without errors, moved the DLL to:
C:\Program Files\Counter-Strike 1.6\cstrike\addons\amxmodx\modules\helloworld _amxx.dll

Then I added
helloworld
to modules.ini

But if I do amx_modules it will always come with "bad load".

Even if I use the pre-compiled versions that come with the installation!

What am I doing wrong here?

Last edited by Rogier21; 06-16-2009 at 04:12.
Rogier21 is offline
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 06-15-2009 , 14:12   Re: Example DLL cannot load
Reply With Quote #2

helloworldSPACE_amxx?
If there's actually a space there, remove it. Enable logging or read console.
[ --<-@ ] Black Rose is offline
Rogier21
New Member
Join Date: Jun 2009
Old 06-16-2009 , 04:12   Re: Example DLL cannot load
Reply With Quote #3

Yeah it is without space, but for some reason the forum adds a space!

How can I debug modules? I see alot of options for plugins, but they don't work for modules...
Rogier21 is offline
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 06-16-2009 , 16:31   Re: Example DLL cannot load
Reply With Quote #4

First put the Code, So I can see what you do wrong.
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
Rogier21
New Member
Join Date: Jun 2009
Old 06-17-2009 , 06:32   Re: Example DLL cannot load
Reply With Quote #5

That's the funny thing, I am using the pre-compiled .dll files that come with amxmodx.
These 2 can be found at:
C:\Program Files\AMX Mod X\amxxstudio\plugins\Hello World - CPP.dll
C:\Program Files\AMX Mod X\amxxstudio\plugins\Hello World - Delphi.dll

I only renamed 1 of them to helloworld_amxx.dll and copied it to
C:\Program Files\Counter-Strike 1.6\cstrike\addons\amxmodx\modules\helloworld _amxx.dll

Without spaces.
Rogier21 is offline
commonbullet
Veteran Member
Join Date: Oct 2005
Old 06-19-2009 , 00:37   Re: Example DLL cannot load
Reply With Quote #6

Quote:
Originally Posted by Rogier21 View Post
That's the funny thing, I am using the pre-compiled .dll files that come with amxmodx.
These 2 can be found at:
C:\Program Files\AMX Mod X\amxxstudio\plugins\Hello World - CPP.dll
C:\Program Files\AMX Mod X\amxxstudio\plugins\Hello World - Delphi.dll

I only renamed 1 of them to helloworld_amxx.dll and copied it to
C:\Program Files\Counter-Strike 1.6\cstrike\addons\amxmodx\modules\helloworld _amxx.dll

Without spaces.
Those are sample plugins for the AmxxStudio (ide for writing amxmodx plugins); nothing to do with amxx modules.
commonbullet is offline
Send a message via ICQ to commonbullet Send a message via MSN to commonbullet
Rogier21
New Member
Join Date: Jun 2009
Old 06-19-2009 , 10:18   Re: Example DLL cannot load
Reply With Quote #7

Quote:
Originally Posted by commonbullet View Post
Those are sample plugins for the AmxxStudio (ide for writing amxmodx plugins); nothing to do with amxx modules.
Why are they called Delphi and CPP example? I assume that the Delphi example can be compiled with a Pascal compiler then?
Rogier21 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 02:44.


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