Echelon i.LON SmartServer 2.0 Instrukcja Użytkownika Strona 169

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 266
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 168
i.LON SmartServer 2.0 Programming Tools User’s Guide 155
Tips:
You should obscure the name of the license validation routine (and other symbols shown in
all capitals) to help secure your FPM application. To do this, define a macro with the same
name as the symbol and then specify a name translation for it. For example, the following
macro could be defined for the license validation routine created in step 2.
#define FPM_CHECK anotherFPMfunction
You can alternatively create your license validation routine as a static file-scope routine. This
enables the symbol name to be removed from the final object code module. Symbols for C++
class methods are always defined as global—even if they are a private class method—so that
they cannot be as easily removed from the object code module. However, if you have a lot of
class methods, using an intentionally misnamed method placed among the other methods may
be sufficient.
3. Click the tab for the source file view. Insert the following code before or after the
Initialize() routine:
void CUFPT<FPM Name>::<FPM license validation routine name>()
{
}
Przeglądanie stron 168
1 2 ... 164 165 166 167 168 169 170 171 172 173 174 ... 265 266

Komentarze do niniejszej Instrukcji

Brak uwag