Unsafe code

Created at 28 Feb 2014, 00:21
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
bukk530's avatar

bukk530

Joined 03.11.2013

Unsafe code
28 Feb 2014, 00:21


Im linking a DLL compiled in c++ to my bot, but I need pointers to pass data to my external function.

The problem is that when I try to compile an usafe class I get a "Error CS0227: Unsafe code may only appear if compiling with /unsafe"

So how can I add the /unsafe param when I compile the bot code?

 

Thanks


@bukk530
Replies

Spotware
04 Mar 2014, 09:39

We don't have a solution for this problem. If you find one, please share it with community.


@Spotware