header file packages (newbie question)

  • Thread starter Thread starter Duncan Winn
  • Start date Start date
D

Duncan Winn

I have written an Ole Db provider... (DLL) and incorporated in this is an
SQLParser (header files and cpp files). However in my Solution directory it
looks very messy. I would like to separate the SQLParser header and cpp
files from the main provider and put them in a sub directory, what is the
best way of doing this?

Thanks,

Duncan
 
I'm not really sure what you mean exactly.

If you want a clearer view in your Developer Studio, then right click "Source Files" and select "Add" -> "New Folder"
and name the new folder "SQLParser". Do the same for the "Header Files", and name the new folder "SQLParser headers".
Now just select and drag&drop the SQLParser source and header files to their new directories.
Another solution for this, would be to create a new folder called "SQL Parser" under your project (the "SQLParser" folder would
then be on the same level as the "Source Files" and "Header files" subdirectories).
Now just move (drag and drop) all the SQLParser files (.cpp and .h) to the new SQLParser folder.

If you want the source/header files to actually be in a different dir on the drive (for example a subdir called "SQLParser"),
then you have to create the folder on your drive and move the files there.
In the dev. studio you now have to delete the occurences of the files in their old path,
and re-add them the usual way (add existing files).
 
Back
Top