First TagPlugin for Tutorial
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 21/02/2006 at 14:15, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R9.5
Platform: Windows ;
Language(s) : C++ ;---------
Hello all together,
i try to learn c++ for C4D-Plugin programming.
I had started a workshop: http://www.c4dboard.com/index.php?showforum=72
And a VeryFirstSteps Tutorial (german), for free VisualC++ from MS (not publish up to now) : http://www.total3d.de/vcppp.pdf
I learning by writing
I thing the best way to learning and describe, ist to get a Plugin without a function, or with very very small-code for function.[b]I need a code for a very minimal Tag-Plugin.[/b]
The Tag-Plugin in SDK look like to much.
I don't understand, what is für TAG self, and what for doing what the Tag do.
Here my my try to make a TAG without do something, but crashing:
[b]why don't work the code ?[/b]
http://www.total3d.de/mainTAG.zip -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 22/02/2006 at 02:21, xxxxxxxx wrote:
Your code seems fine. But your project lacks a description file. info is the name of the description file, so don't localize it.
if (!name.Content()) return TRUE; // FALSE is better as something went wrong
return RegisterTagPlugin(PLUGIN_ID,name,TAG_EXPRESSION|TAG_VISIBLE,DEINTAGPLUGIN::Alloc,"Deintag","DEINTAG_icon.tif",0);
Now you only need a "res/description/Deintag.res", according .h and .str files. Look in the sdk for
tlookatcameraexp.res/-.h/-.str and do it likewise. -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 23/02/2006 at 08:07, xxxxxxxx wrote:
Thanks for the answer!
But i cant get it
I try to copy the res and .h from the SDK-File "tlookatcameraexp"
It don't work.
I use VisualC++ 2005 Express...