Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Trading Journey
by howardR. 04/24/24 20:04
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (Quad, M_D, Ayumi, AndrewAMD), 783 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 5
Page 23 of 23 1 2 21 22 23
Re: C# wrapper 2.0 - RELEASE [Re: Stromausfall] #432755
11/14/13 00:03
11/14/13 00:03
Joined: Apr 2006
Posts: 159
Latvija
Arrovs Offline
Member
Arrovs  Offline
Member

Joined: Apr 2006
Posts: 159
Latvija
Found out that when using class destructor for cleaning up lite-c structs is just like miracle wand. Now i never want to leave C#.

And by the way layer property should be double as it can be 3.01 too not only int. Even in PANEL class it gets converted as double.

And why here isnt implemented randomize() function, but random() and random_seed() is? Without that function all others is useless.

And i hope MULTIMEDIA gets managed by C# as there is no such object in lite-c.

And could it be when closing 3DGS window C# is running for some frames after? Im saying because im getting corrupt memory message then, but when closing console window first it didnt happens. Ahh. Found out it is destructor. Seems when i said it to remove unmanaged resources it cant do it when 3DGS is already closed. It was easely fixable by adding static variable which on engine exit lets C# know it.

Also you could tell how to get rid of that console at final version.

Last edited by Arrovs; 11/15/13 01:09.

Arrovs once will publish game
Re: C# wrapper 2.0 - RELEASE [Re: Stromausfall] #432865
11/18/13 10:33
11/18/13 10:33
Joined: Apr 2006
Posts: 159
Latvija
Arrovs Offline
Member
Arrovs  Offline
Member

Joined: Apr 2006
Posts: 159
Latvija
How does your wrapper handles TEXT object strings?
As i saw it uses string copying to native TEXT structs.
But that way copying makes string still managed or is it copied through lite-c function and gets unmanaged?
I say this because TEXT strings need to be manually removed from TEXT before you remove that itself. It is even said in manual.
But if this is true that strings will stay in memory.

Also i dont like TEXT.strings property as it now allows only to set and get whole array. it could even stay so, but you should warn users. Cant get out one element so i need to use getString.


Arrovs once will publish game
Re: C# wrapper 2.0 - RELEASE [Re: Arrovs] #432995
11/20/13 21:41
11/20/13 21:41
Joined: Dec 2002
Posts: 616
Austria
Stromausfall Offline OP
User
Stromausfall  Offline OP
User

Joined: Dec 2002
Posts: 616
Austria
I haven't used the acknex engine for some time now and currently am not planning to - unfortunately I can't help you with most of them as it's very rare that I visit this site anymore... and don't remember that much about the wrapper anymore to help you without digging into the materia myself - I'm sorry !

>>Also you could tell how to get rid of that console at final version.
change the type of your application from console to I think Application in the project properties


get the C# wrapper:
for A7.85.4 and A8.30.4, Version 2.3.9
at http://acknexwrapper2.matthias-auer.net/ or visit the thread
Re: C# wrapper 2.0 - RELEASE [Re: Stromausfall] #433004
11/21/13 04:54
11/21/13 04:54
Joined: Apr 2006
Posts: 159
Latvija
Arrovs Offline
Member
Arrovs  Offline
Member

Joined: Apr 2006
Posts: 159
Latvija
Pity you here left your project, this wrapper is best thing what ever happened with this engine.

Last edited by Arrovs; 11/21/13 05:42.

Arrovs once will publish game
Re: C# wrapper 2.0 - RELEASE [Re: Arrovs] #435141
01/03/14 12:35
01/03/14 12:35
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
Yes. C# together with proper tooling (editors!) would help the engine a lot.
Anyway I remember looking at some code of the wrapper and it really helped me to get the engine running in an managed Winforms environment and dealing with marshalling. I used C++/CLI, but the methods were pretty much the same.

Very useful project laugh

Page 23 of 23 1 2 21 22 23

Moderated by  TWO 

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