BCB 6.0 trial help - BCB 5.0 project update - sapi.lib problem

BCB 6.0 trial help - BCB 5.0 project update - sapi.lib problem

Post by Rick » Sat, 04 Oct 2003 04:36:23


I just inherited a BCB 5.0 application. I am using the evaluation copy of
BCB 6.0 to make sure it will work before getting the company to buy it. This
application is using sapi. In BCB 5.0 they used midl to create a lib for the
sapi 5.0 stuff. My problem when building is that:

1) The compiler fails to find sapi.lib. This is actually an intermittent
problem, though it happens more often than not. I looked in the BPR and the
path for the lib exists and the lib is in the directory, and I made sure it
was not read only. I have also checked for "#pragma link", but have not
found anything. Anyone have any idea where else I can look to find where the
sapi.lib file path would be?

2) When it does find it, I am getting the standard coff problem. The
original creator of the project used midl.exe and created separate headers
and such, so it looks like it should work and I have a working exe, so I
know it worked at one time. So if it worked in BCB 5.0, why am I having the
coff problem?

Any help would be greatly appreciated. Thanks,
Rick
 
 
 

BCB 6.0 trial help - BCB 5.0 project update - sapi.lib problem

Post by Rick » Sat, 04 Oct 2003 04:53:53

I just inherited a BCB 5.0 application. I am using the evaluation copy of
BCB 6.0 to make sure it will work before getting the company to buy it. This
application is using sapi. In BCB 5.0 they used midl to create a lib for the
sapi 5.0 stuff. My problem when building is that:

1) The compiler fails to find sapi.lib. This is actually an intermittent
problem, though it happens more often than not. I looked in the BPR and the
path for the lib exists and the lib is in the directory, and I made sure it
was not read only. I have also checked for "#pragma link", but have not
found anything. Anyone have any idea where else I can look to find where the
sapi.lib file path would be?

2) When it does find it, I am getting the standard coff problem. The
original creator of the project used midl.exe and created separate headers
and such, so it looks like it should work and I have a working exe, so I
know it worked at one time. So if it worked in BCB 5.0, why am I having the
coff problem?

Any help would be greatly appreciated. Thanks,
Rick