Probably Eric is the keeper of this knowledge, but I'll take any help I can get....
I'm porting my 30,000 line aircraft design code from PB/DOS to Windows, using PB/CC with Contools/GFX. So far, so good, and thanks to all who are answering my stupid questions and posting good stuff to use.
I'm using PB/CC with Contools/GFX as the main framework, but am worried that when I get the full 30,000 lines of code ported over, I may exceed compiler limits, run into weird stuff, etc... I can break out a lot of the calculation parts of the code and would like to compile them separately as DLL's, and have bought PB/Win for that purpose. However, I really have no idea how to do it and am hoping someone can post a "framework" telling me (1) how to code, compile, and independently test the DLL's in PB/Win, and (2) how to call them from PB/CC.
When calling DLL's from PB/CC I'd want to pass a lot of data TO the DLL (perhaps 100 double precision numbers and 20 strings) then pass a similar amount back to PB/CC, and also write lots of stuff to output text files. A single DLL might be a thousand or so lines of engineering calculation code, and I'll probably have a few dozen of them. I probably won't have any GUI i/o in the DLL's, just number crunching.
Or, maybe PB/CC can easily handle such a large program, or maybe there is another better way of doing this. I am only an egg.....
Thanks in advance !
I'm porting my 30,000 line aircraft design code from PB/DOS to Windows, using PB/CC with Contools/GFX. So far, so good, and thanks to all who are answering my stupid questions and posting good stuff to use.
I'm using PB/CC with Contools/GFX as the main framework, but am worried that when I get the full 30,000 lines of code ported over, I may exceed compiler limits, run into weird stuff, etc... I can break out a lot of the calculation parts of the code and would like to compile them separately as DLL's, and have bought PB/Win for that purpose. However, I really have no idea how to do it and am hoping someone can post a "framework" telling me (1) how to code, compile, and independently test the DLL's in PB/Win, and (2) how to call them from PB/CC.
When calling DLL's from PB/CC I'd want to pass a lot of data TO the DLL (perhaps 100 double precision numbers and 20 strings) then pass a similar amount back to PB/CC, and also write lots of stuff to output text files. A single DLL might be a thousand or so lines of engineering calculation code, and I'll probably have a few dozen of them. I probably won't have any GUI i/o in the DLL's, just number crunching.
Or, maybe PB/CC can easily handle such a large program, or maybe there is another better way of doing this. I am only an egg.....
Thanks in advance !
Comment