Code sharing between projects.

Posted by OctavioOlguin on 19-Jan-2018 15:40

Greetings...

I have this kind of interwinding in code.

Proj-1
    Procs
           procs1a
           procs2a
           procs3a
    Reps
           procs1a
           procs2a
Proj-2
     Procs
           procs1b
           procs2b

on Proj-1 I have a procedure that needs to

USIGN Procs.procs1b.Class-1 FROM PROPATH.   (Class-1 is in proj-2,  caller procedure on proj-2).

On project-1 I have on propath an extension to proj-2, so I've sharing procedures and windows for ages, thanks to propath.  (We are a monolitic company... no branches etc, so app needs not to be portable to other configurations)

But today I wanted to use a class that is on the other project.

but can't compile it, as the "FROM PROPATH" part of USING, seems to fail to find original class.

What is the use case for this?   What Am I missing?

Posted by OctavioOlguin on 20-Jan-2018 09:13

As the problem endured a machine restart, I removed the reference to project1 on propath of second project and reinserted it, and vôila... it worked again!

Posted by OctavioOlguin on 20-Jan-2018 09:00

Searching on this problem, I came to this... The problem seems to be at Developer Studio level, not compiler level.

As ctrl-click on the using statment, won't load the class into editor...

All Replies

Posted by OctavioOlguin on 20-Jan-2018 09:00

Searching on this problem, I came to this... The problem seems to be at Developer Studio level, not compiler level.

As ctrl-click on the using statment, won't load the class into editor...

Posted by OctavioOlguin on 20-Jan-2018 09:13

As the problem endured a machine restart, I removed the reference to project1 on propath of second project and reinserted it, and vôila... it worked again!

This thread is closed