Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (Quad, TipmyPip, degenerate_762, AndrewAMD, Nymphodora), 997 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 7 of 32 1 2 5 6 7 8 9 31 32
Re: C# wrapper - RELEASE 1.1.0 [Re: Stromausfall] #280924
07/24/09 17:12
07/24/09 17:12
Joined: Dec 2002
Posts: 616
Austria
Stromausfall Offline OP
User
Stromausfall  Offline OP
User

Joined: Dec 2002
Posts: 616
Austria
i uploaded a new Version 1.1.0.1 - which should fix the problem with Color and Angle!


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 - RELEASE 1.1.0 [Re: Stromausfall] #280929
07/24/09 17:34
07/24/09 17:34
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
Thanks, but i'm not getting anything. How would i change the engine background colour?

BTW > Is there a limit to how many times you can load the engine? At the moment i'm only to load one instance of it. I was hoping to achieve mutliple instances in different controls.

Maybe because each one has to reference the same DLL.

Last edited by DJBMASTER; 07/24/09 18:45.
Re: C# wrapper - RELEASE 1.1.0 [Re: DJBMASTER] #280955
07/24/09 19:28
07/24/09 19:28
Joined: Dec 2002
Posts: 616
Austria
Stromausfall Offline OP
User
Stromausfall  Offline OP
User

Joined: Dec 2002
Posts: 616
Austria
Not getting anything ? you should be able to change to background color as you tried, with for example : EngVar.screen_color.red.IntValue = 255;
i uploaded the new version to my homepage (It's 1.1.0.1). (I'm a bit confused right now^^)
Concerning how many times one can load the engine, i think that one can only load the engine once, because commands like engine_frame() don't take any parameters that would identify an instance.

Last edited by Stromausfall; 07/24/09 20:31.

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 - RELEASE 1.1.0 [Re: Stromausfall] #280975
07/24/09 20:04
07/24/09 20:04
Joined: Dec 2006
Posts: 434
UK,Terra, SolarSystem, Milky W...
pararealist Offline
Senior Member
pararealist  Offline
Senior Member

Joined: Dec 2006
Posts: 434
UK,Terra, SolarSystem, Milky W...
Beautiful update, thank you very much.
love it.


A8.3x Commercial, AcknexWrapper and VS 2010 Express
○pararealist now.
Re: C# wrapper - RELEASE 1.1.0 [Re: pararealist] #280977
07/24/09 20:07
07/24/09 20:07
Joined: Dec 2002
Posts: 616
Austria
Stromausfall Offline OP
User
Stromausfall  Offline OP
User

Joined: Dec 2002
Posts: 616
Austria
Thank you ^^


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 - RELEASE 1.1.0 [Re: Stromausfall] #281045
07/25/09 08:03
07/25/09 08:03
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
hmmm, When you load the engine, any other forms in the same application get taken over. I mean their cursors are changed to the same one as the engine, and it is really difficult to use controls, because the cursor wont change.

I don't think this is normal because I tested running a new instance of the engine (by running acknex.exe) and it doesn't control the form it was loaded from.

This is a major problem if using the wrapper with a form application.

btw > still can't get screen_color to change, LOL.

Last edited by DJBMASTER; 07/25/09 08:20.
Re: C# wrapper - RELEASE 1.1.0 [Re: DJBMASTER] #281164
07/25/09 18:19
07/25/09 18:19
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
Argh! this is driving me insane. I've tried everything I can think of to stop the engine affecting the parent form, or any other form for that matter.

Why is the engine controlling the cursor for other windows?

Re: C# wrapper - RELEASE 1.1.0 [Re: DJBMASTER] #281170
07/25/09 18:34
07/25/09 18:34
Joined: Dec 2002
Posts: 616
Austria
Stromausfall Offline OP
User
Stromausfall  Offline OP
User

Joined: Dec 2002
Posts: 616
Austria
could u send me the project so that i could have a look at it ?

thx got it ^^

Last edited by Stromausfall; 07/25/09 19:32.

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 - RELEASE 1.1.0 [Re: Stromausfall] #281203
07/26/09 01:06
07/26/09 01:06
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
Well me and Stromausfall finally got the engine to render into a windows form, even if it was a complete hack ,lol.

I've prepared a sample (basic model viewer), which shows how to initialize the engine and embed it into a control/form. I've added a couple of controls to demonstate how the engine can be controlled using .NET controls.

Here's a screenshot of it in action...



and the download link...

http:\\djbm.kawanda.net\EngineInForm.zip

Hope you guys can use it to create some good C# applications. Once again I must thank Stromausfall for his excellent contributions, and making us .NET programmers lives a little easier.

Wow 1.1.0.2 already! I can't keep up with the updates, LMAO.

Last edited by DJBMASTER; 07/26/09 01:07.
Re: C# wrapper - RELEASE 1.1.0 [Re: DJBMASTER] #281210
07/26/09 05:07
07/26/09 05:07
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
More Questions LMAO >>>

1) Do the events have to be static? I'm wondering how i would use values of controls inside a static function eg like Button.Text. Because static works at class level rather than object level, if several entities use the same function, wont they pick up values left by the previous run function?

2) How can you just run a function called from anywhere, eg when clicked on a button?

I need to use a while loop and so I need to use the scheduler. I'm just simply rotating an entity...

public static IEnumerable RotateEnt()
{
while (true)
{
MyEnt.pan.IntValue += 5;
yield return 1;
}
}

i've tried just using RotateEnt() in the buttons click event, but it wont execute.

Thanks. Btw, what did 1.1.0.2 update?

Last edited by DJBMASTER; 07/26/09 05:07.
Page 7 of 32 1 2 5 6 7 8 9 31 32

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