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 / How to handle * in a string table

Author
Message
Mistrel
Retired Moderator
18
Years of Service
User Offline
Joined: 9th Nov 2005
Location:
Posted: 22nd Apr 2008 01:00
Styx has this command in the string table for StyxCore.dll:

AddBackslash%S*%DBAddBackslash

Is this the same as this?

AddBackslash[%S%DBAddBackslash

http://3dfolio.com
Diggsey
17
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 22nd Apr 2008 19:06 Edited at: 22nd Apr 2008 19:07
@Mistrel
Yes, except that instead of writing 'mystr = AddBackslash()' you write 'AddBackslash mystr'

IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 22nd Apr 2008 21:05
You can see examples of this in the DBPro libraries - the READ commands and some of the array commands in particular.

For example, the READ command for bytes has a resource string with a parameter of 'B*', and a mangled name of '?ReadB@@YAEXZ', which translates to 'BYTE ReadB()'.

Login to post a reply

Server time is: 2024-04-18 04:53:12
Your offset time is: 2024-04-18 04:53:12