Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 600 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 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: 993
Budapest
Aku_Aku Offline OP
User
Aku_Aku  Offline OP
User

Joined: Sep 2009
Posts: 993
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,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
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
Support me on: https://boosty.to/3rung
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: 619
Turkey, Izmir
Emre Offline
User
Emre  Offline
User

Joined: Jul 2007
Posts: 619
Turkey, Izmir
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: 993
Budapest
Aku_Aku Offline OP
User
Aku_Aku  Offline OP
User

Joined: Sep 2009
Posts: 993
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