DivyaDya
13th December 2018, 10:43
This is my dll function .this function is called UE script. run the session not insert the record i got this error
Fatal error:recursion not possible refcount=2
function aaa()
{
long fp,i
string readtext(50),c
fp = seq.open("abc.txt","r")
if fp >= 1 then
message("dd")
while not seq.eof(fp)
c=seq.getc$(fp)
if c <> "|" then
readtext=readtext & str$(c)
else
i=i+1
message("%s",readtext)
if i=1 then
tdslsxxx.ofbp=readtext
readtext=""
endif
if i=2 then
tdslsxxx.ofad=readtext
readtext=""
i=0
endif
db.insert(ttdslsxxx,db.retry)
endif
endwhile
commit.transaction()
endif
seq.close(fp)
}
Fatal error:recursion not possible refcount=2
function aaa()
{
long fp,i
string readtext(50),c
fp = seq.open("abc.txt","r")
if fp >= 1 then
message("dd")
while not seq.eof(fp)
c=seq.getc$(fp)
if c <> "|" then
readtext=readtext & str$(c)
else
i=i+1
message("%s",readtext)
if i=1 then
tdslsxxx.ofbp=readtext
readtext=""
endif
if i=2 then
tdslsxxx.ofad=readtext
readtext=""
i=0
endif
db.insert(ttdslsxxx,db.retry)
endif
endwhile
commit.transaction()
endif
seq.close(fp)
}