LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

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 Kudos
Message 1 of 1
(2,619 Views)