LabWindows/CVI

取消
显示结果 
搜索替代 
您的意思是: 

program crash

Good morning,

I am developing a program that converts dxf files to ISO format for CNC.

The program, in debug mode, works.

When I run the program in release mode, it crashes; the behaviour is completely different.

I think that it could be a memory allocation problem;

is there in CVI a different memory management in debug and release mode?

how can I fix the problem?

 

I use CVI7.1 (a very old version...).

 

I use variable like these: as you can understand it is like a matrioska...

 

typedef  struct  
{   [...]
    DXF_block  *blocks;
    DXF_entity *entities; 

} DXF

 

typedef struct

{   [...]                   
    DXF_entity  *entities;
} DXF_block;

// Entità
typedef struct

{    [...]
    float *x;                        // array con le coordinate x
    float *y;                        // array con le coordinate y
} DXF_entity;

Any suggesion?

 

Than you a lot, Paolo

0 项奖励
1 条消息(共 1 条)
2,780 次查看