I am trying to test one plugin the Enhancements.
The plugin is installed correctly and I used the
GetModuleHandle_() function to see if my dll is loaded.
The code bellow indicates if you have some of your plugins installed in and recognized by your language (PureBasic).
Global dll_error.i
dll_error=GetModuleHandle_("Enhancements.dll")
dbText (5,15,Str(dll_error))
If the result
dll_error is not 0 then you will have one big number this number is the process number in memory address that the dll occupies.
The video clip explains it different , but I found some way to see if my dll is loaded.
The source code "h.Lib-EnhancementPack.pb" file as Mistrel told , contains all source functions in PureBasic syntax.
I created one small zip file and I put one image in.
I tried to load my zip file and the image from inside and I have
an error "File block is invalid or does not exist"
My file block exists and is not invalid. I have used this plugin with DarkBasic Pro and everything works perfectly.
Loading some image from one block.
Enh_OpenFileBlock("test.zip", 2)
Enh_LoadImageFromBlock(2, "Loading_Bar.bmp", 20)
dbpasteImage(20,0,0,0)
The followin code creates my file block manualy from code and the code creates the file block and adds the image in.
Enh_CreateFileBlock(1,"test.zip")
dbloadimage("Loading_Bar.bmp",0,1)
Enh_AddImageToBlock(1, 1, "Loading_Bar.bmp")
There is a problem , you can create the blocks , but you can't load them back.
I have and one file with the block and image created.