Diese Seite mit anderen teilen ...

Informationen zum Thema:
WinDev Forum
Beiträge im Thema:
Erster Beitrag:
vor 4 Jahren, 10 Monaten
Letzter Beitrag:
vor 4 Jahren, 10 Monaten
Beteiligte Autoren:
Allard, Yogi Yang, Fabrice Harari

using components in a wd programm

Startbeitrag von Allard am 19.09.2013 15:06


I was wondering when one should use components is a project. I donnot mean a component for licence. This can be used in all my apps and thus makes sence to make a component

I Mean following;

An app can have several versions.
1 = smal ( only basic functionality
2= Medium ( litle more functionality)
3= Full ( Has everything)

Via the licence I can manage functionality. When should I put stuf in a component. Now I have everything in one project.




Hi Allard

if you do not plan on reusing a module in another application, then a component, IMHO, is a waste of time and evergy... Another case where it MAY be usefull is when a separate developer is managing a component, then publishing it internally when a new version is ready. This allows some extra isolation.

But I'm pretty sure you'll find people disagreeing with me on that subject

Best regards

von Fabrice Harari - am 20.09.2013 13:37

I think what you are talking about is software protection. You want to restrict functionality of your software.

For this you will have to work out a good strategy.

Say for example you need to allow user only read-only access at stage 1 then you will have code in such a way that if the software in unlocked at stage 1 then it should only allow user read-only access to data.

The best thing for adding such functionality is to use some third party library. I prefer to use SerialShield as it comes as a DLL and is reasonably priced and dead easy to setup and use.

Do check it out at: http://www.ionworx.com/serialshield.html

I have also tried to protect WD generated apps using Enigma (http://enigmaprotector.com/) as all WD apps tend to check for CRC on loading the software protected with Enigma just crashes or at times it will not just start at all!!!

Just my 2 cents. ;)

Yogi Yang

von Yogi Yang - am 20.09.2013 13:38
Hi Yogi,

No I donnot mean protecting the software. I made that myself with windev ( via internet registration)
With little effort I can set some checks in the licence and functionality is added to the programm. But now as Iam working on a mutch bigger project huh it gets big. I never worked with components and so I was wondering when one would use them. Maybe a reason could be seperation and smaller projects. But I get from Fabrice that is not productive so

For now I will go with one big programm and enabling /disabling functionality with the licence.

Thanks for the info


von Allard - am 20.09.2013 23:54
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.