2

I want to create DLL which opens a dialog do some processing with QGIS and returns some data. I have searched many places but have not found the help I needed.

I just want to read shapefiles and then show shape data. So I wanted to know how to make a DLL that uses QGIS processes? I have searched on internet but did not find any QGIS DLL or library that we can use to build DLL. So I want to know is there any way to create a DLL that uses QGIS and then we can use DLL in any other project?

  • Hi, the short answer is yes. But to provide a good answer we will need some more information about what your problems are. – Matthias Kuhn Nov 20 '15 at 19:00
  • sir i just want to read shape files and show shape data. and i want to make this DLL and then this DLL can be used in any project – user2174920 Nov 21 '15 at 4:45
  • QGIS is built around several DLL's itself, you can easily build your own DLL that are linked against the QGIS DLL's. How to do this is a question related to software engineering in general and should be asked on stackoverflow (like here or here) – Matthias Kuhn Nov 21 '15 at 13:57
  • ok i got it. sir one last thing whats the qgis DLL for reading shape file? – user2174920 Nov 21 '15 at 14:17
  • i hve edited why its still onhold? I got stuck in this issue and really need some help – user2174920 Nov 21 '15 at 20:38
1

PyQGIS is the standard way to work with/automate QGIS processes and get it to do what you want it to do. Just call a PyQGIS script from your project.

http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/

| improve this answer | |
  • sir its python script? is there any way for c++ or c# ? – user2174920 Nov 21 '15 at 4:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.