On Oct 12, 2009, at 4:00 AM, Christian Schmitz wrote:

That looks correct.

Of course it does ;-),

Are you sure this is not something else like a broken cache?

It is indeed something else, thanks.

Or some compile issue that stuff is not recompiled properly?

No that's not the case.

It has to do with the stripping of the rest of the plugin. While RB is doing the right thing, stripping away most of the plugin code that defines WordGuise, it has problems dealing with ClassRefs of subclasses of rectControl, such as a ref to Scrollbar, or Toolbar. However, it does not show a problem with a class reference to Canvas. Why not with Canvas? That relates to the ContainerControl. When a user subclasses a ContainerControl, RB will instantiate a Canvas, like Wordguise does. Wordguise also instantiates a Scrollbar and a Toolbar in addition to the Canvas.

The workaround is therefore to create another plugin, but for the time being, the other workaround is to add an argument to the PostPoint method declaration:

static REALmethodDefinition PostPointMethods[] = {
{ (REALproc) PostPoint, REALnoImplementation, "Post(x As Integer, y As integer)" }

};

"Post(x As Integer, y As Integer, dummy as WordGuise = nil)"

This most likely will not strip WordGuise.

Of note is a class reference to "OpenDialog". When RB wants to strip this it will complain with "super", not in the manifest. This means you also need to get a class reference to "FolderItemDialog".

Alfred

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to