NetTalk Central

Author Topic: Procedure doesn't belong to Module ?  (Read 4115 times)

MikeR

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
    • Email
Procedure doesn't belong to Module ?
« on: December 17, 2012, 11:03:19 PM »
What does that mean - Compile error at the bottom ?


[attachment deleted by admin]

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Procedure doesn't belong to Module ?
« Reply #1 on: December 17, 2012, 11:12:47 PM »
It means the compiler found a procedure (UpdateReseller etc) in the eCost005.clw module, and it wasn't expecting it to be there (because it's not in the map.)

possible reasons;
a) your IDE has changed from long file names to short file names, or vice versa, and now there are extra modules in the Solution (which should not be there). Check the _solution_ (not the _app_) and remove any modules that should not be there.

b) the eCost005.Inc file did not generate right. Delete the INC and CLW's for this eCost005 and get the app to generate again.

c) the eCost005 module is _not_ a regular Clarion generated ABC module. Check the _module_ settings for this module and make sure it hasn't changed to a different module type (like Object Writer.)

cheers
Bruce

MikeR

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
    • Email
Re: Procedure doesn't belong to Module ?
« Reply #2 on: December 17, 2012, 11:47:02 PM »
thx Bruce, I don't know how to look at the sln not the app, but I delected all the clw and inc files and recompiled.
I now got this error.
if I look in the cwproj file it referes to ecos005.clw , but if I delete it it regenerates and is there again.
I tried re-generating , im not shure what to try next ?
i understand this is not a nettalk problem, but ......
This is what I get now ??

[attachment deleted by admin]

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Procedure doesn't belong to Module ?
« Reply #3 on: December 18, 2012, 01:10:25 AM »
>> I don't know how to look at the sln not the app,

the pad on the left - in the pic it's on the "Classes" tab. 2 tabs to the left is the "Solution" tab. Check and remove any excess modules there.

cheers
Bruce