Search found 10 matches

by H.Brill
Sat Jul 25, 2015 8:38 am
Forum: Coding Questions
Topic: I can not return a string of a external DLL
Replies: 5
Views: 3957

Re: I can not return a string of a external DLL

years ago i had the same Problem with PowerBasic.
this declaration can help :
Dim Str1 AS ASCIIZ * 255

the string handling methods of some programming languages
are different, per example : the len of bytes at first

Or :

If you make your DLL with PowerBasic or others, take a
Memory pointer for ...
by H.Brill
Tue Nov 05, 2013 5:29 pm
Forum: Announcement
Topic: PureBasic 5.21 LTS is out
Replies: 90
Views: 50976

Re: PureBasic 5.21 LTS beta 1 is out

Thank you Fred,
and the installation on Vista 64 works now.
by H.Brill
Sat Sep 15, 2012 8:15 am
Forum: Coding Questions
Topic: Editable Grid
Replies: 9
Views: 4737

Re: Editable Grid

for 32 bit i use the listview.dll.
freeware :
http://frabbing.net/dlls.php

only a german documentation is avaiable, but it is simply to use.

include listviewP.pbi (prototypes) :

; Funktionen für Listview.dll
; als Prototype deklariert

#Library = 0
Global lview.l, value.l, text.s

lview ...
by H.Brill
Thu Mar 18, 2010 5:03 pm
Forum: Feature Requests and Wishlists
Topic: Windows CE 6
Replies: 3
Views: 1610

Re: Windows CE 6

see here for a low cost language :


http://www.basic4ppc.com/
by H.Brill
Wed Aug 12, 2009 5:17 pm
Forum: Coding Questions
Topic: GRIDS
Replies: 2
Views: 1100

i work with a freeware lib
(Listview.dll)

http://frabbing.bplaced.net/

include file :


; Funktionen für Listview.dll
; als Prototype deklariert

#Library = 0

lview.l = OpenLibrary(#Library, "Listview.dll")

Prototype pCreateListview(f.l, i.l, t.l, h.l, g.l, s.l)
Prototype pIColumn(h.l, t.l, b ...
by H.Brill
Tue Sep 23, 2008 5:53 pm
Forum: Coding Questions
Topic: DLL import from PowerBasic
Replies: 3
Views: 1586

Hello,
i have made a test.
this works :



' Power Basic code :
#COMPILE DLL
FUNCTION MyFunc ALIAS "MyFunc"(sArg AS ASCIIZ) EXPORT AS STRING
MyFunc = "Hello " + sArg
END FUNCTION


; PureBasic code :

If OpenLibrary(0, "J:\Test.dll")
param1.s = "World"
String.s = Space(255)
String = PeekS ...
by H.Brill
Mon Oct 23, 2006 5:17 pm
Forum: Off Topic
Topic: DLL 2 lib
Replies: 7
Views: 1715

DLL2LIB

NEdit at pureArea.net is such a lib (converted
from a freeware dll).
i think, in most cases it will work. with another dll
i have got errors and the .lib is many bigger as the
dll. (dll = 85 KB, the generated lib = ~300 - 400KB).

a better way is to bind the dll with the UdRes - lib and load
it with ...
by H.Brill
Sat Apr 22, 2006 7:35 pm
Forum: Coding Questions
Topic: Deleting listicon items
Replies: 6
Views: 1354

oh sorry, i have not seen it.
in this case, i think, you must
delete the items manual.
by H.Brill
Sat Apr 22, 2006 3:48 pm
Forum: Coding Questions
Topic: Deleting listicon items
Replies: 6
Views: 1354

you can use API - Functions .

SendMessage_(GadgetID(MyGadget), 4105, 0, 0)


; code for version 4.0 BETA

#MyWindow = 0
MyGadget.l
If OpenWindow(#MyWindow,100,100,300,500,"ListIcon Beispiel", #PB_Window_SystemMenu|#PB_Window_ScreenCentered)
If CreateGadgetList(WindowID(#MyWindow))
ButtonGadget ...