Stop!
Whoa! OK. I'm stopped. =)
m_oldregion=InstallClipRegion(m_pwindow->m_pWindow->WLayer,m_newregion);
If this is compiled in C++ mode, SAS/C will produce an "external reference" to a function called "@InstallClipRegion__FP5LayerP6Region". This is an ordinary C++ functions, which SAS/C has already created / has to create.
But if this is compiled in C mode, SAS/C will produce an "external reference" to a function called "_InstallClipRegion", which is either the synonym for the shared library's function offset or some sort of glue code, which makes this function offset available to the compiler.
Actually, you got me to thinking and I took another look at the Sas-C SCOPTIONS command that comes with the project. Under "Compiler Options" was a setting that said "NoCxxOnly" which can be changed to "CxxOnly". Changing it to that value causes the program to compile correctly. I guess I made the mistake of assuming that the Sas Build command was set to build C++, but looks like I assumed incorrectly. Not to mention the fact that, somehow, NoCxxOnly is supposed to mean "compile code using C." Not exactly obvious, to say the least.
Now I have to speak verbosely.
Boy, that really was verbose! =) But appreciated. Good facts to know while I dig through this ancient code. Thank you.
Besides, hopefully my English is not so bad that you do not understand what I mean. I have praised already once in a while to take an English course but earning money do foil my best plans...
Actually, your English is quite good. It's clear you're not a native speaker, but you speak well enough that I can understand you easily. For example, using the quote above, an English speaker might have said: "Besides, my English is, hopefully, not so bad that you can't understand my meaning." You're statement is close enough that I can understand you easily.
Your second statement's a little tougher to understand, but the meaning is still pretty clear. I, personally, might have said something like "I've thought about learning English, but my need to earn money keeps foiling my plans."
If you wants some tips on English, I'd be happy to help you there. It's the least I can do considering the help you're giving me here.
Well, I haven't taken a closer look. I just listed the object file structure of the static lib and searched for external references in the object files.
Since I don't own a copy of SAS/C I cannot run any own tests (static libs are bound to the compiler that created it, especially C++ static libs) - or are all source codes provided?
All source code for the AFrame objects are provided, in fact, they're provided repeatedly. There is, for example, an Object.cpp file that exists in every example directory in the package. I'm not sure why they chose to do it this way, over, let's say, putting it in a single directory and compiling everything to a single library file.
In addition, I tried some of the examples, but unfortunately, a lot of them crashed instantly. Next, there is no real layout method, nor font sensitivity as far as I saw. But then again, I have only spent five minutes or so investigating. No closing judgement possible...
Interesting. They ran fine for me until I started compiling them. Not sure what to tell you there.
Thanks for the help. It's definitely appreciated. Can I call on you for more help as I dig through this code?