sell your program

I can write a code by using Solid API. If i sell what i wrote as a windows program to someone, are there any problem for solid works (dessault system) . if there are,  how can i pass it, could you explain me .

Thanks inadvance

SolidworksApi macros