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.

Code Snippets / [DBP] Find Your Program's Temp Directory (where its dlls and media are extracted)

Author
Message
Xolatron
18
Years of Service
User Offline
Joined: 12th Mar 2006
Location: The Star Forge Language: DBpro
Posted: 6th Jul 2007 23:22 Edited at: 10th Jul 2007 22:18
This function allows you to get the running program's temp directory, where all dlls, icons, and the attached 'media'folder are extracted.

This would allow one to call included dlls or use the included icons for other purposes (BlueGUI windows, etc.). It could also be used to dynamically change included media during runtime, although all changes would be lost when the program closes (and the programmer should be careful to delete any new files he creates here during runtime).

Edit: Requires Ian M's Matrix1Utils plugins. Make sure to get the latest Matrix1Utils_16.dll version 1.0.0.7 near the end of the thread.



-Xol

Login to post a reply

Server time is: 2024-11-22 18:31:56
Your offset time is: 2024-11-22 18:31:56