Is there sample code for a Designer plug-in DLL in C/C++?

Hi all,

I am new to writing plug-ins for Corel Designer, and I wasn't successful in finding the right sample. Here is what I want to do:

- write a plug-in for Designer in C/C++

- compile as DLL

I want to use Visual Studio for this.

What I am looking for:

Perfect would be a small VS Studio project with minimal code (drawing a line or similar).

Any help is very much appreciated!