Gamestudio Links
Zorro Links
Newest Posts
Few update suggestions
by 3run. 07/23/21 08:47
FXCM Login Error
by jcl. 07/22/21 08:25
New Zorro version 2.40.1
by dpn. 07/21/21 19:39
MT5 bridge plugin
by jcl. 07/21/21 15:52
FXCM - CFD Price can not be loaded
by jcl. 07/21/21 08:40
AUM Magazine
Latest Screens
Hecknex World
Scheherazade's Journey
Paradox Vector
The Space Between
Who's Online Now
1 registered members (NobbyG), 382 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ace_trader, chrissierra, fredperim, degenerate_762, TalonTrades
18664 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Creating DLL for using in 3D Gamestudio application #483089
05/03/21 17:32
05/03/21 17:32
Joined: Sep 2009
Posts: 978
Budapest
Aku_Aku Offline OP
User
Aku_Aku  Offline OP
User

Joined: Sep 2009
Posts: 978
Budapest
Is there a How to or tutorial or walkthrough of the process: Creating DLL for using in 3D Gamestudio application?
Thanks

Re: Creating DLL for using in 3D Gamestudio application [Re: Aku_Aku] #483104
05/04/21 09:01
05/04/21 09:01
Joined: May 2009
Posts: 5,335
Caucasus
3run Online
Senior Expert
3run  Online
Senior Expert

Joined: May 2009
Posts: 5,335
Caucasus
Hey!

I would recommend you to take a look at 'Gamestudio SDK -> Plugin SDK -> First lesson' in the manual.
Here is the link:
Plugin SDK: Getting started

Another thing I had to face myself (since it was my first time ever dealing with .dll and visual studio) is:
- you need to make sure that the path to the acknex folder and other used libraries are correct (can be done in solution properties (had to translate from Russian))
- when building .dll before sharing with other people don't forget to select 'release' instead of 'debug' configuration for building solutions (otherwise it won't work on other pcs)

I faced all this when I was adding my changes into the physX plugin. It already had it's paths to the acknex set and they were different to mine, so I couldn't build the solution.

Best regards.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Re: Creating DLL for using in 3D Gamestudio application [Re: Aku_Aku] #483112
05/04/21 17:23
05/04/21 17:23
Joined: Jul 2007
Posts: 605
Somewhere on Planet Earth
Emre Offline
User
Emre  Offline
User

Joined: Jul 2007
Posts: 605
Somewhere on Planet Earth
In addition to 3run's explanations or to support his explanation with images;

After downloading Visual Studio, If you want do something that requires DirectX SDK you also need to download directx 2010 june sdk. (Click here) After opening the "sampledll.vcproj" in the GameStudio plugin folder, you will need to make some arragment. Specifically, you will need to define the "include" and "library" paths of Gamestudio and Directx SDK. (Likewise, if you have another sdk you are using) You can do it from the Project / solution properties as 3Run said. Here are pictures about how to do it:
[Linked Image]
[Linked Image]

Now you can build the dll. I hope (:

Also don't forget to do the MT thing that mentioned in "Plugin SDK: Getting started", otherwise the dll might not work on other computers.
[Linked Image]

Re: Creating DLL for using in 3D Gamestudio application [Re: Emre] #483129
05/05/21 10:32
05/05/21 10:32
Joined: Sep 2009
Posts: 978
Budapest
Aku_Aku Offline OP
User
Aku_Aku  Offline OP
User

Joined: Sep 2009
Posts: 978
Budapest
Thanks for both of you @3run and @Emre.
I am going to try it soon.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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