Board index » cppbuilder » Need help translate Pascal to BCB2007

Need help translate Pascal to BCB2007


2008-03-11 01:21:35 AM
cppbuilder109
Dear All,
Almost VCL are made by Pascal, I don't know how to modify and add any code
use Pascal.
One old DWaveMix VCL compont can not run under BCB2007, It's just can be use
on BCB1.0 & 3.0.
I need someone can help me translate these code to BCB2007.
I post all code on public.attachments title is "DWaveMix".
Thanks for any help and comments.
Best regards,
James
 
 

Re:Need help translate Pascal to BCB2007

"James5950" < XXXX@XXXXX.COM >wrote in message
Quote
One old DWaveMix VCL compont can not run under BCB2007
Why not?
Quote
I need someone can help me translate these code to BCB2007.
C++Builder can use Pascal files as-is, as it has a Pascal compiler
available. It always has.
Gambit
 

Re:Need help translate Pascal to BCB2007

Quote
>One old DWaveMix VCL compont can not run under BCB2007

Why not?
I got the error message " File not found: 'DsgnIntf.dcu'
Maybe need change include file on BCB2007, It's fine compiler with BCB3.0.
But I can not read Delphi code.
Quote
>I need someone can help me translate these code to BCB2007.

C++Builder can use Pascal files as-is, as it has a Pascal compiler
available. It always has.
Yes, I know.
But DWaveMix can not use on BCB2007? I don't know why?
I also need help me to translate to BCB, becasue I need rewrite and add some
function.
Best regards,
James
 

{smallsort}

Re:Need help translate Pascal to BCB2007

"James5950" < XXXX@XXXXX.COM >wrote in message
Quote
I got the error message " File not found: 'DsgnIntf.dcu'
Then the component was not written to separate its design-time code from its
run-time code. You will have to re-write the component source code to do
that properly. They must be in separate packages now.
Quote
It's fine compiler with BCB3.0.
BCB 3 did not enforce the need for separating design-time code from run-time
code. Borland started really enforcing that around BCB 5/6.
Quote
But DWaveMix can not use on BCB2007? I don't know why?
Because it is not written correctly to do so.
Quote
I also need help me to translate to BCB, becasue I need
rewrite and add some function.
How large is the component's source code exactly?
Gambit
 

Re:Need help translate Pascal to BCB2007

Hello Remy,
Until now, I seem programming is hard work.
If without you guys, I will give up...
Quote
>I also need help me to translate to BCB, becasue I need
>rewrite and add some function.

How large is the component's source code exactly?
It is so huge to me, but it so small with you...
Best regards,
James
 

Re:Need help translate Pascal to BCB2007

"James5950" < XXXX@XXXXX.COM >wrote in message
Quote
It is so huge to me, but it so small with you...
That is not what I asked. How many files? How many lines of code per file?
Gambit
 

Re:Need help translate Pascal to BCB2007

Hello Remy,
Only one file WaveMix.pas has 2500 lines.
I will try to translate it, too.
Best regards,
James
 

Re:Need help translate Pascal to BCB2007

Dear All,
Jason provided me a mix wave skill, so I can mix two wave now.
Thank you very much.
Best regards,
James