Code PBLibs in PB
I think the majority of conflicts would be quickly resolved on these boards, as soon as somebody released a library.
But if needed, one way could be to use the library file name as the prefix for functions, as there cannot be two files of same name in the same folder.
The prefix idea, whatever is used (author, file, complete sentences
etc) is also a clue that there is a library dependency when code snippets are released.
But if needed, one way could be to use the library file name as the prefix for functions, as there cannot be two files of same name in the same folder.
The prefix idea, whatever is used (author, file, complete sentences

after installing Tailbite, (and after rebooting) there's no tailbite
in tools menu, how do i set it up manually using Tools/Config Tools...?
Pb is installed in: C:\Program Files\PureBasic
and i have: C:\Program Files\PureBasic\TailBite
[edit] re-installed Tailbite several times, still no Tailbite in Tools Menu [/edit]
using WindowsXP
in tools menu, how do i set it up manually using Tools/Config Tools...?

Pb is installed in: C:\Program Files\PureBasic
and i have: C:\Program Files\PureBasic\TailBite
[edit] re-installed Tailbite several times, still no Tailbite in Tools Menu [/edit]
using WindowsXP
my Tools.prefs.
just had a strange thing happen on boot up, had a requester pop up:
thanks El Choni for your hard work.
Code: Select all
; PureBasic IDE ToolsMenu Configuration
;
[ToolsInfo]
ToolCount = 0
don't know if this related to my menu problem, but just in case.the file "C:\Program" may conflict with some programs,
rename to "C:Program1" ?
thanks El Choni for your hard work.

I think there is a bug when calling COM objects, seems like the method params don't accept expressions like casting into structures or variables accesed through a pointer, in the render method of the IPicture:
ppic\render(*myst\var,.........) ;PB crashes
var = *myst\var
ppic\render(var,.........) ;works
-----------------------------------
ppic\render(........., @rc.RECT) ;PB crashes
rc.RECT
ppic\render(.........., @rc) ;works
it's strange because TB compiles the lib without erros but PB crashes when running the code. it's in a large lib, i'll try to make a small test, i don't think is specific to the IPicture object.
ppic\render(*myst\var,.........) ;PB crashes
var = *myst\var
ppic\render(var,.........) ;works
-----------------------------------
ppic\render(........., @rc.RECT) ;PB crashes
rc.RECT
ppic\render(.........., @rc) ;works
it's strange because TB compiles the lib without erros but PB crashes when running the code. it's in a large lib, i'll try to make a small test, i don't think is specific to the IPicture object.
Hi El_Choni,
i don't know if this prob has already been reported.
Code :
If you create the lib, you will have a FASM error. A jmp to an undefined symbol.
After taking a look to the asm code, the problem comes with the End pb instruction.
The label to go to the end of tha app is Ok in the shared asm file, and in my try :
Public Examples_withe_End__PB_EOP_NoValue
But inside the asm file for the function, there is no extrn Examples_withe_End__PB_EOP_NoValue declaration
But i think that the label must only be _PB_EOP_NoValue because the real end of code will be in the main PureBasic code.
Have a nice week-end
and many tks for TB
i don't know if this prob has already been reported.
Code :
Code: Select all
ProcedureDLL Try_With_End(Val.l)
If Val > 10
End
EndIf
EndProcedure
After taking a look to the asm code, the problem comes with the End pb instruction.
The label to go to the end of tha app is Ok in the shared asm file, and in my try :
Public Examples_withe_End__PB_EOP_NoValue
But inside the asm file for the function, there is no extrn Examples_withe_End__PB_EOP_NoValue declaration
But i think that the label must only be _PB_EOP_NoValue because the real end of code will be in the main PureBasic code.
Have a nice week-end

A+
Denis
Denis