Posted: Fri Feb 25, 2005 10:00 am
You can make a wrapper of Purebasic commands if they are for your use only.
http://www.purebasic.com
https://www.purebasic.fr/english/
Code: Select all
CopyMemory(@UserGUID, *AppDesc + OffsetOf(DPN_APPLICATION_DESC,guidApplication), SizeOf(GUID))
Code: Select all
Structure Test
X.l
Y.l
EndStructure
Address = OffsetOf(Test,Y)
Debug Address
No, the syntax changed =>Derlidio wrote:Compiler complains about a Syntaxe Error in the line of OffsetOf(). Was that function removed from the language core?
Ah..but what about the other use for .lib files?Fred wrote: Nothing change here, it allows you to use your dll in VC++ (or any other compilers) for your own projects easily.
Code: Select all
UserSortStructuredArray(ArrayName(), @SortProc() [, Start, End]))
UserSortStructuredList(ListName(), @SortProc() [, Start, End]))
Code: Select all
Procedure SortProc(*a.myStruct, *b.myStruct)
If *a\myElement > *b\myElement
result = 1
ElseIf *a\myElement < *b\myElement
result = -1
Else
result = 0
Endif
ProcedureReturn result
EndProcedure
Yes, now it is in the docAdded: KeyboardMode() (wasn't in the doc)
I'm sorry to bring up this thread again and being OT but I really had to smile whilefsw wrote: Somehow it's weird.
With other languages, C or Basic's, there is no such thing that userlibs (static libs) need to be recompiled, the only thing to watch for are cdecl or standard calls.
Code: Select all
Version 0.12b released
[chged] IMPORTANT: the format of the internal string descriptor was modified to speed up concatenation of large strings, so you MUST recompile all the old code, don't reuse object files compiled with older versions (below v0.12b) and rebuild DLL's created in FB if they return or process STRING's passed to/from client EXE's (v1c)
Exactlytraumatic wrote:I'm sorry to bring up this thread again and being OT but I really had to smile whilefsw wrote: Somehow it's weird.
With other languages, C or Basic's, there is no such thing that userlibs (static libs) need to be recompiled, the only thing to watch for are cdecl or standard calls.
reading this on the freebasic site:
Ok, I know what comes next: "Hey, it's still beta!"Code: Select all
Version 0.12b released [chged] IMPORTANT: the format of the internal string descriptor was modified to speed up concatenation of large strings, so you MUST recompile all the old code, don't reuse object files compiled with older versions (below v0.12b) and rebuild DLL's created in FB if they return or process STRING's passed to/from client EXE's (v1c)