CompuServe Thread

GadToolsGadgets

6 messages in this thread
#42196From: Steven ParkAug 12, 1994 9:15 PM
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?
#42237From: Steve AhlstromAug 16, 1994 1:17 AM
Steven, Let's see some of your code. -sja
#42329From: Steven ParkAug 21, 1994 12:16 PM
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?
#42330From: Steve AhlstromAug 21, 1994 12:17 PM
An easy way? No.
#42342From: Steven ParkAug 22, 1994 9:12 AM
Does SAS have an IBM compiler?
#42343From: Steve AhlstromAug 22, 1994 9:21 AM
I believe so — but that has nothing to do with gadgets.