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.

AppGameKit Classic Chat / Plugins and passing back a string

Author
Message
Santman
13
Years of Service
User Offline
Joined: 15th Sep 2011
Location: Inverness
Posted: 23rd Jul 2022 20:37
Hi all.

I've been playing around with plugins, and specifically the string aspect. I can pass flaots and integers no problem, however I can;t figure out how to gte strings into a DLL, or pull them back. I can create an array inside the DLL and then store strings in them, and get AppGameKit to display them as a message, but if I try to return them it crashes. The plugin guidance says to use agk::CreateString(length) in order to return a string, but I'm not sure where or how to use this.

Does anyone know the solution?


Login to post a reply

Server time is: 2024-11-21 13:20:23
Your offset time is: 2024-11-21 13:20:23