[Extendflash] C level extensibility on Mac OS X
Dennis O'Brien
DOBrien at LeapFrog.com
Thu Nov 17 10:13:39 PST 2005
Hi All,
Has anyone built a shared library for Flash 7 or 8 on or for Mac OS X?
I notice in the instructions for integrating C functions, the
documentation notes the location to place the shared library on Mac OS
X. And in mm_jsapi.h there is mention of the Mac platform, "Mac with
MSVC++ Win32 portability lib". Does this mean the development is on
Windows and MSVC++ creates a shared library for Mac OS? The only thing
I have been able to find from Microsoft is the Microsoft Visual C++ 4.0
Cross-Development Edition for Macintosh, dated 1996. I doubt this
targets Mac OS X.
If anyone has been able to build a shared library for Mac OS X (or not),
I would appreciate hearing about it.
thanks,
Dennis
Here's the section from mm_jsapi.h:
// Declare the external entry point and linkage
#ifdef _WIN32
# ifndef _MAC
// Windows
__declspec( dllexport ) void MM_InitWrapper( MM_Environment *env,
unsigned int envSize );
# else
// Mac with MSVC++ Win32 portability lib
extern void MM_InitWrapper( MM_Environment *env, unsigned int
envSize );
# endif
#else
// Codewarrior
# pragma export on
extern void MM_InitWrapper( MM_Environment *env, unsigned int
envSize );
# pragma export off
#endif
And here is the section from MM help on installing the dll or shared
library:
3. Save the DLL file or library in the appropriate location:
* Windows 2000 or Windows XP:
boot drive\Documents and Settings\user\Local Settings\Application
Data\Macromedia\ Flash 8\language\Configuration\External Libraries
* Macintosh OS X:
Macintosh HD/Users/userName/Library/Application
Support/Macromedia/Flash 8/language/Configuration/External Libraries
More information about the Extendflash
mailing list