Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 03 Jul 2013
Offline Last Active Oct 01 2013 10:38 PM

Topics I've Started

about style - why use hex instead of int in this function

24 September 2013 - 02:23 PM

this function is declared as such:

#define FLAGS_NONE (0x00000000)
#define FLAGS_01   (0x10000000)
#define FLAGS_02   (0x20000000)


contextSetString(int flags, API_FIELDS field, char *value);

When it is called, it looks like this:

contextSetString(FLAGS_NONE, API_ENVELOPE_FIELD, "fopfsmvfdp...");

Who has implemented a licensing API/SDK

19 September 2013 - 05:59 PM

I'm starting this topic to get general information, anecdotes, tips, warnings, suggestions, recommendations, ideas from all those out there who have ever implemented a licensing scheme into their application be it a licensing API/SDK or your own proprietary solution.


I've written a small program and have looked at services from Halpeiron, Safe-Net, RLM and others and have recently began implementing one solution into my app. It is a process of learning a new, and from the looks of the documentation, robust SDK that deals with areas of programming I have never explored before.  I do 3d math stuff.  This SDK deals with network calls, encryption, permissions, XML and really tricky code styles that rely on many many defines, function pointers, and many many funky functions that do obscure things that I can't find in a myriad of books that deal with 3d graphics programming.


What was your experience like?

Syntax I've never seen before

18 September 2013 - 05:35 PM

I'm implementing a licensing api that has lib files written in C (which may have something to do with the exotic syntax). My application is written in C++ and I've never used C before. It looks like this:

License::License(int productID, const wstring version, etc)
     d_LicenseFilePath = L"";//?????????????

can't make sense of the: L"" value.  Is there a guru out there that knows?