Create a method that returns the data as a STL
]. Then your code can either add to the list itself, or have another method in the DLL that will add items to it. However, remember that the extra items will not be persisted inside the DLL. If you want the list to be updated permanently then it would be much easier to rebuild from the source.