C Callbacks on Windows

On Windows the C callback dll must be compiled with the /MD option to ensure that memory can be safely passed from Storyboard Engine to your dll and back. Use __declspec(dllexport) to ensure that sb_get_ccallback_list can be accessed from the dll. Usually a macro is used for this in order to support building for other targets, as seen in the example below.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Article is closed for comments.