>I found that SET CLASSLIB is accepting more characters than RELEASE CLASSLIB.
>
>I had the situation where I was able to do SET CLASSLIB TO DYNAZIP IN F:\dir\dir\dir\dir\dir\file.exe ADDITIVE but was unable to do RELEASE CLASSLIB DYNAZIP IN F:\dir\dir\dir\dir\dir\file.exe because only the first 34 characters are passed to that function. In my case, I add 35 characters so I was short by one.
>
>Comments?
I created a project with a VCX and a PRG and compiled it to an EXE. Here are the names of the files and where I have them
d:\temp\12345678901234567890123456789012345678901234567890\12345678901234567890123456789012345678901234567890\proj1.exe
d:\temp\12345678901234567890123456789012345678901234567890\12345678901234567890123456789012345678901234567890\proj1.pjx
d:\temp\12345678901234567890123456789012345678901234567890\12345678901234567890123456789012345678901234567890\proj1.pjt
d:\temp\12345678901234567890123456789012345678901234567890\12345678901234567890123456789012345678901234567890\program.prg
c:\temp\test.vcx
c:\temp\test.vct
In short, I have six files: the Visual Class in c:\temp and the project, program, and EXE in the directory with a long name. These are the commands I used
set classlib to c:\temp\test IN d:\temp\12345678901234567890123456789012345678901234567890\12345678901234567890123456789012345678901234567890\proj1.exe
release classlib c:\temp\test IN d:\temp\12345678901234567890123456789012345678901234567890\12345678901234567890123456789012345678901234567890\proj1.exe
The both worked! Notice that I need path; otherwise, it looks for the class in the default directory. Can you give the commands that you used so I can duplicate your problem? Of course, SET CLASSLIB TO will close all classes, but it is probably not applicable to your case.
As I mentioned in another thread, whenever I use the SET CLASSLIB ... TO command. The EXE or APP remains open until I shutdown FoxPro. CLOSE ALL, CLEAR ALL, RELEASE ALL do not help. I sounds like the RELEASE CLASSLIB ... IN command has some bugs to it.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement