Welcome, Guest. Please login or register.

Author Topic: StormC 3.0 linker error  (Read 3311 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Steady

Re: StormC 3.0 linker error
« on: November 13, 2003, 10:27:46 AM »
Hi jahc,

   DoMethodA is defined in amiga.lib, but it is included for linking as you say. Perhaps you are having trouble in the order things are being linked. Can you provide a list of all linked objects in the order they will be linked?

Also, what is _LibDoGadgetMethod? Is that a function in your program?
 

Offline Steady

Re: StormC 3.0 linker error
« Reply #1 on: November 13, 2003, 10:34:02 AM »
I just had a thought. The reason LibDoGadgetMethod() doesn't ring a bell is because it is called simply DoGadgetMethod(). Try that.
 

Offline Steady

Re: StormC 3.0 linker error
« Reply #2 on: November 13, 2003, 01:53:06 PM »
LibDoGadgetMethod() in reaction.lib just calls intuition.library/DoGadgetMethod() in reality on systems greater than v39. Since you are programming for Reaction, you should have no problem using the intuition.library version.

If it keeps giving you problems, you may as well save yourself the hassle and use DoGadgetMethod().

I used DoGadgetMethod() in my own Reaction programs with no problems.
 

Offline Steady

Re: StormC 3.0 linker error
« Reply #3 on: November 16, 2003, 03:45:37 PM »
Hi jahc,

   There doesn't seem to be a lot of information on the LBN_SORT method at all.

However, it seems that you are supplying the pointer to the gadget for the lbs_GInfo field when it needs to be a GadgetInfo structure.

Either that, or you are supplying the GadgetInfo structure as the first argument to DoGadgetMethod() when you actually need to supply a pointer to the ListBrowser gadget object. The wrong information being supplied to one (or both) of these parameters is likely to be causing you some trouble.

I couldn't find the info to confirm it, but I reckon you are most likely right in passing 0 as the lbs_Column argument.