• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 

nrComm installation for both Delphi7 and CBuilder5 on the same computer

Started by Henny Barten, September 17, 2011, 06:34:22 pm

Previous topic - Next topic

Henny Barten

Hi Roman,
I installed nrComm in "C:\Program Files\nrComm Lib".
I installed Delphi7 in "C:\Program Files\Borland\Delphi7"
I installed CBuilder5 in "C:\Program Files\Borland\CBuilder5"
All on the same computer running at Windows7

Now nrComm works fine in Delphi7, but when starting up CBuilder5 (with Delphi7 closed) I get a screen during start-up saying:
"Can't load package C:\Program Files\nrComm Lib\CBuilder 5\nrcommb5.bpl"

Exactly the same thing I did on another computer running at Windows XP and with the same problem.

Do you have any idea how I can solve this?

Regards, Henny Barten


Roman Novgorodov

Hello

Thank you for your information.

Please note that more correct sequence is following:

1) Install Delphi and CBuilder
2) Install nrComm Lib (to PC with installed Delphi)

Please check that nrcommb5.bpl is available in the
C:\Program Files\nrComm Lib\CBuilder5

Also if you are trying trial nrComm Lib, you need check CBuilder version. Please read this:
http://forums.nrcommlib.com/index.php?topic=3.0

Roman Novgorodov
DeepSoftware LLC
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

Henny Barten

Hi Roman,

Thanks for your answer.
In my 1st message I did not intend to give a correct sequence, just a summary.
Indeed, I installed Delhi7 and CBuilder5 prior to installing nrComm.
I alreadt read your message regarding the CBuilder version issue. I'm using C++Builder Enterprise Suite Version 5.0 build 12.34 so assume, that would not be the root-cause.
Indeed, nrcommb5.bpl was NOT present in C:\Program Files\nrComm Lib\CBuilder5

The good news is that in the meantime I found a solution myself as follows:
I've installed nrcommb5.bpk manually: Component->Install packages.
Then I moved nrcommb5.bpl manually to C:\Program Files\nrComm Lib\CBuilder5
Then the nrComm component appeared on the component palette.
But running the SignalsDemo "as is" failed, it could not find various *.bpi files.
So I made a new project, copied the original content of SignalsDemo to this new project and ... it worked.

The bad news is that this is appearently NOT the way you intend.

Maybe good idea for you (if you not already did this) to check on your own computer whether nrComm installs correctly with Delphi7 and CBuilder5 BOTH installed.

Regards, Henny.

Roman Novgorodov

Hello

Thank you for your information.

We always test trial setup with all supported CBuilder and Delphi versions before deploy release.

The version 9.21 works fine with CBuilder5. Please if you will have free time try to get setup log file:

nrcomm_pro922trial.exe /LOG="c:\setup.log"

and upload here setup.log. Possible it helps resolve problem.

Roman Novgorodov
DeepSoftware LLC
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

Henny Barten

Hi Roman,

You asked me recently: "Please if you will have free time try to get setup log file: nrcomm_pro922trial.exe /LOG=c:\setup.log"

I did so and please see the setup.log file attached.

Ofcourse I first had a look myself and found in that logfile:

2011-09-21 16:17:55.234   Parameters: nrcommd7.bpl G:\WINDOWS\system32\*.* /Y
2011-09-21 16:17:56.281   Process exit code: 0

2011-09-21 16:18:03.437   Parameters: nrcommb5.bpl G:\WINDOWS\system32\*.* /Y
2011-09-21 16:18:03.671   Process exit code: 4

And indeed, nrcommd7.bpl was available in G:\WINDOWS\system32 but nrcommb5.bpl was NOT!

The meaning of "exit code: 4" is unknown to me but I'm sure you can explain and tell me what to do.

Thanks in advance.

Best regards, Henny Barten

Roman Novgorodov

Hello

Thank you for your information.

It seems like something wrong with compiling package for CBuilder5.
Please try do it manually.

Run CMD console and try following commands:

cd "G:\Program Files\nrComm Lib\CBuilder5"
G:\Program Files\Borland\CBuilder5\Bin\make.exe /fnrcommb5.mak


Show me please result output of these commands.

Roman Novgorodov
DeepSoftware LLC



DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

Henny Barten

Hi Roman,

After executing:
G:\Program Files\Borland\CBuilder5\Bin\make.exe /fnrcommb5.mak

I get the message " 'G:\Program' is not recognized as an internal or external command"
The reason is the space between Program and Files.
I tried various ways to overcome this problem but found difficulties everywhere ....
E.g. temporarily renaming Program Files to ProgramFiles is refused by the system
And copying make.exe to the same directory as nrcommb5.mak showed up other error messages.
I also tried to do it by means of a .bat file ..... did not succeed ...
Do you have any better idea?

Roman Novgorodov

Please add double quotes, try following:

"G:\Program Files\Borland\CBuilder5\Bin\make.exe" /fnrcommb5.mak

Roman Novgorodov
DeepSoftware LLC
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

Henny Barten

Hi Roman,

Thanks, that worked, however ... see attached CBulder5 problem.pdf

Regards, Henny

Roman Novgorodov

Hello

Possible my offer is strange, but please try to turn off multithreading in your PC setup.
And try to run commands (or nrComm setup) on PC with single CPU core.

Roman Novgorodov
DeepSoftware LLC
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

Henny Barten

Hi Roman,

How do I turn off multithreading?
I assume in the BIOS but there I only can find something called Hyper Treading.

Moreover, as far as I know I do have a single CPU core on both XP computers, I think my W7 computer has double core but on all machines I encounter the same problem.

Roman Novgorodov

Hello

Please check that you are administrator before try run CMD.

Possible you can find something like "Cores" in BIOS. Set it into 1 (or single).
The HyperThreading please turn OFF too.

It seems like you can compile BCB5 package from IDE. Before do it you need point package options Output Paths to nrComm CBuilder5 directory. Then you need to check options of demo project. nrComm\CBuilder5 should be visible for project.

Another small hack: You can find and remove ILINK32.EXE of BCB5 by the more fresh version from Delphi7 or BCB6. Do not forget to backup original ILINK32.EXE.

Roman Novgorodov
DeepSoftware LLC
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

Henny Barten

Hi Roman,

I'm 100% sure that I'm administrator. I prefer not to change too much in my BIOS as I do not want to endanger my system. Also because Delphi does not have that particular problem! It seems more logic to me that something's wrong with ILINK32.exe.
BUT .... I could not find such a file in my Program Files\Borland\Delphi7\* directories, only in the CBuilder5\Bin directory so I could not replace that one. I'll attach my ILINK32.exe so probably you can compare mine with yours.  I'll add ILINK.DLL and ILINK.CFG as well. To prevent any firewall not accepting the extensions, I've added '.txt' to the names.
So if this all does not bring an appropriate solution, I think its better for me to stick  to my own solution as described earlier.
Regards, Henny.

Roman Novgorodov

Hello

Hmmm ... You ilink32 has strange version information. Please try our copy from attachment.

Roman Novgorodov
DeepSoftware LLC
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.