Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / Performing end process cleanup from a plugin?

Author
Message
Mistrel
Retired Moderator
18
Years of Service
User Offline
Joined: 9th Nov 2005
Location:
Posted: 20th Apr 2008 03:52
I'm using the following ?CloseDisplay@@YAKXZ and ?Quit@@YAKXZ from DBProCore.dll before I ExitProcess(0) but this does not cleanup the dbpdata temporary directory.

Do I have to clean up those files myself?

http://3dfolio.com
IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 20th Apr 2008 04:08
Yes, or find an alternate method of closing things down.

I used to use that method myself and stopped using it for exactly that reason - now I set the errorcode via the globstruct and return from the function, letting DBPro's own error system do the work for me:


The numbers already allocated are in the file C:\Program Files\Dark Basic Software\Dark Basic Professional\Compiler\lang\english\Errors.txt in the section [RUNTIME] on my system - for example 7008 is 'Object does not exist'.

Login to post a reply

Server time is: 2024-04-20 02:29:57
Your offset time is: 2024-04-20 02:29:57