Sorry that it is my first time to do the project based programming.
I have tried to import library into visual studio for programming .
I follow the tutorial in internet and I imported the VTK modules successfully, but some header file still can not be import, such as vtkMRMLApplicationLogic.h, vtkMRMLScene.h, vtkMRMLModelNode.h which is in the slicer master library.
Yes, first study existing extensions, understand how they work, make small modifications to them. Once you are confident you can start creating new modules.
I have already modified the extensions code, but it needs to export to be .pyd file.
Following the tutorial in internet, I need to build the project successfully first. But some header file which is mention in question cannot be included. It makes cannot able to build project sucessfully.
You can start with just building an existing extension without any modification. If you have problems with that then let us know what the exact error message is and we should be able to help.