NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Rene Simons on January 31, 2012, 03:14:06 PM

Title: Secwin implementation not going as expected
Post by: Rene Simons 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]
Title: Re: Secwin implementation not going as expected
Post by: Bruce 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
Title: Re: Secwin implementation not going as expected
Post by: Bruce 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

Title: Re: Secwin implementation not going as expected
Post by: Rene Simons 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
Title: Re: Secwin implementation not going as expected
Post by: bruce2 on February 02, 2012, 11:57:32 AM
No, after fixing those two it compiled fine.

Cheers
Bruce