PDA

View Full Version : address book example


cpiazza
05-06-2002, 09:23 AM
i'm trying to compile and run the address book example that comes with brew 1.1 and am having the following problem. the project compiles just fine, however when i run in the emulator and choose the 'Create Record' menu item, i get this error -

"Priv Violation, CreateInstance"

a little debugging shows this -

ISHELL_CreateInstance(pme->a.m_pIShell, AEECLSID_ADDRBOOK, (void **)&pAddrBook)

- is generating the error.

is this simply a limitation of the emulator? or am i missing something?

thanks,
chris.

devi
05-06-2002, 12:19 PM
Please make sure that Address Book Privilege is included in your app's MIF file.

Devi Krishnan
BREW Support

cpiazza
05-06-2002, 12:27 PM
thanks kevin... the answer was indeed that i was missing something...

added address book access to the MIF and all is peachy.

chris.