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.

Geek Culture / How to save file in memory (Pascal/CPP,Delphi whatever)

Author
Message
Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 8th Mar 2008 23:51
hey all, i've been lately working on a new languange called ScriptBASIC. im wondering, how i can write plugins into a memory and call Load them back?

just like in dbp. it loads the dll into a memory and dbp calling it somehow.. any ideas how to do that? i realize it have to do somehow with TFileStream or TMemoryStream stuff.. not sure.

Get DBP stuff here! - (plugins/models/scripts and more!)
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 9th Mar 2008 11:01 Edited at: 9th Mar 2008 11:02
Generally, the DLL has a string table with a standard entry point (that is, a fixed function that must exist just like 'main' in C/++), then the other functions are known from the string table and are called via the DLL calling procedures within the language you are using.

Nintendo DS & Dominos :: DS Dominos
http://jt0.org

Login to post a reply

Server time is: 2024-11-20 00:38:49
Your offset time is: 2024-11-20 00:38:49