I'm going through the knowledge base right now and I have a couple questions:
First, on calling C functions from assembly, it says:
If the function is defined as
word _cdecl foo(word a, word b)
the assembly code would be :
push b
push a
call foo ; es, di, si, bx, cx trashed, ax holds return value
add sp, 4 ; restore the stack from before the 2 pushes
If the function is declared as
dword _pascal foo(word a, word b)
the assembly code would be :
push a
push b
call FOO ; es, di, si, bx, cx trashed, dx.ax holds return value
; callee pops args off stack
Shouldn't the first one be "call _foo" ? Also, I don't remember where I saw
it, I think it was in Concepts, but it said to never directly modify the sp
register and to always push and pop. It said there were complications in a
multitasking environment.
Next... In the explaination of error messages...
VIS_TEXT_RANGE_END_BEFORE_START - the value for the end parameter is
smaller than the start parameter. For GEOS SDK 2.0, this is because
the C header file has the parameters listed backwards. To fix this,
simply swap the start and end parameters in the message call.
Which messages do I change?
Next... There are a lot of OpenLook things at the end of the death due to
error messages. Any way to get OpenLook? Also, while on the subject, I was
looking at \pcgeos\include\send and it mentioned a couple other SpecUI's and
a bunch of sample apps and said they were released but aren't on the SDK.
Why are so many files not available?
Next... faxes... saw this:
2) What happens when memory gets low during fax receive?
If we run out when we are about to answer the phone, we don't answer
on the desktop.
So there are fax recieve abilities for the desktop. Why aren't they available?
Final couple questions... there was something about getting the undocumented
UI's. It mentioned scanners. How are scanners implemented into the system?
Fax gets added to the PrintControlGroup. Is it something like that. And the
last question... I checked Preferences/Printer/New, and noticed it had a
Camera choice. How do you print to a camera? Wouldn't a camera be for
incoming data?
------------------------------------------------------------------------
| I've always been afraid to die, but I think I'm more afraid to live. |
| -Billy Corgan, Smashing Pumpkins, The Aeroplane Flys High |
------------------------------------------------------------------------
| Edward Di Geronimo Jr. edwdig@bergen.org |
------------------------------------------------------------------------