cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not applicable

error nº 0x80040706 (working with arrays)

Hi everybody

I don´t know why something like give the next error:

Unhandled Exception
error number: 0x80040706
Description: Object reference not set
Setup will terminated


The code:

//................................
// global variables
//................................

#define NUM_BOARDS 8
typedef CONFIG_FILES
begin
STRING file_1[255];
STRING file_2[255];
end;

CONFIG_FILES m_aConfigFiles(NUM_BOARDS);

//................................
function OnBegin()

m_aConfigName(0).file_1="file_1.xml";


What I'm doing wrong!!

Thanks
Labels (1)
0 Kudos
(1) Reply
Reureu
Level 10

Hi,

I don't know if you are still looking for a solution, as you started this thread a long time ago.

But anyway, if you are, then there is a solution described here:
http://www.installsite.org/files/IS6_Structures.htm

It was written for Installshield 6, but it can be used with more recent versions too.
You can easily transpose it to your case.

Regards
0 Kudos