NetTalk Central

Author Topic: Secwin implementation not going as expected  (Read 3158 times)

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Secwin implementation not going as expected
« on: January 31, 2012, 03:14:06 PM »
Hi,

I have installed Secwin6 in my app.
When I compile I get all sorts of errors.
I looks like there is no netwebserverworker in that part of the app.
Objects and methods are not recognized etc etc.
See attached png

HELP!
Rene

[attachment deleted by admin]
Rene Simons
NT14.14

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Secwin implementation not going as expected
« Reply #1 on: January 31, 2012, 11:10:42 PM »
I need to see your app to comment on what you did wrong. (or what I did wrong.)

cheers
Bruce

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Secwin implementation not going as expected
« Reply #2 on: February 01, 2012, 09:30:50 PM »
Hi Rene,

thanks for the app.
first problem is that you're using DOS style procedure prototyping.
Take setSetting procedure for example.

you have
Prototype: (string,string)
Parameters: (pEntry,pValue)

This is basically wrong. What you should have is
(String pEntry,String pValue)

in both places.

GetSetting is the other affected procedure. Except that in GetSetting the parameter is P1, and the code thinks it's called pEntry.

cheers
Bruce


Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: Secwin implementation not going as expected
« Reply #3 on: February 02, 2012, 03:23:47 AM »
Thanks,

Got that and fixed it.
Dit you get the same problem with the secwin procedures as I have?

Rene
Rene Simons
NT14.14

bruce2

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • Email
Re: Secwin implementation not going as expected
« Reply #4 on: February 02, 2012, 11:57:32 AM »
No, after fixing those two it compiled fine.

Cheers
Bruce