EldoS | Feel safer!

Software components for data protection, secure storage and transfer

.GetMountingPointCount() returns incorrect count

Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.
#8134
Posted: 11/08/2008 11:40:10
by Jon Anders  (Basic support level)
Joined: 12/15/2007
Posts: 13

When managing multiple SolFSStorages through array, .GetMountingPointCount() returns the TOTAL existing mounting points for each/any SolFSStorage rather than the correct number of mounting points unique to that particular storage.

Protected m_storage(2) As SolFSStorage
For i = 1 To 2
m_storage(i) = New SolFSStorage
Next

Now mount a volume m_storage(1) and also mount a volume m_storage(2)
ID = 1; DriveLetter = "M:"
m_storage(ID).AddMountingPoint(DriveLetter)
// at this point, there are two mounting points for storage 1
// M: and SolFS_Volume_1
ID = 2; DriveLetter = "N:"
m_storage(ID).AddMountingPoint(DriveLetter)
// at this point, there are two mounting points for storage 2
// N: and SolFS_Volume_2

// And Now each m_storage has two unique mounting points

HOWEVER: m_storage(1).GetMountingPointCount() returns 4
BUT THE EXPECTED VALUE IS 2 (isn't it?).

All other functionality appears to operate as expected.



UPDATE: After posting this message, the problem seems to have disappeared (at least for a while)
#8135
Posted: 11/08/2008 12:08:22
by Eugene Mayevski (EldoS Corp.)

Thank you for the detailed report. This looks like a bug which needs to be fixed. Can you please tell me what exactly build of SolFS Driver Edition you are using? It can be that this issue has been fixed a couple of builds ago.


Sincerely yours
Eugene Mayevski
#8139
Posted: 11/09/2008 06:46:38
by Jon Anders  (Basic support level)
Joined: 12/15/2007
Posts: 13

In today's development and testing work, this problem has not reappeared. If and when it does resurface, I'll provide as much additional detail as can be gathered.

Thank you for your prompt response, Eugene.

Reply

Statistics

Topic viewed 2170 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!