Silverfrost Forums

Welcome to our forums

run time error - hypertext resource xxxx not found

24 Jun 2005 12:38 #206

i have been trying to add a hypertext document using the ftn95, it seems that, running the executable file produces a run time error hypertext resource xxxxx not found. part of the lines are the following, any suggestions. tq.

winapp . . . call add_hypertext@(file) i=winio('%50.20ht[contents]') end resources file hypertext doc1.htm

Jamalludin

24 Jun 2005 4:59 #207

Did you mean

call add_hypertext_resource@(file)

This is what you should be calling.

24 Jun 2005 5:45 #212

hi paul its me again, actually that was what i meant to write - call add_hypertext_resource(file). and the exe file produces the run time error.

27 Jun 2005 12:06 #215

add_hypertext_resource@ has an argument that is a Fortran character string. Try: call add_hypertext_resource@('file') and make sure that the htm file is in the same directory as the executable.

29 Jun 2005 1:09 #218

I have tried your suggestion putting the htm file in the same directory as the executable file, but the same run time error occured. any other suggestion or a working simple example on the above issue. thank you.

29 Jun 2005 11:56 #219

Did you put the quotes around the word file? The argument is a string.

call add_hypertext_resource@('file')

The argument is in quotation marks.

30 Jun 2005 7:32 #220

-hi paul, i try putting the file in qoutes, and running the exe file produces an access violation error - Access Violation The instruction at address 0374b814 attempted to read from location 00000000

0374b78d lookup_document(<ptr>char,enumÄlogical)#6F [+0087]

0374ba88 __add_hypertext [+025b]

0374bd02 __add_hypertext_resource [+00c1] . . . any other suggestion, tq.(2182)

30 Jun 2005 11:55 #221

How about posting the whole program.

4 Jul 2005 12:15 #222

hi paul, while waiting for your answer i managed to trace the main source of the problem. actually it was the htm file - the topic at %ht[topic], did not correspond to any of the topics written in the htm file. Anyway thanks for all the suggestions.

:rolleyes: 2182

Please login to reply.