From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

external compatibility mode problem (bug??)

Hi all,
I have a data structure (typedef struct{})
it has 13 doubles, 14 time_t, 82 bytes of char, 97 unsigned short and
occupies 436 bytes of memory
If I compile with CVI 5.5 on NT 4.0 or 6.01 on W2k in Borland
compatibility mode
sizeof(struct) reports 436,
if I build under Microsoft compatibility mode with CVI 6.01 under W2k,
sizeof (struct) reports 440.
has anybody seen anything like this?
thanks
(or thaks if you speak gibberish)
Cody M.
0 Kudos
Message 1 of 2
(2,519 Views)
See answer to same question here:

http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HFORCEKWTID=49381:5&HOID=5065000000080000008C6D0000&HExpertOnly=&UCATEGORY_0=_46_%24_7_&UCATEGORY_S=0
0 Kudos
Message 2 of 2
(2,519 Views)