PDA

View Full Version : Design question regarding dll



MarkoSan
8th December 2008, 10:45
Hi to all!

I was instructed to create serial port communication library (dll), which will be used by other higher-level developers. I've chosen Evaluation Version of Qt 4.4.3 Commercial and MS Visual Studio 2008. Now, how do I now create externally visible methods like (OpenPort, ClosePort, ....) and how do I "hide" information in dll - like create private methods?

jpn
11th December 2008, 17:49
How about the same way they do it in Qt? Public exported classes in public headers that are installed, private non-exported classes in private headers that aren't installed.