Xojo Conferences
XDCMay2019MiamiUSA

[MBS] 8.3pr7 (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Next thread: [MBS] 8.3pr6


RE: [MBS] DOM classes for Mac OS X HTMLViewer   -   Giovanni
  [MBS] 8.3pr7   -   Christian Schmitz
   Re: [MBS] 8.3pr7   -   Charles E. Heizer
    Re: [MBS] 8.3pr7   -   Christian Schmitz
   Re: [MBS] 8.3pr7   -   Tim Jones
    Re: [MBS] 8.3pr7   -   Christian Schmitz
     Re: [MBS] 8.3pr7   -   Tim Jones
      Re: [MBS] 8.3pr7   -   Christian Schmitz

[MBS] 8.3pr7
Date: 28.04.08 22:39 (Mon, 28 Apr 2008 23:39:25 +0200)
From: Christian Schmitz
Hi,

I hope I fixed the problems with RB 2008r2b4.

Gruß
Christian

-

Re: [MBS] 8.3pr7
Date: 28.04.08 23:02 (Mon, 28 Apr 2008 15:02:24 -0700)
From: Charles E. Heizer
What was wrong?

On 4/28/08 2:39 PM, "Christian Schmitz" <<email address removed>> wrote:

Hi,

I hope I fixed the problems with RB 2008r2b4.

Gruß
Christian

-

Re: [MBS] 8.3pr7
Date: 28.04.08 23:04 (Tue, 29 Apr 2008 00:04:49 +0200)
From: Christian Schmitz
Charles E. Heizer <<email address removed>> wrote:

> What was wrong?

it looks like REALnewInstance(char*) corrupts memory if REALGetClassRef
was not used before for that class.

The problem is that REALnewInstance(char*) is used in over 500 places in
the plugin, so I bet I will still need to report it.

Gruß
Christian

-

Re: [MBS] 8.3pr7
Date: 29.04.08 17:28 (Tue, 29 Apr 2008 09:28:17 -0700)
From: Tim Jones
On Apr 28, 2008, at 2:39 PM, Christian Schmitz wrote:

> Hi,
>
> I hope I fixed the problems with RB 2008r2b4.

Moin Christian,

I still get a Nil returned when I call a folderitem's IconImageMBS
under 2008r2b4. This code works properly under 8r1 and prior with
8.3pr7.

Funcion getIcon(f As FolderItem, w As Integer) As Picture
dim p as Picture
dim i as Picture
dim m as Picture

if f <> Nil Then // should never happen, but ...
iðIconImageMBS(w) // <-- NOE occurs here
mðIconMaskMBS(w)

If i <> nil Then
p=NewPicture(i.width,i.height,32)

p.Graphics.DrawPicture i,0,0
p.Mask.Graphics.DrawPicture m,0,0
End If
end if

Return p
End Function

Tim
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
http://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] 8.3pr7
Date: 29.04.08 18:30 (Tue, 29 Apr 2008 19:30:56 +0200)
From: Christian Schmitz
Tim Jones <<email address removed>> wrote:

> On Apr 28, 2008, at 2:39 PM, Christian Schmitz wrote:
>
> > Hi,
> >
> > I hope I fixed the problems with RB 2008r2b4.
>
> Moin Christian,
>
> I still get a Nil returned when I call a folderitem's IconImageMBS
> under 2008r2b4. This code works properly under 8r1 and prior with
> 8.3pr7.

does it work if you add a line

dim x as new IconMBS

there?

Gruß
Christian

-

Re: [MBS] 8.3pr7
Date: 29.04.08 19:47 (Tue, 29 Apr 2008 11:47:00 -0700)
From: Tim Jones
On Apr 29, 2008, at 10:30 AM, Christian Schmitz wrote:

> Tim Jones <<email address removed>> wrote:
>
>> On Apr 28, 2008, at 2:39 PM, Christian Schmitz wrote:
>>
>>> Hi,
>>>
>>> I hope I fixed the problems with RB 2008r2b4.
>>
>> Moin Christian,
>>
>> I still get a Nil returned when I call a folderitem's IconImageMBS
>> under 2008r2b4. This code works properly under 8r1 and prior with
>> 8.3pr7.
>
> does it work if you add a line
>
> dim x as new IconMBS
>
> there?

That fixed it.

Do I need to make that change to all of my IconMBS work for the
future, or is that something you will change to maintain existing code?

Thanks,

Tim

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
http://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] 8.3pr7
Date: 29.04.08 22:25 (Tue, 29 Apr 2008 23:25:02 +0200)
From: Christian Schmitz
Tim Jones <<email address removed>> wrote:

> That fixed it.
>
> Do I need to make that change to all of my IconMBS work for the
> future, or is that something you will change to maintain existing code?

I need to change the plugins.

RB 2008r2 includes the plugin, but no the class. :-(

Gruß
Christian

-