Right Ctrl & right SHIFT keys

Hi,
How can I simulate the action of pressing the right Ctrl and holding then
pressing the right SHIFT key thourgh a C++ code?
I am using Borland c++ compiler (4.52)
Thanks in advance.
Martin