NetTalk Central

Author Topic: SecwinWebLoginForm generated variable clash  (Read 2788 times)

Sibuya

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
    • Email
SecwinWebLoginForm generated variable clash
« on: March 07, 2016, 06:58:21 AM »
Hi,

In SecwinWebLognForm generated procedure it was created with:

loc:user as string(100)
loc:user as long

After compilation it says that is using second variable the long one

Best regards,

Marcos

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11191
    • View Profile
Re: SecwinWebLoginForm generated variable clash
« Reply #1 on: March 08, 2016, 09:54:53 PM »
Hi Marcos,

can you post an example app please?

cheers
Bruce

Sibuya

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
    • Email
Re: SecwinWebLoginForm generated variable clash
« Reply #2 on: March 10, 2016, 01:48:26 PM »
Hi Bruce,

I'd picked Web56 example (menus) and followed Secwin 6.36 documentation "JumpStart: Adding Runtime Access control to a NetTalk Webserver application" Phase 1 until step 4 generating Access Controls and stopped.

If you open SecwinWebLoginForm procedure embed source you could check that the second variable declared here is "loc:user" as string(100). On line 103 you should find "Loc:user" as long.

When compilling at this point it warns that we have a "label duplicated: second used LOC:USER" on line 111.

Thank you Bruce.

Best regards.

Marcos

P.S.: I'm using Clarion 8ee 9661.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11191
    • View Profile
Re: SecwinWebLoginForm generated variable clash
« Reply #3 on: March 15, 2016, 03:53:23 AM »
cool, post your altered web56 app & dict here please.

Sibuya

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
    • Email
Re: SecwinWebLoginForm generated variable clash
« Reply #4 on: March 18, 2016, 01:38:58 PM »
Hi Bruce,

Files attached.

Thank you very much.

Best regards,

Marcos

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11191
    • View Profile
Re: SecwinWebLoginForm generated variable clash
« Reply #5 on: April 18, 2016, 11:40:05 PM »
thanks
fixed in 9.07