Doors 8.3 crashes with DBE filename() ?!

Hi all,

i have a problem, my code works on Doors 9.6

but when i try my code on Doors 8.3 it crashes, in the moment when i click on "Browse"

 

DB diaBox = create ("Test", styleStandard); 
string stdFilename = "C:\\Test.csv"   
DBE fn = fileName(diaBox, stdFilename, "*", "Data files");
string filename = "" 
filename = get (DBE fn)
show diaBox;   

 

Error: DOORS has encountered an error from which it cannot recover.

DOORS will now exit.

 

 


meinhana - Mon Aug 31 03:50:45 EDT 2015

Re: Doors 8.3 crashes with DBE filename() ?!
Wolfgang Uhr - Mon Aug 31 07:37:00 EDT 2015

Hi

Try

filename = get (fn)

instead of

filename = get (DBE fn)

Best regards

Wolfgang

Re: Doors 8.3 crashes with DBE filename() ?!
meinhana - Mon Aug 31 07:45:50 EDT 2015

Wolfgang Uhr - Mon Aug 31 07:37:00 EDT 2015

Hi

Try

filename = get (fn)

instead of

filename = get (DBE fn)

Best regards

Wolfgang

It doesn't work :/

Re: Doors 8.3 crashes with DBE filename() ?!
Wolfgang Uhr - Mon Aug 31 08:50:13 EDT 2015

meinhana - Mon Aug 31 07:45:50 EDT 2015

It doesn't work :/

Hi

I do not have 8.3. So i can only guess and this is my best idea. Sorry

In my doors both versions run properly.

Wolfgang

Re: Doors 8.3 crashes with DBE filename() ?!
Mike.Scharnow - Mon Aug 31 09:06:33 EDT 2015

meinhana - Mon Aug 31 07:45:50 EDT 2015

It doesn't work :/

don't have 8.3 either, but in 8.2 the code works as well.

Perhaps there's a problem with the current working directory of your DOORS process? May be it helps if you change your link to start DOORS to some other directory?

And you're sure you didn't accidentally name the variable "fileName" instead of "filename"?

 

Otherwise, sorry, no idea.

Re: Doors 8.3 crashes with DBE filename() ?!
meinhana - Mon Aug 31 09:11:26 EDT 2015

Mike.Scharnow - Mon Aug 31 09:06:33 EDT 2015

don't have 8.3 either, but in 8.2 the code works as well.

Perhaps there's a problem with the current working directory of your DOORS process? May be it helps if you change your link to start DOORS to some other directory?

And you're sure you didn't accidentally name the variable "fileName" instead of "filename"?

 

Otherwise, sorry, no idea.

DBE fn = fileName(diaBox, test, "*", "Data files");
string filename = "" 
filename = get (fn)
print "filename: " filename "\n" 

 

 

Yes, I'm sure ...

I tried my code on 3 PC's and an every PC the same error :(