Download the latest version of the SDK (rev 83) from googlecode (zip or svn), it should work with SIM files, and removes the allocated data from the file. So it should work, don't use those export macros though, they shouldn't be needed.
typedef struct tagSYMBOLENTRY
{
unsigned long address;
const char* name;
} SYMBOLENTRY;
/* file extension name */
int GetFileType(char* pname)
{
if (pname)
strcpy(pname, "EXT"); // Emulator ROM extensions (use "EXT|EXT|EXT" for several file-type associations)
return 0;
}
/* to get default path */
int GetDefaultPath(char* path)
{
if (path)
strcpy(path, "A:\\GAME");
return 0;
}
/* module description, optional */
int GetModuleName(char* name, int code_page)
{
if (name && (0 == code_page)) // ansi
strcpy(name, "EMULATORNAME.SIM"); //your emulator file name
return 0;
}
Just that bit of code needed.