Make your own native dll View on Asset Store (opens in new tab)

Package details

Latest version
1.1
Last updated
First released
Unity version
5.3.2 or later
Package size
2.8 MB
Files
28
Favorites
109
Views in the past week
9

Price tracking

Last checked
Tracked since
Lowest recorded
$4.20 on

Make your own native dll

by eToile (opens in new tab)

3.9 / 5 · 7 ratings

Ratings by stars
Number of ratings for each star rating
5 stars 3
4 stars 1
3 stars 2
2 stars 1
1 star 0
Price $6.00

Buy on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for Make your own native dll, 6 months Current $6.00; lowest $6.00; highest $6.00 in this period. $0 $5 $10 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 2

Make your own native dll screenshot 1

Make your own native dll screenshot 1

About this asset

Connecting C++ native DLL to C# for Unity:

Would you like to write your own Windows based DLLs?

So this asset is for you, it saves a lot of time researching how to connect a native C++ DLL to Unity.

This is basically a sample/tutorial project with both sides of the solution: C++ and C#.

NOTE: This package is not intended for non programmer users.

What is included in this package:

- Complete DLL project (Visual Studio 2015 Community)

- Unity C# source code to access the demo DLL data.

- Full documentation explaining the source files, and also how to generate your own DLL projects from scratch.

Why native instead of managed DLLs?

Native DLLs normally don’t need external dependencies, so reduces compilation issues. C# DLLs tends to need System DLLs to export final product, specially if you are connecting with some awesome new technology.

So you can develop your C++ code within Visual Studio and then connect it to Unity through a DLL file following the instructions included in this package.

Data types exposed in C++:

int, float, bool, string, wstring, char*, wchar_t*, byte*.

Date exposed on C# side:

int, float, bool, string, byte[].

If you find that some data type must be included in this project, please do not hesitate on contacting me: [email protected]

From the publisher's Asset Store listing.