Quantcast
Channel: VFPX
Viewing all articles
Browse latest Browse all 3798

Commented Unassigned: string is too long to fit [35728]

$
0
0
Hi,

I wanted to use a new version of foxbin2prg (I was on 1.19.30) but receiving in the new version (1.19.37) a lot of errors (when converting from 'bin to txt') that were not there before. All like the following in all kind of files (menus/forms/classes/project files/...):

Error 1903, String is too long to fit.
convertir, 2360
.c_TextLog = .c_TextLog + CR_LF + .o_Conversor.c_TextLog && Recojo el LOG que haya generado el conversor

Source file: C:\....\xxxxx.scx


In attach you can find the file BUT when I only do a conversion of this single file, everything works fine.. Only when I convert my whole project, I receive the errors.

(the .ERR file is also included in the zip)

Solution?

Thanks in advance!
Comments: ** Comment from web user: fdbozzo **

Oh, NOW I understand it. Ok, there is something thay you need to know:

When you select a directory for convertion, you normally select the project dir to compile all the files, and this is important because FoxBin2Prg compiles all the files using the selected directory as the home dir, so your files are correctly compilated as you do from your project.

You surely know that if you open VFP in a subdirectory of your project, let's say "forms" (CD forms) and compile the project from here, you may have a lot of errors because relative paths for files, specially #include files and subclasses, use this base directory for compilation, and can't found many components because you are not compiling from home project folder. => That's why the first selected directory is used as home for compiling in FoxBin2Prg.

Now the thing: Imagine how many problems you can get if you compile your project 1 but having your VFP directory on your project 2....

To keep the compilations VALID for each project, you must compile each project directory separated, and there is no problem that while FoxBin2Prg is processing one project directory you select the second project and convert it in parallel (is what I've done).

This way, all compiled components will be valid and you don't need to recompile them.


Best Regards!


Viewing all articles
Browse latest Browse all 3798

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>