Hello World App Unknown Error(1) | developer.brewmp.com Hello World App Unknown Error(1) | developer.brewmp.com

Developer

Hello World App Unknown Error(1)

Forums:

I inherited a project from someone at my company when I run the project on v3c i get an error on the screen, when i exit "Hello World App, Unknown Error (1)"

a) I searched the whole project and i didn't find any reference to hallo world, obviously the guy started from a Hello World example project, but i cant find where.

b) Where can i find the meaning of "Error (1)", It's probably because of a memory leak, but just to make sure...

any clues?

tnx.

Unknown Error (1) - you usually get this in emulator when there is conflict with the classid in the mif and the dll. ie., the classid in the mif is different from the classid that was used when compiling the dll.

Unknown Error (1) - you usually get this in emulator when there is conflict with the classid in the mif and the dll. ie., the classid in the mif is different from the classid that was used when compiling the dll.

RPDP wrote:Unknown Error (1) - you usually get this in emulator when there is conflict with the classid in the mif and the dll. ie., the classid in the mif is different from the classid that was used when compiling the dll.
"...when I run the project on v3c..." :)
nope, checked it...

RPDP wrote:Unknown Error (1) - you usually get this in emulator when there is conflict with the classid in the mif and the dll. ie., the classid in the mif is different from the classid that was used when compiling the dll.
"...when I run the project on v3c..." :)
nope, checked it...

Hi
Wave
"On simulator Unknown error(1) results when brew app manager fails to find the correct .dll for your application whereas on the device the error results when the brew app manager fails to find the correct .mod file for the application". That was the answer a qualcomm executive gave to me when i asked him about the issues on v3c. Now when i researched for the solution for problem i found that my application was faling to allocate memory resources to some of the gui controls that i've used in the application. It seems to me that this error on the device also results when application fails to allocate resources(probably in InitAppData function) to the controls used in the application. In my case it was the ITEXTCTL.

Hi
Wave
"On simulator Unknown error(1) results when brew app manager fails to find the correct .dll for your application whereas on the device the error results when the brew app manager fails to find the correct .mod file for the application". That was the answer a qualcomm executive gave to me when i asked him about the issues on v3c. Now when i researched for the solution for problem i found that my application was faling to allocate memory resources to some of the gui controls that i've used in the application. It seems to me that this error on the device also results when application fails to allocate resources(probably in InitAppData function) to the controls used in the application. In my case it was the ITEXTCTL.

success_anil wrote:Hi
Wave
"On simulator Unknown error(1) results when brew app manager fails to find the correct .dll for your application whereas on the device the error results when the brew app manager fails to find the correct .mod file for the application". That was the answer a qualcomm executive gave to me when i asked him about the issues on v3c. Now when i researched for the solution for problem i found that my application was faling to allocate memory resources to some of the gui controls that i've used in the application. It seems to me that this error on the device also results when application fails to allocate resources(probably in InitAppData function) to the controls used in the application. In my case it was the ITEXTCTL.
a. thanks, but I get this error only after I exit the project, so the brew app manager did find the mod file, and obviously at that point i'm not doing any allocations
b. anyone know where the phone got the "hello world" name of the app instead it's right name, i created a new mif file and bid, and i search the whole project...?

success_anil wrote:Hi
Wave
"On simulator Unknown error(1) results when brew app manager fails to find the correct .dll for your application whereas on the device the error results when the brew app manager fails to find the correct .mod file for the application". That was the answer a qualcomm executive gave to me when i asked him about the issues on v3c. Now when i researched for the solution for problem i found that my application was faling to allocate memory resources to some of the gui controls that i've used in the application. It seems to me that this error on the device also results when application fails to allocate resources(probably in InitAppData function) to the controls used in the application. In my case it was the ITEXTCTL.
a. thanks, but I get this error only after I exit the project, so the brew app manager did find the mod file, and obviously at that point i'm not doing any allocations
b. anyone know where the phone got the "hello world" name of the app instead it's right name, i created a new mif file and bid, and i search the whole project...?

plz check that if your are load same image of bri or brx in different pointer in your program, then remove the pointer that was loaded in the main_app or base_app ( means loaded at the beginning )....
I think it may help u......
remember don't load same image in multiple pointer...
bye bye..... :)

plz check that if your are load same image of bri or brx in different pointer in your program, then remove the pointer that was loaded in the main_app or base_app ( means loaded at the beginning )....
I think it may help u......
remember don't load same image in multiple pointer...
bye bye..... :)

Wave wrote:a. thanks, but I get this error only after I exit the project, so the brew app manager did find the mod file, and obviously at that point i'm not doing any allocations
b. anyone know where the phone got the "hello world" name of the app instead it's right name, i created a new mif file and bid, and i search the whole project...?
Do you have helloworld loaded ? the name would be in the mif and not necessarily the name of the file.
Check the brew debug logs and see if you get any details ? Does your app try to run some other application? You can enable brew debug sequence to get more logs.

Wave wrote:a. thanks, but I get this error only after I exit the project, so the brew app manager did find the mod file, and obviously at that point i'm not doing any allocations
b. anyone know where the phone got the "hello world" name of the app instead it's right name, i created a new mif file and bid, and i search the whole project...?
Do you have helloworld loaded ? the name would be in the mif and not necessarily the name of the file.
Check the brew debug logs and see if you get any details ? Does your app try to run some other application? You can enable brew debug sequence to get more logs.