I have an application that I am updating. When I build it to an exe,
errors when it tries to define classes. ie cannot find them. All class
libraries are included in the project. If I move my classes directory
into the application directory all is fine.
Any ideas what I might have done to change things?
Mike
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/4D6A4AAA.3050708@golden.net
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Author: MB Software Solutions, LLC
Posted: 2011-02-27 08:09:32 Link
On 2/27/2011 7:59 AM, Michael Savage wrote:
> I have an application that I am updating. When I build it to an exe,
> errors when it tries to define classes. ie cannot find them. All class
> libraries are included in the project. If I move my classes directory
> into the application directory all is fine.
>
> Any ideas what I might have done to change things?
> Mike
You're sure those classes are in the project but not marked as EXCLUDED?
--
Mike Babcock, MCP
MB Software Solutions, LLC
President, Chief Software Architect
http://mbsoftwaresolutions.com
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/4D6A4D0C.5040808@mbsoftwaresolutions.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
not subclasses from non existent (now) classes?
Al
-----Original Message-----
From: Michael Savage
Sent: Sunday, February 27, 2011 1:59 PM
To: profoxtech@leafe.com
Subject: Trouble with exe after build
I have an application that I am updating. When I build it to an exe,
errors when it tries to define classes. ie cannot find them. All class
libraries are included in the project. If I move my classes directory
into the application directory all is fine.
Any ideas what I might have done to change things?
Mike
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/C0B85D43CFA84D238EA979B5B7DF9113@GSL.local
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
To those who have replied... Thank you, but I've checked both options:
missing files due subclassing etc.
One further point. It seem to happen after a particular build. After
that, nothing I've been able to do will let it work.
Any more ideas?
Thanks,
Mike
On 27/02/2011 7:59 AM, Michael Savage wrote:
> I have an application that I am updating. When I build it to an exe,
> errors when it tries to define classes. ie cannot find them. All class
> libraries are included in the project. If I move my classes directory
> into the application directory all is fine.
>
> Any ideas what I might have done to change things?
> Mike
>
>
>
>
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/4D6B98DE.4000909@golden.net
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Michael Savage wrote on 2011-02-28:
> To those who have replied... Thank you, but I've checked both options:
> missing files due subclassing etc.
>
> One further point. It seem to happen after a particular build. After
> that, nothing I've been able to do will let it work.
>
> Any more ideas?
>
> Thanks,
> Mike
>
Michael,
Do you have class names in different libraries that are the same?
Tracy Pearson
PowerChurch Software
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/000901cbd755$3e666100$bb332300$@com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Maybe delete the PJX/PJT and recreate them from scratch. Or consider
shipping the VCX/VCT files with the EXE but with the source code
stripped out.
--
Alan Bourke
alanpbourke (at) fastmail (dot) fm
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/1298908534.16468.1424611609@webmail.messagingengine.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
> Michael Savage wrote on 2011-02-28:
>> To those who have replied... Thank you, but I've checked both options:
>> missing files due subclassing etc.
>>
>> One further point. It seem to happen after a particular build. After
>> that, nothing I've been able to do will let it work.
>>
>> Any more ideas?
>>
>> Thanks,
>> Mike
Mike:
Some questions and guesses:
Just how does it "not work"? You said it can't find the classes -
how about taking the one it "can't find" and tracing it in detail,
meaning the instantiation, the class library (or code file), the parent
classes, etc. etc.
I like the idea of removing the PJX and building it over. Seems
like there's some file that isn't where the PJX expects to find it. Or
there is a file there but it's not the right one. The PJX looks in the
project local dir by default, others you have to locate. Once located,
I don't think it looks in the local dir again.
Was there a .ERR file from the build?
Is there just one class it can't find, or are there several?
Dan Covill
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/4D6BD6DA.7010800@san.rr.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Sorry about the lack of detail... I've been doing some testing and this
is confusing me...
I know that the class library must be being found for the following reason:
In a total different menu option, I call another class from the main
class library. It works...
I have access to the command prompt in my application, thanks to a small
program that I picked up, and inside that window, I type the line that
creates the class I expect to see. It creates the object no complaints.
(ie doesn't say it cannot find class main.vcx) This is inside the
application.
Could a corruption of a menu file cause this problem. This is where I
notice the missing classes. (There is a second class library that it
also complains about, ocals.vcx - which holds all of my date/calendar
controls.) Again, it too works being defined in my applications command
window.
I'm sort of at a loss, why this problem has crept up as this was working
perfectly till late last week.
Mike
On 28/02/2011 12:09 PM, Dan Covill wrote:
>> Michael Savage wrote on 2011-02-28:
>>> To those who have replied... Thank you, but I've checked both options:
>>> missing files due subclassing etc.
>>>
>>> One further point. It seem to happen after a particular build. After
>>> that, nothing I've been able to do will let it work.
>>>
>>> Any more ideas?
>>>
>>> Thanks,
>>> Mike
> Mike:
> Some questions and guesses:
> Just how does it "not work"? You said it can't find the classes -
> how about taking the one it "can't find" and tracing it in detail,
> meaning the instantiation, the class library (or code file), the parent
> classes, etc. etc.
> I like the idea of removing the PJX and building it over. Seems
> like there's some file that isn't where the PJX expects to find it. Or
> there is a file there but it's not the right one. The PJX looks in the
> project local dir by default, others you have to locate. Once located,
> I don't think it looks in the local dir again.
> Was there a .ERR file from the build?
> Is there just one class it can't find, or are there several?
>
> Dan Covill
>
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/4D6BDEA8.7080105@golden.net
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Michael,
I also wound find it strange that it could be caused by a problem in a
Menu file. But, I guess it worth taking a stab at seeing if that might
be the problem. Maybe try opening the Menu file as a DBF - Delete that
particular Menu item - Pack the Menu file - then re-open the menu using
the regular way - and Add that Item back in - and see what happens...
-K-
-----Original Message-----
From: profoxtech-bounces@leafe.com [mailto:profoxtech-bounces@leafe.com]
On Behalf Of Michael Savage
Sent: Monday, February 28, 2011 12:43 PM
Sorry about the lack of detail... I've been doing some testing and this
is confusing me...
I know that the class library must be being found for the following
reason:
In a total different menu option, I call another class from the main
class library. It works...
I have access to the command prompt in my application, thanks to a small
program that I picked up, and inside that window, I type the line that
creates the class I expect to see. It creates the object no complaints.
(ie doesn't say it cannot find class main.vcx) This is inside the
application.
Could a corruption of a menu file cause this problem. This is where I
notice the missing classes. (There is a second class library that it
also complains about, ocals.vcx - which holds all of my date/calendar
controls.) Again, it too works being defined in my applications command
window.
I'm sort of at a loss, why this problem has crept up as this was working
perfectly till late last week.
Mike
On 28/02/2011 12:09 PM, Dan Covill wrote:
>> Michael Savage wrote on 2011-02-28:
>>> To those who have replied... Thank you, but I've checked both
options:
>>> missing files due subclassing etc.
>>>
>>> One further point. It seem to happen after a particular build. After
>>> that, nothing I've been able to do will let it work.
>>>
>>> Any more ideas?
>>>
>>> Thanks,
>>> Mike
> Mike:
> Some questions and guesses:
> Just how does it "not work"? You said it can't find the classes
-
> how about taking the one it "can't find" and tracing it in detail,
> meaning the instantiation, the class library (or code file), the
parent
> classes, etc. etc.
> I like the idea of removing the PJX and building it over. Seems
> like there's some file that isn't where the PJX expects to find it.
Or
> there is a file there but it's not the right one. The PJX looks in
the
> project local dir by default, others you have to locate. Once
located,
> I don't think it looks in the local dir again.
> Was there a .ERR file from the build?
> Is there just one class it can't find, or are there several?
>
> Dan Covill
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/289EA162F5642645B5CF64D624C66A1409DF2038@us-ny-mail-002.waitex.net
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Michael Savage wrote on 2011-02-28:
> Sorry about the lack of detail... I've been doing some testing and this
> is confusing me... I know that the class library must be being found for
> the following reason: In a total different menu option, I call another
> class from the main class library. It works... I have access to the
> command prompt in my application, thanks to a small program that I
> picked up, and inside that window, I type the line that creates the
> class I expect to see. It creates the object no complaints. (ie doesn't
> say it cannot find class main.vcx) This is inside the application.
>
> Could a corruption of a menu file cause this problem. This is where I
> notice the missing classes. (There is a second class library that it
> also complains about, ocals.vcx - which holds all of my date/calendar
> controls.) Again, it too works being defined in my applications
> command window.
>
> I'm sort of at a loss, why this problem has crept up as this was
> working perfectly till late last week.
> Mike
>
Michael,
Sounds more like not everything is recompiling. I see strange behavior like
this when I'm running source in a development environment (testing
config.fpw), and edit a class in a second development environment (dev
config.fpw). I close the testing environment and restart it to get the
latest class libraries loaded in memory.
Tracy Pearson
PowerChurch Software
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/001301cbd77b$14bb4e80$3e31eb80$@com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.