Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (flink, AndrewAMD, TipmyPip, 1 invisible), 667 guests, and 11 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 28 of 32 1 2 26 27 28 29 30 31 32
Re: C# wrapper - RELEASE [Re: DJBMASTER] #328640
06/14/10 12:41
06/14/10 12:41
Joined: Oct 2004
Posts: 4,134
Netherlands
Joozey Offline
Expert
Joozey  Offline
Expert

Joined: Oct 2004
Posts: 4,134
Netherlands
No, it crashes on engine_open() line in the wrapper:
EngVar.EngineVarPtr = NativeEngFun.engine_open(tempString, 0);

and saying it could not find acknex.dll.
But the path should be good in the post build event.


Click and join the 3dgs irc community!
Room: #3dgs
Re: C# wrapper - RELEASE [Re: Joozey] #328646
06/14/10 13:17
06/14/10 13:17
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
It should be...

"C:\Program Files\GStudio7\WED.exe" -p "$(TargetDir)\$(TargetFileName)".

Open the folder where your exe is located (usually in the bin/debug folder) and when you build your project, check to see that the 'acknex.dll' is actual copied.

Re: C# wrapper - RELEASE [Re: DJBMASTER] #328647
06/14/10 13:25
06/14/10 13:25
Joined: Oct 2004
Posts: 4,134
Netherlands
Joozey Offline
Expert
Joozey  Offline
Expert

Joined: Oct 2004
Posts: 4,134
Netherlands
Yes got that, although my drive is D:.
I removed the acknex.dll in the debug folder, build it, and it complains that it can't find it. But the acknex.dll is in the folder, again so it is copied.


Click and join the 3dgs irc community!
Room: #3dgs
Re: C# wrapper - RELEASE [Re: Joozey] #328661
06/14/10 14:21
06/14/10 14:21
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
hmm that's strange, i'm not sure why it wouldn't find it. The exe will always search it's working directory first for the dll. The other explanation could be that you are actually building the exe in a different folder.

Check Project > [ProjectName] Properties > Build > Output path. It should be 'bin\Debug\'.

Apart from that i'm not sure what's going on.

Re: C# wrapper - RELEASE [Re: DJBMASTER] #328662
06/14/10 14:23
06/14/10 14:23
Joined: Oct 2004
Posts: 4,134
Netherlands
Joozey Offline
Expert
Joozey  Offline
Expert

Joined: Oct 2004
Posts: 4,134
Netherlands
The path is bin\release but changing has no effect.
Could it be a screwed newer version of 3dgs?

EDIT:
Even the examples like firstprogram/compiled/FirstTestProgram.exe wont work. What's going on frown.

Last edited by Joozey; 06/14/10 14:35.

Click and join the 3dgs irc community!
Room: #3dgs
Re: C# wrapper - RELEASE [Re: Joozey] #328794
06/15/10 11:58
06/15/10 11:58
Joined: Oct 2004
Posts: 4,134
Netherlands
Joozey Offline
Expert
Joozey  Offline
Expert

Joined: Oct 2004
Posts: 4,134
Netherlands
Sorry for doublepost.
Anyone knows a possible solution?

When I download the wrapper and try an example, it can't find acknex.dll. The cause can't thus be visual studio nor gamestudio related, as published apps should work. Is it .NET?


Click and join the 3dgs irc community!
Room: #3dgs
Re: C# wrapper - RELEASE [Re: Joozey] #328797
06/15/10 12:25
06/15/10 12:25
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
What .NET framework version are you running? Are you using the free visual C# express or visual studio (even though this shouldn't really make a difference).

I think maybe the problem is not that 'DLLImport' can't find 'acknex.dll' but it can't find another dll that acknex.dll is dependant upon.

You can use a program called 'dependency walker' to check which dlls acknex.dll needs. You may also have to change your PATH environment variables.

But if normal lite-c apps work when published, then I would try re-installing .NET or updating to the newest version, if possible.

Last edited by DJBMASTER; 06/15/10 12:26.
Re: C# wrapper - RELEASE [Re: DJBMASTER] #328801
06/15/10 13:09
06/15/10 13:09
Joined: Oct 2004
Posts: 4,134
Netherlands
Joozey Offline
Expert
Joozey  Offline
Expert

Joined: Oct 2004
Posts: 4,134
Netherlands
did a reinstall but no effect.

But luckily it has been solved. As you say acknex.dll was missing dependencies. No idea what ones but copying all dll's in the 3dgs folder to the project folder provided the solution laugh. This is a big relief. Certainly will give dependency walker a try. Thank you!

Last edited by Joozey; 06/15/10 13:10.

Click and join the 3dgs irc community!
Room: #3dgs
Re: C# wrapper - RELEASE [Re: Joozey] #328809
06/15/10 13:38
06/15/10 13:38
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
ahh I would say it is most likely 'd3dx9_30.dll' that it needed. Glad you got it working.

Re: C# wrapper - RELEASE [Re: DJBMASTER] #331410
07/04/10 00:43
07/04/10 00:43
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
Hey Stromausfall, there seems to be a problem with 'ang_rotate'. Whenever I try to use it I get...

"Unable to cast object of type 'AcknexWrapper.Vector' to type 'AcknexWrapper.Angle'."

...and it may not be limited to ang_rotate.

Any ideas?

Thanks.

Last edited by DJBMASTER; 07/04/10 00:43.
Page 28 of 32 1 2 26 27 28 29 30 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