Thread safety reading Cell Values?

Questions and answers on how to use XLSReadWriteII 5.
Post Reply
billegge
Posts: 23
Joined: Fri Feb 08, 2008 8:34 pm

Thread safety reading Cell Values?

Post by billegge »

Log story short, are the following functions thread safe?
Sheet.CellType[ColNo, Row]
Sheet.AsString[ColNo, Row]
Sheet.AsVariant[ColNo, Row]

Long Story:
I am reading data from an excel file and importing that into a database. I want to use the XE7 threading library and FireDAC Array DML to quickly read the excel data and populate the array. Each thread will be calling the above methods. My question is, are these thread safe as long as I am only reading the data.
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: Thread safety reading Cell Values?

Post by larsa »

Hello

Probably. I have not tested this, but I can't think of any reason why id shouldn't work.
Lars Arvidsson, Axolot Data
Post Reply