G_MD3Objectmade.b : g_Soundmade.b : g_Musicmade.b : g_LODTerrainmade.b : g_Q2BSPmade.b G_Vectorsmade.b : g_XObjectmade.b : g_3DSObjectmade.b : g_MDLObjectmade.b : g_MD2Objectmade.b G_Matrix3Dmade.b : g_Light3Dmade.b : g_World3Dmade.b : g_Particlesmade.b : g_PrimObjectmade.b G_Bitmapmade.b : g_Animationmade.b : g_Multiplayermade.b : g_Basic3Dmade.b : g_Camera3Dmade.b G_Inputmade.b : g_Systemmade.b : g_Filemade.b : g_FTPmade.b : g_Memblocksmade.b G_GFXmade.b : g_Textmade.b : g_Basic2Dmade.b : g_Spritesmade.b : g_Imagemade.b G_igLoader.l : g_GameFX.l : g_Spare03.l : g_Spare04.l : g_Spare05.l G_MD3Object.l : g_Sound.l : g_Music.l : g_LODTerrain.l : g_Q2BSP.l G_Vectors.l : g_XObject.l : g_3DSObject.l : g_MDLObject.l : g_MD2Object.l
G_Matrix3D.l : g_Light3D.l : g_World3D.l : g_Particles.l : g_PrimObject.l G_Bitmap.l : g_Animation.l : g_Multiplayer.l : g_Basic3D.l : g_Camera3D.l G_Input.l : g_System.l : g_File.l : g_FTP.l : g_Memblocks.l G_GFX.l : g_Text.l : g_Basic2D.l : g_Sprites.l : g_Image.l LEEMOD - 150803 - Replace 'SpareFunction5' with 'g_pErrorHandler' LEEMOD - 130604 - Access To ALL VARIABLES MEMORY SpareFunction1.l : SpareFunction2.l : SpareFunction3.l UpdateFilenameFromVirtualTable.l : Decrypt.l : Encrypt.l
#PUREBASIC IMAGE MEMORY ALLOCATION PROFESSIONAL#
Global DarkBasic Professional internal structure.ĬreateDeleteString.l : ProcessMessageFunction.l : PrintStringFunction.l Valuea.l : valueb.l : valuec.l : valued.lįvaluea.f : fvalueb.f : fvaluec.f : fvalued.f What is wrong with the attached? (if anything) (I've changed IsFunction to GetFunction which I believe is the new Purebasic equivalent.) Do you need to create separate procedures for things like CreateDeleteString or is it enough that they are simply within the GlobStruct?Ħ.
#PUREBASIC IMAGE MEMORY ALLOCATION CODE#
Could you give me the latest and greatest version of all the globstruct code incl the constructor and destructor etc?ĥ. Is that correct? Should you omit the '\'? would you be declaring the temp variable and the result variable outside the Procedures as global?Ĥ.
Or with (note the ommission of the '\'):-ĬallCFunctionFast( *GlobPtrCreateDeleteString, OldString, 0 )ĬallCFunctionFast(*GlobPtr\CreateDeleteString,, Len( result ) + 1 )
Assuming say the ProcedureCDLL.l starts with "ProcedureCDLL.l UsefulFunction(OldString.l,Parameter1.l,Parameter2.l)", is it correct to follow with:-ĬallCFunctionFast( *GlobPtr\CreateDeleteString, OldString, 0 ) Does the ProcedureReturn variable have to have been declared as a global variable outside the Procedure to start with? What about the temporary or temp.l withinĢ. so apologies in advance for these questions - it may be it would be simplest if you could just post the right way to do it all in one set of purebasic code.ġ. I just want to check and double check the form of the ProcedureCDLL.l that is returning a string. When I am creating a DBPro plugin command in PureBASIC with a ProcedureCDLL.l, I know most of the stuff around this. Have re-read a number of often contradictory and confusing threads on this topic. Hi IanM, (and / or anyone else who can help clarify)