View previous topic :: View next topic |
Author |
Message |
2182
Joined: 22 Jun 2005 Posts: 5
|
Posted: Fri Jun 24, 2005 1:38 am Post subject: run time error - hypertext resource xxxx not found |
|
|
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 |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8037 Location: Salford, UK
|
Posted: Fri Jun 24, 2005 5:59 am Post subject: run time error - hypertext resource xxxx not found |
|
|
Did you mean
call add_hypertext_resource@(file)
This is what you should be calling. |
|
Back to top |
|
|
2182
Joined: 22 Jun 2005 Posts: 5
|
Posted: Fri Jun 24, 2005 6:45 pm Post subject: run time error - hypertext resource xxxx not found |
|
|
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. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8037 Location: Salford, UK
|
Posted: Mon Jun 27, 2005 1:06 pm Post subject: run time error - hypertext resource xxxx not found |
|
|
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. |
|
Back to top |
|
|
2182
Joined: 22 Jun 2005 Posts: 5
|
Posted: Wed Jun 29, 2005 2:09 am Post subject: run time error - hypertext resource xxxx not found |
|
|
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. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8037 Location: Salford, UK
|
Posted: Thu Jun 30, 2005 12:56 am Post subject: run time error - hypertext resource xxxx not found |
|
|
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. |
|
Back to top |
|
|
2182
Joined: 22 Jun 2005 Posts: 5
|
Posted: Thu Jun 30, 2005 8:32 pm Post subject: run time error - hypertext resource xxxx not found |
|
|
-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) |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8037 Location: Salford, UK
|
Posted: Fri Jul 01, 2005 12:55 am Post subject: run time error - hypertext resource xxxx not found |
|
|
How about posting the whole program. |
|
Back to top |
|
|
2182
Joined: 22 Jun 2005 Posts: 5
|
Posted: Mon Jul 04, 2005 1:15 am Post subject: run time error - hypertext resource xxxx not found |
|
|
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 |
|
Back to top |
|
|
|