Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (RealSerious3D, AndrewAMD, BrainSailor, 1 invisible), 1,233 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Question about ANet.dll #286559
08/25/09 21:28
08/25/09 21:28
Joined: Aug 2009
Posts: 34
X
xDoug Offline OP
Newbie
xDoug  Offline OP
Newbie
X

Joined: Aug 2009
Posts: 34
Hey I have a quick question about ANet.dll.

I will be using this in my project, and I was wondering how to add that to my project. Here is what I did:
1. In my main class, I added the following
#include ANet.h;
2. And copied the ANet.dll into my project folder.

Do I need to do anything else in order to be using the functions
provided by ANet.dll?

Thanks in advance,

Doug

Re: Question about ANet.dll [Re: xDoug] #286561
08/25/09 21:35
08/25/09 21:35
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
That is all you need. But if you have the newest version you have to copy the key also in the workfolder.

Re: Question about ANet.dll [Re: Widi] #286562
08/25/09 21:40
08/25/09 21:40
Joined: Aug 2009
Posts: 34
X
xDoug Offline OP
Newbie
xDoug  Offline OP
Newbie
X

Joined: Aug 2009
Posts: 34
Okay cool.

The reason I asked is that I don't understand in the examples the plugindir ".";

Like in the pong example that is provided in the ANet website. Do I also need
to create another file or something that loads the plugindir "."; ?

Re: Question about ANet.dll [Re: xDoug] #286564
08/25/09 21:44
08/25/09 21:44
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
PLUGINDIR is the folder where the engine search for dll`s.

Re: Question about ANet.dll [Re: Widi] #286566
08/25/09 21:46
08/25/09 21:46
Joined: Aug 2009
Posts: 34
X
xDoug Offline OP
Newbie
xDoug  Offline OP
Newbie
X

Joined: Aug 2009
Posts: 34
Okay so I have the ANet.dll in the same folder as every other file.
Do I need to include this plugindir "."; in my main or something?

Re: Question about ANet.dll [Re: xDoug] #286567
08/25/09 21:51
08/25/09 21:51
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Also, don't type a breakpoint (;) in the Include command.

Re: Question about ANet.dll [Re: Cowabanga] #286569
08/25/09 21:54
08/25/09 21:54
Joined: Aug 2009
Posts: 34
X
xDoug Offline OP
Newbie
xDoug  Offline OP
Newbie
X

Joined: Aug 2009
Posts: 34
Yeah I didnt, i just typed it wrong.
So do I need to do the:
plugindir "."; in my main?

Re: Question about ANet.dll [Re: xDoug] #286903
08/28/09 07:06
08/28/09 07:06
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline
Serious User
Dark_samurai  Offline
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
If the dll is in the folder where all the other files are (as you said) it's not needed.


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1