Mark0's Forum
Software => TrID File Identifier => Topic started by: Gansta93 on September 09, 2010, 06:58:25 PM
-
Hello,
I have made another sample code to show how to use TrIDLib with PureBasic, using prototypes.
I've made it because using prototypes is faster and it provides a better control of passed parameters, and because calling a function with its memory address is faster than using CallFunction.
Moreover, using prototypes allows to use every types of parameters (using CallFunction doesn't allow to use string, float, double or quad). Prototype allows using of string, float, double or quad, for parameters as for return value.
Here is a link to download it:
http://dl.dropbox.com/u/1185217/DemoTrIDLibPureBasic.zip
I hop this sample code will help. :)
-
Thanks!
Will update the samples package at the first occasion.