|
Post by andrian on Nov 28, 2007 13:14:01 GMT -5
I'd like to get started with plugin DLL's, but I'm lost! Anybody got a tutorial that could help me? I have a little experience with OOP, but I saw things like 'virtual bool' and found myself very confused.
|
|
|
Post by DJLinux on Nov 29, 2007 5:25:07 GMT -5
Hello andrian there is no tutorial aviable but take a look in the plugin SDK you can find short examples with all sorts of params supported by the plugin interface. make litle changes on one example or add your own consts, functions, methods, and see how it works. begin with simple things like r=Add(a,b) a function with two params (byval) and one return value Add(r,a,b) a method two params (byval) and one return value (byref) learning by doing  Joshy
|
|
|
Post by b0ib0t on Nov 29, 2007 10:26:51 GMT -5
I second that! The best way is to learn by doing, and experimentation. Long ago when I began coding, I thought I would learn best by reading tutorials and books. It took me quite some time to learn that you can read and read, but nothing substitutes the benefits of taking action.
|
|
|
Post by andrian on Dec 13, 2007 11:52:44 GMT -5
Could someone please explain the code piece by piece, though? Which pieces of code are necessary for the file to be a plugin and which are safe to modify? How do I pass values to the plugin? Just a little help, please?
|
|
|
Post by DJLinux on Dec 13, 2007 15:17:34 GMT -5
Hello Adrian take a look in \DLL SDK\Examples you can study 4 examples compile and test it then try add your own functions.
If you can't read/understand the examples i think you should learn the basics of programing first.
Don't worry but the examples are documented and should be a good starting point.
If you run in to problems with the (simple) examples ask again.
Joshy
|
|