This is really strange... Usually 'empty function called in main' means that .dll isn't loaded, but we need to find the reason why. Isn't there a .dll example ready to be compiled in the sdk folder in acknex root folder? Maybe give it a try to find out if it works or not?