Hello, Is it possible to add support for avi resource like this: ANIMATION AVI "c:\hot\myavi.avi" RCDATA is not compatible with sysanimate32 class Pierrot :)...
... Yes, in a new version upgrade soon (4.8n), you can write: $resource myavi as "c:\hot\myavi.avi" where the ".avi" extension will invoke use of the RT_AVI ...
How do I need to use hbOBJ inside a Method? For now I use "BYREF(hbOBJ + 4)" - as example - which works for user defined properties. But how to access...
Oct 3 Dow Jones Industrial Average and HotBasic 4.8n reach new all-time highs! $RESOURCE type "AVI" for .avi files now supported. STRING/MEMORY/LIST .Clear...
... You are right that hbObj (it's a case-sensitive HB variable) is a pointer that is always set on entry to a Custom Object procedure. And you can use...
... Greetings, Pierrot (the "Hercule Pierrot" of Windows coding!). Thanks for the confirmation; and your code snippet is a "cut-and-save" for all to see how to...
... The above covers access to the extended object for code within the Custom Object SUB/FUNCTION procedure. I might add that the suffix "Ex" is used...
... Impressive! You are so far into the stratosphere of abstraction -- we can hardly see earth. This code looks OK; and it may be ... Your procedure assumes,...
I've done it that way now and it works: SUB MEMORYEXCompress defstr TempCompressedData = STRING$(byref(hbHnd + 8) + 4, chr$(0)) 'make dest buffer BYREF(hbObj)...
... Not yet; but often, these are MS Windows structures that pertain to the native object, sometimes with additional bytes to support extra features "bundled"...
... Wonderful -- I mean, there is so much that could go wrong; or better, so much you have to have right ... and you do! ... Bravo! I thought about the .Clear...
Jim, this is the code I have so far. Now we can use Crypt/Pack functions as needed. But there are several issues; 1.) It's not possible to clear f before...
... efgee, I think the strange behavior you observe probably reflects the fact that you may well have corrupted a HB stream object. The above statement, in...
... Decompressing doesn't work, because the mem size doesn't increase (I suppose). ... So how can I change the buffer size if not with .Length? I need to...
... This should be verified; print the .ram after the call to bufinit. It should be greater than the value you asked for with bufinit. ... The question of...
... Oops, you need this, too! So write funccall bufinit, hbHnd, BYREF(hbObj + 4) 'now buffer is big enough and .length = 0 'Therefore, we must set the .length...
... Ram size is 19 bytes bigger than tmp-mem size. Have to look further what's happening. ... Sorry, maybe I missed some information, have to reread it. Thanks...
Hi, all! Progress report: I now have the THIS keyword working for main program code. Best way to explain it is the following code that compiles and runs! ...
... Yes, and it's primary use would be to prepare a buffer to supply to a procedure (an API, or your JCALG1 stuff). With defstr MyBuffer in place of MyBuffer...
... Hi, Jim. Is "this" just a $define/$undef , or is it actually a pointer to the dimensioned object? Instead of having to do "this = Box", would it be...
I don't really understand THIS, in all basic languages that I've developed in THIS only works within a class. How do we get THIS to work within a Sub/Function...
... Thanks, Air, for these inputs. First of all, readers here should not assume that I know all the answers in this topic area; and thus, sharing of info and...