PDA

View Full Version : Some Help needed-


sachinppatil
07-29-2003, 06:47 AM
Dear Friends,

I am a new user of BREW.
I had coded as per brew_app_from_scratch.pdf file.

But when I compiled the code in VC++ I got some errors.

Can any body just clarify what all these error means and what are the solutions.

I had checked the #include for these errors.
Errors are as follows-

Deleting intermediate files and output files for project 'MyFirstApp - Win32 Debug'.
--------------------Configuration: MyFirstApp - Win32 Debug--------------------
Compiling...
AEEAppGen.c
AEEModGen.c
MyFirstApp.c
e:\gloss\brew practice\myfirstapp\myfirstapp.c(122) : warning C4013: 'IShell_LoadResImage' undefined; assuming extern returning int
e:\gloss\brew practice\myfirstapp\myfirstapp.c(122) : warning C4047: '=' : 'struct _IImage *' differs in levels of indirection from 'int '
e:\gloss\brew practice\myfirstapp\myfirstapp.c(125) : warning C4013: 'IShell_GetDeviceInfo' undefined; assuming extern returning int
e:\gloss\brew practice\myfirstapp\myfirstapp.c(150) : warning C4013: 'IImage_Release' undefined; assuming extern returning int
Linking...
Creating library Debug/MyFirstApp.lib and object Debug/MyFirstApp.exp
MyFirstApp.obj : error LNK2001: unresolved external symbol _IShell_GetDeviceInfo
MyFirstApp.obj : error LNK2001: unresolved external symbol _IShell_LoadResImage
MyFirstApp.obj : error LNK2001: unresolved external symbol _IImage_Release
Debug/MyFirstApp.dll : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.

MyFirstApp.dll - 4 error(s), 4 warning(s)

thanks
with regards,
Sachin Patil

tyndal
07-29-2003, 07:22 AM
did you include?

#include "AEEShell.h"
#include "AEEImage.h"

Also it is

ISHELL_GetDeviceInfo()
ISHELL_LoadResImage()
IIMAGE_Release()

uppercase matters.

-Tyndal

sachinppatil
07-31-2003, 12:56 AM
Hello Mr. Tyndal,

thanks for your immediate response.

My problem has been solved. Your guess was correct I need to write some letters in capital.

If I need any information can I contact you on your ID?

Thanks,
Sachin Patil