Author Topic: Trouble with static RFC calls  (Read 1872 times)

Sharmandra

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
Trouble with static RFC calls
« on: November 24, 2014, 12:45:06 PM »
Does TNet not support using the [RFC] tag with static functions?

For example, if I am calling TnetObject.Send("functionname", args), and the [RFC] tag is prepended to a non-static method, everything works fine, but once the static keyword is added it says it cannot find an RFC function called functionname.

Is there something on my end I'm screwing up?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Trouble with static RFC calls
« Reply #1 on: November 25, 2014, 02:16:00 AM »
No. RFCs go to specific objects identified by their TNObject ID. Static functions don't belong to objects, so they have no TNObject IDs to work with.