NetTalk Central

Author Topic: No matching prototype  (Read 2400 times)

johanco123

  • Full Member
  • ***
  • Posts: 245
    • View Profile
    • Email
No matching prototype
« on: May 13, 2013, 06:38:05 AM »
Hi Bruce,

How do a pass p_web on a thread eg START(BrowsePolicy, 25000)

Regards
Johan

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11251
    • View Profile
Re: No matching prototype
« Reply #1 on: May 13, 2013, 11:43:53 PM »
Hi Johan,

p_web is an object, on the current thread.

new threads can take strings as parameters, not objects.

even if they could take objects, the object will go out of scope when this thread ends, even if the other thread is running.

so the question to you is - why do you want to pass p_web? What are you actually trying to do?

cheers
Bruce