GadToolsGadgets
6 messages in this thread
I've been trying for four days now to get CreateGadget to work in my
application. I've tried everything I can think of but CreateGadget will not
create more than one _KIND of gadget, that is, it will create any number of
gadgets of the same _KIND but fails if the next ng. is a different _KIND say
BUTTON_KIND & then STRING_KIND. The code works in a stand alone fashion like
the files in the RKM_LIBS examples but when brought into or linked into my prog
it fails. Any ideas?
Steven,
Let's see some of your code.
-sja
Sory I didn't get back sooner, but I found what was wrong. I was declaring
TextAttr as extern (since it was used first in another objet file) and that
doesn't work for some reason. Once the TextAttr was declared in the same obj
file as the gadget 's it all worked ok. On another topic… I'm writing a
scheduler for work, where scheduling is very complex. Once done I'll have to
bite the bullet and convert it to IBM because that's what they have in the mill
and the boss wants to use it in three places. Is there an easy way to convert
Intuition style windows/gadgets etc to that other system?
An easy way? No.
Does SAS have an IBM compiler?
I believe so — but that has nothing to do with gadgets.