Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (Ayumi, NewbieZorro, TipmyPip), 13,888 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Multiple acknex.exe in Task Manager #276939
07/07/09 07:45
07/07/09 07:45
Joined: Apr 2009
Posts: 248
Philippines
seecah Offline OP
Member
seecah  Offline OP
Member

Joined: Apr 2009
Posts: 248
Philippines
Hello All,

Any idea why I got multiple acknex.exe on the Processes from Windows Task Manager. When I run my Lite-C application for the first time it works fine, but on the next coming test runs it'll not produce the expected output. I tried to view Processes from Task Manager and found out multiple acknex.exe running, when I tried to end all the acknex.exe processes from the task manager and run again the application it would be fine.

Does anyone know why I've got multiple exe? I'm accessing a plug-in dll(I made) from acknex_plugins on this application I've mentioned.

How can I solve this issue?

Please help!!!

Thanks...



Can't is not an option™
Re: Multiple acknex.exe in Task Manager [Re: seecah] #276942
07/07/09 08:09
07/07/09 08:09
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline
Expert
Germanunkol  Offline
Expert

Joined: Jun 2006
Posts: 2,640
Earth
how do you end the game?


~"I never let school interfere with my education"~
-Mark Twain
Re: Multiple acknex.exe in Task Manager [Re: Germanunkol] #276948
07/07/09 08:27
07/07/09 08:27
Joined: Apr 2009
Posts: 248
Philippines
seecah Offline OP
Member
seecah  Offline OP
Member

Joined: Apr 2009
Posts: 248
Philippines
Just pressing ESC or even clicking the "X" (Close) button..



Can't is not an option™
Re: Multiple acknex.exe in Task Manager [Re: seecah] #276961
07/07/09 09:27
07/07/09 09:27
Joined: Apr 2009
Posts: 248
Philippines
seecah Offline OP
Member
seecah  Offline OP
Member

Joined: Apr 2009
Posts: 248
Philippines
Anyone, please??? I need this to be solved...



Can't is not an option™
Re: Multiple acknex.exe in Task Manager [Re: seecah] #276982
07/07/09 10:08
07/07/09 10:08
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
Try commenting out major code chunks as best as possible till you find
one that causing the issue.

It sounds to me like youve got a faulty pointer problem that is preventing
the engine from closing properly.

Also, try running in "debug" mode, it may get lucky and pop up an error
either on-screen or in acklog.txt

Any change of posting you whole code file? Or is it too big or secret?

Last edited by EvilSOB; 07/07/09 10:09.

"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: Multiple acknex.exe in Task Manager [Re: EvilSOB] #276990
07/07/09 10:32
07/07/09 10:32
Joined: Apr 2009
Posts: 248
Philippines
seecah Offline OP
Member
seecah  Offline OP
Member

Joined: Apr 2009
Posts: 248
Philippines
grin
Okey no problem posting it.. I notice that making a dll plug-in and accessing functions from that causes this issue..

I'll post the simple code that will cause same error also..

DLL:

Code:
#include "stdafx.h"

// DLLFUNC is declared in adll.h as "#define DLLFUNC extern "C" __declspec(dllexport)"

DLLFUNC var multi_func(var x, var n)
{
	return ( _VAR( _FLOAT(x)*_FLOAT(n) ) );
}



that is the exported function from the dll I"ve been using in my Lite-C code.. assumes that the all other files needed for the dll works fine, I'm just following the manual.. This is not my actual project made but this produces the same problem also as I tested it..

And here's my Lite-C code..
Code:
#include <acknex.h>
#include <default.c>

//function from a dll
//--------------------------------------------------------------------
function multi_func(var x, var n);
//temporary variable
//--------------------------------------------------------------------
var dis_dll  = 0;
PANEL* display_dll =
{
	digits(450, 200, "Sample function: %0.2f", *, 1, dis_dll);
	layer = 2;
	flags = SHOW;
}

void main()
{
	video_set(1024, 768, 32, 2);	
	while(1)
	{
		dis_dll = multi_func(3,2);
		wait(1);                
	}
}



this works well and produce the expected output.. It's just that acknex.exe is not terminated successfully after closing..

I can't see anything wrong here.. Been tracing this and making work around for almost 5 hours but still the problem occurs.. frown



Can't is not an option™
Re: Multiple acknex.exe in Task Manager [Re: seecah] #276994
07/07/09 10:41
07/07/09 10:41
Joined: Apr 2009
Posts: 248
Philippines
seecah Offline OP
Member
seecah  Offline OP
Member

Joined: Apr 2009
Posts: 248
Philippines
By the way here's the screenshot and really works fine..It just that acknex.exe doesn't terminate properly..


I can send you the dll file and my lite-c file if you want to try.. smile

Thanks..



Can't is not an option™
Re: Multiple acknex.exe in Task Manager [Re: seecah] #276995
07/07/09 10:45
07/07/09 10:45
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
I think this needs to go to the "Higher Languages" forum.

Its a bit out of my league, but it may be that the DLL gets opened OK by the engine,
but for some reason is not being closed, or is failing when trying to close.
This "jammed" DLL is holding the engine open.

That my educated guess anyway.

Best of luck.


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: Multiple acknex.exe in Task Manager [Re: EvilSOB] #276996
07/07/09 10:55
07/07/09 10:55
Joined: Apr 2009
Posts: 248
Philippines
seecah Offline OP
Member
seecah  Offline OP
Member

Joined: Apr 2009
Posts: 248
Philippines
Okay thanks...:)



Can't is not an option™

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | 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