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

Developer

Forums

Forums:

Hello,

I wrote a program for BREW that relies heavily on the ability to parse XML. I used TinyXML, which worked fine on the simulator, but when I try to compile to ARM, I get tons of errors, which leads me to believe that TinyXML is not gonna work.

I found xmlparser by Reaxion on the extranet, and I'm trying to get that running. I am not sure what to do with extensions and BREW (am I supposed to install it? put the files in a certain directory?). All I did was put the aeexml.h file somewhere, and my program compiles, I figure that's all I need to worry about.

I guess my real problem is at runtime. My

ISHELL_CreateInstance(pMe->a.m_pIShell, AEECLSID_XMLPARSER, (void**)&pMe->pIXMLParser);

returns either ECLASSNOTSUPPORT (3) or EFILENOEXISTS (257). There was some discussion on the forums that you're supposed to arrange the xmlparser files a certain way, but none of those solutions worked. Anybody know why I am getting these errors and how to fix them?

Thank you very much,
Eddie

Are you running on handset or simulator? Please make sure that you follow proper directory structure.
for 3.x or above handsets:
brew\mod\app\app.mod, app.bar (optional)
brew\mod\ext\ext.mod & optional data/res files
brew\mif\app.mif, ext.mif

Are you running on handset or simulator? Please make sure that you follow proper directory structure.
for 3.x or above handsets:
brew\mod\app\app.mod, app.bar (optional)
brew\mod\ext\ext.mod & optional data/res files
brew\mif\app.mif, ext.mif

Thanks for your help. I am just trying to get it running on the sim for now. Is there a certain way I am supposed to arrange the files?

Thanks for your help. I am just trying to get it running on the sim for now. Is there a certain way I am supposed to arrange the files?

root\app\app.mod, app.bar (optional)
root\ext\ext.mod & optional DATA/res files
root\app.mif, ext.mif

root\app\app.mod, app.bar (optional)
root\ext\ext.mod & optional DATA/res files
root\app.mif, ext.mif

Thanks for your response, but I am still getting EFILENOEXISTS.
I don't have any .mod files, but you don't need those to run the simulator outside of visual studio, right?
I have:
root\app\app.mif, xmlparser.mif
root\app\app\app.bid, app.brx, app.bar, app.brh, app.dll, app.mfx
root\ext\xmlparser.bar, xmlparser.bid, xmlparser.dll
what am I doing wrong? :(

Thanks for your response, but I am still getting EFILENOEXISTS.
I don't have any .mod files, but you don't need those to run the simulator outside of visual studio, right?
I have:
root\app\app.mif, xmlparser.mif
root\app\app\app.bid, app.brx, app.bar, app.brh, app.dll, app.mfx
root\ext\xmlparser.bar, xmlparser.bid, xmlparser.dll
what am I doing wrong? :(

Right, .mod is not required for simulator. I tried downloading xmlparser ext and its working for me.
Here is my forlder str:
BrewApps\demoapp.mif,xmlparser.mif
BrewApps\demoapp\demoapp.dll,demoapp.bar
BrewApps\xmlparser\xmlparser.dll,xmlparser.bar

Right, .mod is not required for simulator. I tried downloading xmlparser ext and its working for me.
Here is my forlder str:
BrewApps\demoapp.mif,xmlparser.mif
BrewApps\demoapp\demoapp.dll,demoapp.bar
BrewApps\xmlparser\xmlparser.dll,xmlparser.bar

Holy crap- it works.
Thank you very much!!!!

Holy crap- it works.
Thank you very much!!!!