Re: Array from C++ DLL to Euphoria

new topic     » goto parent     » topic index » view thread      » older message » newer message
TheresNoTime said...

Maybe, shared memory or something like that? Is it possible to see the array is physically located in the DLL? For example, if we get a pointer to it?

You can get a pointer to it by using define_c_var. In order to do anything with it, you'll need to use peeks and pokes. Eventually, when memstructs are figured out, there will be ways to work with it in a more natural fashion.

Could you tell us more about what you are trying to do? Based on what you've said, I think you'll want to probably not peek the whole thing, but just what you need when you need it, and poke values back as required. But that's just my speculation based on what you've said.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu