AliNaqvi
07-15-2002, 01:49 AM
Hi,
I'm new to Brew but before get used to develop using MIDP.
I'm getting very strange behavior of BREW SDK 1.1 and the behavior is like this.
I've defined a structure with only two variables (except the mandatory one of type AEEApplet) of type IImage. and in MyApp_initAppData i'm initializing those variables to NULL and every thing works fine. But whenever i define the third variable of type IImage in that structure and try to initialize that variable to initAppData function to NULL i got the following error message. Surprisingly error message for windows versions are different. in chinese version i got the following message:
---------------------------
LGE CX-300L.qsc - BREW Emulator: BREW_Emulator.exe - 应用程序错误
---------------------------
"0x00000000" 指令引用的 "0x00000000" 内存。该内存不能为 "read"。
要终止程序,请单击“确定”。
要调试程序,请单击“取消”。
---------------------------
确定 取消
---------------------------
stating that statment referenced at memory address 0x00000000 can not read memory at address 0x00000000.
But in english version (windows 2000 for both versions)
i got the following error message.
BREW_Emulator.e.exe has generated errors and will be closed by Windows. You will need to restart the program.
An error log is being created.
---------
OK
---------
But i can't find any log file generated.
Can anybody tell me what is wrong above.
Note:
I've tested the program with setting the device Heap option to "Use windows heap" but still the same problem.
Any help or suggestion will be appreciated as this thing is really driving me crazy.
I've seen the example provided with the SDK that the structure they have defined are very big and those examples works very fine.
Regards,
Ali Naqvi
I'm new to Brew but before get used to develop using MIDP.
I'm getting very strange behavior of BREW SDK 1.1 and the behavior is like this.
I've defined a structure with only two variables (except the mandatory one of type AEEApplet) of type IImage. and in MyApp_initAppData i'm initializing those variables to NULL and every thing works fine. But whenever i define the third variable of type IImage in that structure and try to initialize that variable to initAppData function to NULL i got the following error message. Surprisingly error message for windows versions are different. in chinese version i got the following message:
---------------------------
LGE CX-300L.qsc - BREW Emulator: BREW_Emulator.exe - 应用程序错误
---------------------------
"0x00000000" 指令引用的 "0x00000000" 内存。该内存不能为 "read"。
要终止程序,请单击“确定”。
要调试程序,请单击“取消”。
---------------------------
确定 取消
---------------------------
stating that statment referenced at memory address 0x00000000 can not read memory at address 0x00000000.
But in english version (windows 2000 for both versions)
i got the following error message.
BREW_Emulator.e.exe has generated errors and will be closed by Windows. You will need to restart the program.
An error log is being created.
---------
OK
---------
But i can't find any log file generated.
Can anybody tell me what is wrong above.
Note:
I've tested the program with setting the device Heap option to "Use windows heap" but still the same problem.
Any help or suggestion will be appreciated as this thing is really driving me crazy.
I've seen the example provided with the SDK that the structure they have defined are very big and those examples works very fine.
Regards,
Ali Naqvi