the empty space needs to be shown as being to the right of and right next to C:
If you have D; next to C: and then unallocated space well that wont work as you found out.
Move D: using a different utility, copy the contents of D and then delete D: and extend C: followed by recreating D: and restoring its contents.
I recommend a full backup before you begin messing with your drive.