Hi everyone, I'm in the process of learning assembly and I'm stuck when trying to call a purebasic procedure using CALL. I checked the ASM output generated by the compiler and I see all the function used are declared with the extrn keyword and prefixed with _PB_, but when I try to reproduce the same ...
Ok After studying the SimpleOOP generated code I managed to find a solution, you just need to pass the element whose method you are calling as the first parameter of CallFunctionFast! This really puts a hell of a power into the language!
Does anyone know how to get the address of a method in a SimpleOOP class?
I make heavy use of callback functions, using @ to pass around the address of the function I want to call later, but the same doesn't seem to work with SimpleOOP class methods. Any idea how to achieve the same thing with ...
Thank you for your replies guys! The problem is that I am creating this folder as a direct consequence of the user action on the file system (I'm enhancing the OS file system commands via additional contextual menus when browsing files and folders), so the name is going to be user friendly and as ...
Ok, this is the solution I came up with, except I chose to match the whole folder name. I was hoping for a OS command to let it create the folder for you, like you would do normally using the OS menus.
I have the need to create a new folder, no matter what name, just like you would normally do with the OS "new folder" menu entry.
Normally windows creates a new folder named "new folder", and if a folder with that name already exists, an increasing number is added in parentheses ...
First and foremost hello to everybody and congratulations to the authors of this fantastic software! I'm coding in PureBasic since one week and I must say I immediately fell in love with it! :D
I wrote a tool which processes the source code which is about to be compiled, and checks whether a ...