How to create a userlib.
I personaly use PureBasic to create windows dll's.
a sample PB dll function
I personaly use PureBasic to create windows dll's.
a sample PB dll function
Global Return.l ProcedureDll.l Test(Title.s,Message.s) Return.l = MessageRequester(Title.s,Message.s) ProcedureRetrun(Return.l) EndProcedureThen I compile the Dll and put it into the Blitz Userlibs Dir. I create a <anyfilename>.decls file. Edit it with notepad and put the following innit.
.lib "dllname.dll" Test%(Title$,Message$)I Save the decls file and restart Blitz. Not create a new bb file in blitz and type
X = Test("Hello","World") Print X WaitKey End