×

Discussion Board

Search:

Type: Posts; User: azureskyi16; Keyword(s):

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    689

    problem when assigne value to pointer

    hi,
    It's a very stange problem, when I try to assign value to a pointer to an array, problem appear,
    part of code


    int SCMClassifier::test(double *vect)
    {
    double * vec = new double[dim];...
  2. Replies
    11
    Views
    3,502

    Re: could not read GPS data from N97

    hi, after long time I re-pick up this project.
    In fact I used the symbianfors60 to compile the code, and it gives KErrPermissionDenied error, so
    i try to use SymbianSigned online certification, it...
  3. Replies
    2
    Views
    909

    A problem of multi thread

    hi all,
    I get a problem of multithread when I use multi thread in C++
    here is the detail of my problem:




    struct value
    {
    double *buf;
  4. Replies
    5
    Views
    1,304

    Re: Read text file line by

    I know a C++ funciton called "fgets()",
    char *fgets(char *s, int n, FILE *stream);
    it reads until the end of one line
  5. Replies
    2
    Views
    803

    Re: Symbian s60

    haha, same quesiton as I have when I enter the world of symbian.
    I only have the experience of developping on Carbide C++. It could create and debug C++ application on Symbian. Also it supports the...
  6. Replies
    16
    Views
    2,087

    Re: A "main KERN-EXEC 3" error

    I think I get the problem, it is a problem about memory. In this function, it should allocate memory for all data in the model file, this could be huge. And I find that N97 only has 128MB RAM, this...
  7. Replies
    16
    Views
    2,087

    Re: A "main KERN-EXEC 3" error

    yes, I know that, the problem is how to use this programme in Nokia phone? The phone does not have this ntdll.dll.
    Now the programme runs well under windows, however, I want to use it on the phone....
  8. Replies
    16
    Views
    2,087

    Re: A "main KERN-EXEC 3" error

    I think the problem is how to add this dll to my project. What do you think? some one gives this solution
    by entering Run_>Debug Configurations, and open "Executables" tab, choose then "Execitables...
  9. Replies
    16
    Views
    2,087

    Re: A "main KERN-EXEC 3" error

    hi, here is all of the code related to this error:



    #define Malloc(type,n) (type *)malloc((n)*sizeof(type));
    svm_model *svm_load_model(const char *model_file_name)
    {
    FILE *fp =...
  10. Re: No source available for 0X7C966668 (ntdll.dll)

    Now I meet the same problem, do you know how to solve it?
  11. Replies
    16
    Views
    2,087

    Re: A "main KERN-EXEC 3" error

    to add:
    before the function of


    char *idx = NULL;
    idx = strtok(NULL, ":");

    there is a function to make strtok starts with "1:0.54572 2:0.66624 3:0.05..." and ignore the part " "0 0 0 0 0 8"
  12. Replies
    16
    Views
    2,087

    Re: A "main KERN-EXEC 3" error

    sure, because this sect of code

    char *idx = NULL;
    idx = strtok(NULL, ":");
    look for the number before symbole before " : ", and the first one is "1" (which is a ASCII character in this...
  13. Replies
    16
    Views
    2,087

    Re: A "main KERN-EXEC 3" error

    in fact, this method is used before


    static char* readline(FILE *input)
    {
    int len;

    if(fgets(line,max_line_len,input) == NULL)
    return NULL;
  14. Replies
    16
    Views
    2,087

    Re: A "main KERN-EXEC 3" error

    thanks, wizard_hu. It's not the problem of path, after debugging, more precisely, I find the problem is caused by
    x_space[j].index = (int) strtol(idx,&endptr,10);
    I explained in detail in my last...
  15. Replies
    16
    Views
    2,087

    Re: A "main KERN-EXEC 3" error

    hi symbiananyucca,
    After debugging on simulator, I fond the problem is here, caused by this statement,


    char *endptr = NULL;
    svm_node *x_space = NULL;
    while(1)
    {
    idx = strtok(NULL,...
  16. Replies
    16
    Views
    2,087

    A "main KERN-EXEC 3" error

    hi all,
    When I try to run my programme, it gives this error
    "Main KERN-EXEC 3". I think this error is caused by this sect of code:

    struct svm_model* model;
    char *modelPath = ...
  17. Replies
    4
    Views
    3,353

    Re: could not install sisx file now

    hi, wizard_hu
    thanks for your reminds, you are really everywhere.
    When I use your method to install applications, it works. Now I really confused, it seems it's not the problem of my cell phone. I...
  18. Replies
    4
    Views
    3,353

    Re: could not install sisx file now

    yeah, I have installed sisx many times, and suddenly I get this problem.
    Does this mean I get cell phone virus? Is there any anti-virus software for cell phone?
  19. Replies
    4
    Views
    3,353

    could not install sisx file now

    hi all,
    I come into a big problem today, I could no longer install the sisx file into my phone.
    Details: My phone is N97, and I use Nokia PC suit to install software. I always choose Nokia...
  20. Replies
    1
    Views
    3,957

    N97 无法安装sisx格式的软件

    本人使用N97做开发,不知道为什么手机突然间就不能安装sisx格式的软件了。
    详细信息:我使用的是最新版的nokia pc suit,然后使用Nokia application Installer 安装sisx格式的软件时,显示:operation failed. 奇怪的是如果我用Nokia application Installer 卸载软件是OK的。...
  21. Replies
    20
    Views
    2,821

    Re: should I choose multi thread

    hi, come into another problem
    when I compile my project in Visual studio 2008, it compiles well without errors. when I add this project into Carbide C++, error appears. It says:...
  22. Replies
    20
    Views
    2,821

    Re: should I choose multi thread

    ha, problem sovled.
    I add library estlib.lib, also I mention that some useful head files are not in the directory \epo32\include, so I also add \epo32\include\libc and \epo32\include\stdapis it...
  23. Replies
    20
    Views
    2,821

    Re: should I choose multi thread

    hi, I come into a problem:
    At first I build one symbian OS C++ project, I choose the basic console application. When I add my code file (in standard C and C++) into my project, I gives me many...
  24. Replies
    20
    Views
    2,821

    Re: should I choose multi thread

    Thanks for your advices, I simply add something to your code in this way,


    #include <e32base.h>
    #include <e32cons.h>

    CConsoleBase* console;

    TInt Thread(TAny *aAny)
    {
  25. Replies
    20
    Views
    2,821

    Re: should I choose multi thread

    hi, I write a simple programme based on the example.


    #include "Fibo.h"
    #include <e32base.h>
    #include <e32std.h>
    #include <e32cons.h> // Console

    // Constants...
Results 1 to 25 of 64
Page 1 of 3 1 2 3
×