This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:orx:config:encryption [2010/05/11 20:50 (12 years ago)] iarwain |
en:orx:config:encryption [2017/05/30 00:50 (5 years ago)] (current) |
||
---|---|---|---|
Line 55: | Line 55: | ||
<code c>orxConfig_SetEncryptionKey("MyVeryLongEncryptionKey");</code> | <code c>orxConfig_SetEncryptionKey("MyVeryLongEncryptionKey");</code> | ||
- | Of course, as orx will load its main config file it is initialized, you need to issue the call to ''orxConfig_SetEncryptionKey()'' before initializing orx. It would look something like this: | + | Of course, as orx will load its main config file **when** it is initialized, you need to issue the call to ''orxConfig_SetEncryptionKey()'' before initializing orx. It would look something like this: |
<code c>int main(int argc, char **argv) | <code c>int main(int argc, char **argv) |