NetTalk Central

Author Topic: Need to delete CLW and OBJ and recompile for changes to take effect  (Read 2830 times)

Richard I

  • Sr. Member
  • ****
  • Posts: 398
    • View Profile
    • Email
Hello
Why do I need to delete the clw and the obj for some changes to take effect?

for example in a browse I had two columns which were Edit in Place
Although I deleted the checkbox tick for edit in place and recompiled, the fields were still EIP active,
and the changes did not take effect until the deletion of the CLW and OBJ and a  recompile.
I have the same issue when changing column  header names, and button renaming

Thanks
Richard
C 11.1.13855EE
NT 14.20


Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11247
    • View Profile
Re: Need to delete CLW and OBJ and recompile for changes to take effect
« Reply #1 on: April 15, 2024, 11:17:03 PM »
I don't see this effect myself, but it's probably important to know which it is.
CLW or OBJ.

Cheers
Bruce

Richard I

  • Sr. Member
  • ****
  • Posts: 398
    • View Profile
    • Email
Re: Need to delete CLW and OBJ and recompile for changes to take effect
« Reply #2 on: April 16, 2024, 12:54:07 AM »
Bruce,
I thought one supported the other so I have always deleted both.....
I will force a change and see which one deleted allows the change
« Last Edit: April 16, 2024, 12:56:06 AM by Richard I »

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11247
    • View Profile
Re: Need to delete CLW and OBJ and recompile for changes to take effect
« Reply #3 on: April 17, 2024, 01:23:54 AM »
The generator creates the CLW file.
If the generator fails to update the CLW file, then you'd see this issue.

The compiler compiles the CLW file into an OBJ.
If the compiler fails to compile the CLW then you'd see this issue.

The linker links the OBJ's into a DLL or EXE. If the linker fails to find the new OBJ, and uses an old one instead, then you'll see this issue.

Also - The Build Menu in the IDE has a "Clean solution" option, which removes OBJ's to force the compiler to remake them.

Richard I

  • Sr. Member
  • ****
  • Posts: 398
    • View Profile
    • Email
Re: Need to delete CLW and OBJ and recompile for changes to take effect
« Reply #4 on: April 17, 2024, 08:38:41 PM »
Thanks for that useful Tip Bruce
Cheers
Richard