Hi, I'm coding a quick example of a program for someone and part of what I want it to do requires that it passes a large amount of text to a function in a dll. I guess that creating an area in memory, sticking the text in there and then passing a pointer to it to the dll function would be the best way to do it, but I have no idea how to use pointers in Delphi. I have a vague idea how to do it in c++, but that would cause other problems.
Basically, I was wondering if anyone could explain how to do this, or show me some example code so I can figure it out myself, or anything at all.
In fact, if there's a better way to do it then any suggestions are welcome.
Thanks.
Basically, I was wondering if anyone could explain how to do this, or show me some example code so I can figure it out myself, or anything at all.
In fact, if there's a better way to do it then any suggestions are welcome.
Thanks.