Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Hi 2 all,

I tried using brew ui widgets, i got the following errors while creating .dll

AEEModGen.obj : error LNK2001: unresolved external symbol _AEEClsCreateInstance
helloformapp.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

helloformapp.dll - 2 error(s), 0 warning(s)

please help me to solve this,,,,,

Thanks in advance,,,,,,,,

Have you included "AEEAppGen.h" and "AEEModGen.h" in your applet file?

Have you included "AEEAppGen.h" and "AEEModGen.h" in your applet file?

yes Lalit i have included i am able to run other brew applications, only with brew ui widgets i am facing lot of problem, i am not able to execute any example given in Brew ui one sdk,,,,,,,,
in debug mode it goes to AEEMenuModel.h and stops there in line:-
static __inline int IMENUMODEL_Add(IMenuModel *po, void *pvItem, uint16 idCmd, uint16 flags) {
return AEEGETPVTBL(po,IMenuModel)->InsertItem(po, pvItem, idCmd, flags, MENUINDEX_LAST);

:confused:

yes Lalit i have included i am able to run other brew applications, only with brew ui widgets i am facing lot of problem, i am not able to execute any example given in Brew ui one sdk,,,,,,,,
in debug mode it goes to AEEMenuModel.h and stops there in line:-
static __inline int IMENUMODEL_Add(IMenuModel *po, void *pvItem, uint16 idCmd, uint16 flags) {
return AEEGETPVTBL(po,IMenuModel)->InsertItem(po, pvItem, idCmd, flags, MENUINDEX_LAST);

:confused:

You need to add xmodimpl.c, xmodstub.c files from xmod dir into your project.

You need to add xmodimpl.c, xmodstub.c files from xmod dir into your project.

Thanks for the reply, but still getting the following errors:-
Linking...
xmodstub.obj : error LNK2005: _AEEMod_Load already defined in AEEModGen.obj
xmodstub.obj : warning LNK4006: _AEEMod_Load already defined in AEEModGen.obj; second definition ignored
Creating library Debug/helloformapp.lib and object Debug/helloformapp.exp
AEEModGen.obj : error LNK2001: unresolved external symbol _AEEClsCreateInstance
Debug/helloformapp.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
helloformapp.dll - 3 error(s), 1 warning(s)
:confused:

Thanks for the reply, but still getting the following errors:-
Linking...
xmodstub.obj : error LNK2005: _AEEMod_Load already defined in AEEModGen.obj
xmodstub.obj : warning LNK4006: _AEEMod_Load already defined in AEEModGen.obj; second definition ignored
Creating library Debug/helloformapp.lib and object Debug/helloformapp.exp
AEEModGen.obj : error LNK2001: unresolved external symbol _AEEClsCreateInstance
Debug/helloformapp.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
helloformapp.dll - 3 error(s), 1 warning(s)
:confused:

now i am able to create .dll, just removed AEEModGen.obj, :D
but getting unknown error in the simulator, might be program mistake, is it correct that i removed AEEModGen.obj??? :confused:

now i am able to create .dll, just removed AEEModGen.obj, :D
but getting unknown error in the simulator, might be program mistake, is it correct that i removed AEEModGen.obj??? :confused:

Yes, as sample apps in BUIW are using xmod files for the same purpose.

Yes, as sample apps in BUIW are using xmod files for the same purpose.

Thank you very much Atul :)

Thank you very much Atul :)

Hi Atul,
I am able to execute, but in the emulator it shows unknown error(3),,, :confused:
what for is it?
Should i include any other files? i have attached the my helloformapp.c,
plz help me where i am going wrong

Hi Atul,
I am able to execute, but in the emulator it shows unknown error(3),,, :confused:
what for is it?
Should i include any other files? i have attached the my helloformapp.c,
plz help me where i am going wrong

Problem solved :)
put the widgets.mif and forms.mif files in the same folder as ur application.mif file.
In the same folder create two folders:
forms and widgets.
Put the forms.dll and widgets.dll inside these folders.

Problem solved :)
put the widgets.mif and forms.mif files in the same folder as ur application.mif file.
In the same folder create two folders:
forms and widgets.
Put the forms.dll and widgets.dll inside these folders.