Hi!!,
i think I have finished the dll (with floats and int's, I should extend it futher to strings, but i'm seeing myself short of time right now), i know i said an ending date for last week, but I had to study veeerryyy much to advance in the dll.
- i have not implemented polymorphism, because i have a generic function
with void pointers (the one from the post above), that can receive anything if I cast properly.
- I'm using "PostQuitMessage(0);" to end the DBPRO application when an error is triggered.
- I have implemented error handling for out of bounds and set existance. I have not implemented for correct sending of the type from Darbasic, since Darkbasic take care of all the details.
- I have to implement the ini and web help files, and test a bit more the error handling mechanism.
- I have a quiestion.
* IF an error is triggered i delete all the objects in the set with an iterator. How i do to remove this objects from the set when the applications of DBPRO is finished?,
* should i create and object when that destroys erases the objects in the set?,
*if i don't do this a memory leak is created because the objects in the set are never erased when the DBPRO application ends?
- The functions in this dll so far (GetValue and SetValue are dummy functions):
1 "AA_Add[%DL%MakeNewObject"
2 "AA_GetValue[%DD%GetAAValue"
3 "AA_SetValue%DD%SetAAValue"
4 "AA_InflateSubArray%DL%inflateSubVector"
5 "AA_GetSubArraySize[%DD%getSubVectorSize"
6 "AA_SetSubArrayValueI%DLL%setSubVectorValueI"
7 "AA_GetSubArrayValueI[%LDL%getSubVectorValueI"
8 "AA_setSubArrayType%DL%setSubVectorType"
9 "AA_getSubArrayType[%LD%getSubVectorType"
10 "AA_SetSubArrayValueF%DLF%setSubVectorValueF"
11 "AA_GetSubArrayValueF[%FDL%getSubVectorValueF"
12 "AA_DeleteSubArrayElement%DL%deleteSubVectorElement"
13 "AA_DeleteSubArrayGroup%DLL%deleteSubVectorGroup"
14 "AA_InsertSubArrayElements%DLL%insertSubVectorElements"
15 "AA_InsertSubArrayElement%DL%insertSubVectorElement"
16 "AA_ClearSubArray%D%clearSubVector"
17 "AA_DeleteParentArray%D%deleteParentVector"
[edit] I have been testing the Dll and is almost ready for the community. I have finished the .ini file and the error handling for all type of errors, although, I don't know how to get the line where the error was triggered, do you know? (again thanks for your help and patience) [edit]