Page 5 of 40

..

Posted: Wed Apr 21, 2004 6:01 pm
by NoahPhense
El_Choni wrote:I think you just need to include a file named openmutex.html in your chm file.
Ahhh.. boyaa!! it works great!! Thanks El.. just keep building, and
remember what I said about eventually buying TailBite Pro from you. ;)

ps - I think it was mentioned already.. But if the Lib is already sitting
in the UserLibraries folder when you run TB, it doesn't ask again for the
name of the help file.. just an FYI

- np

Posted: Wed Apr 21, 2004 6:13 pm
by El_Choni
I thought I had fixed that (twice)! Back to coding...
ps - I think it was mentioned already.. But if the Lib is already sitting
in the UserLibraries folder when you run TB, it doesn't ask again for the
name of the help file.. just an FYI
Ah, ok! No, it's not a bug, I thought of it as a feature, isn't it? You don't have to retype the help file name again and again at each compilation. If you want to change the lib name, delete the lib and call TailBite again, it'll prompt you for the help file name.

..

Posted: Sun Apr 25, 2004 4:32 am
by NoahPhense
El_Choni wrote:I thought I had fixed that (twice)! Back to coding...
quickie question:

How do you create the .pak file that contains your source?

- np

Posted: Mon Apr 26, 2004 8:30 am
by El_Choni
I don't have it here right now, but I think the structure is more or less like this:

"DIR"+chr(0)+"src\Help"+chr(0)+"src\Help\index.html"+chr(0)+[PackedFile]+etc...

I can check the exact format when I get home, if you wish. You can also have a look at the TBManager source code part which extracts that file.

Regards,

Posted: Mon Apr 26, 2004 9:39 am
by Edwin Knoppert
What a great tool!

I really hope this code/tool will be part of the pb ide.
So tools (like PBDev) can make use of by default.

But... i was not able to use your current examples.
1) it seems to build the lib fine, showing a progress window.
2) The test seems to mis some exported function
_PB_Gadget_CheckReallocate@4
The MDI example does not compile on CreateTB() (etc..)
3) I enabled reload the ide with test, no progress window is shown, the mouse seems busy though.
Nothing happens.

I'm sure these are all minor glitches, i'm looking forward to a proper working tool.
A good addon for pb.

pb maybe should let us load libraries from a different location.
Maybe using a metastatment?

Posted: Mon Apr 26, 2004 10:04 am
by El_Choni
The download available from PureArea is for PB 3.80. Once installed, you have to update it from TBManager ('Check updates') to make it work with PB 3.90.

Anyway, since no more bugs have been reported for some days in the last beta, I'll send it to Andre as 'Preview Release' so it's directly downloadable from PureArea.

Thanks for the feedback, and regards,

Posted: Mon Apr 26, 2004 11:21 am
by Edwin Knoppert
Thanks, will update the way you suggested but only once.
I don't like updates this way but i'll give it a chance :)

Posted: Mon Apr 26, 2004 11:23 am
by Edwin Knoppert
I just did, still the same errors.
(14files afaik updated)

Posted: Mon Apr 26, 2004 11:24 am
by Edwin Knoppert
TBManager 1.1 beta 0.6

Posted: Mon Apr 26, 2004 12:05 pm
by El_Choni
2) The test seems to mis some exported function
_PB_Gadget_CheckReallocate@4
This is impossible with the last builds, that function is not imported by the helper libs anymore.
The MDI example does not compile on CreateTB() (etc..)
First, 'TailBite' the MyMDI.pb file. Then, restart the compiler and run teh MyMDItest.pb file.
3) I enabled reload the ide with test, no progress window is shown, the mouse seems busy though.
Nothing happens.
This option was removed a couple of builds ago. You must restart the compiler manually (in the IDE -->Compiler-->Restart Compiler).

I have sent the Preview Version to Andre, I hope it's available soon and fixes any possible problem you have. Otherwise, tell me and I'll try to find out what's happening.

Regards,

Posted: Mon Apr 26, 2004 4:59 pm
by Edwin Knoppert
Finally!

Got it running, at the mean time i demolished my pb installation but was quickly solved :)
(Did it myself, no worries)

So i now have a brand new install, installed from your purearea site.
it finally does it, but note that the mdi can not compile unless i remove
If uMsg=#WM_SIZE:UpdateStatusBar(0):EndIf
and tbcreate (or so)
These seem not to be recognized..
I don't care, i can now create libs the easy way (i guess)

Posted: Mon Apr 26, 2004 5:01 pm
by blueznl
updatestatusbar... isn't that one out the window in the latest incarnation of purebasic?

Posted: Mon Apr 26, 2004 5:06 pm
by El_Choni
TailBite 1.1 doesn't include the MDI sample, since it was useless after MDIGadget() was included with PureBasic. So you're using the sample from a previous TailBite installation. However, it should work making those few changes.

I'll include some more samples in next updates.

Regards,

Posted: Mon Apr 26, 2004 7:19 pm
by Edwin Knoppert
Yes, more examples would be very nice.

I'm also very pleased you wrote an example for a control ! :)
This way i can make my own gadgets.
This tool or similar should become part of the pb ide imo (as it is but integated might be better, since the lib dir might get reloaded on demand by the ide).
Very good.

Can we expect limitations though?

You where right about the MDI example, at home i saw it was missing.

Posted: Mon Apr 26, 2004 10:55 pm
by Shannara
Edwin Knoppert wrote: Can we expect limitations though?
The only limitation, if you call it that, is that this is only for windows. However, if creating PB libraries in windows is the same as linux...? :D