Solved

Borland C++ 5.02 update?

Posted on 2001-09-03
5
590 Views
Last Modified: 2013-12-03
I have a few apps that I still build with Borland C++ 5.02 (not C++ Builder... but the original BC++).  I would like to take advantage of some of the new API that are not defined in the .h and .lib files that shipped with BC 5.01 all those years ago.

Does anyone know if there is any simple way to use the latest Platform SDK .h and .lib files with Borland C++ 5.02?

If there is no simple way... is there any way to convert the MS .lib files to the Borland format?

Any advice would be greatly appreciated...

Thanks,
Jeff
0
Comment
Question by:jeffs1
  • 2
  • 2
5 Comments
 
LVL 32

Expert Comment

by:jhance
ID: 6452882
I think the answer is no.  This was the problem that I had with Borland C++ several years ago.  They were always behind the latest SDK and provided no tools to set it up yourself.  So you were always waiting for Borland to update BC++ for the latest Microsoft SDK.  

BTW, the problem is not with the header files but with the lib files.  Unless things have changed but Borland linker doesn't support the MS .lib file format and vice-versa.
0
 

Expert Comment

by:dandycheung
ID: 6459563
Borland C++ has a tools named implib or another name like this which can export a import library(.lib file) from standard DLL file.
0
 

Author Comment

by:jeffs1
ID: 6459575
yes... but this requires that I find the versions of the DLLs that the MS import libraries were built from... to build the BC import libraries.  implib will not just convert an MS import lib to the BC format.  I was hoping to find an easier way to do this... that is a pretty big task... given the number of DLLS.

Thanks,
Jeff
0
 

Accepted Solution

by:
dandycheung earned 100 total points
ID: 6459641
Basal or common DLLs:

kernel32.dll user32.dll gdi32.dll ntdll.dll advapi32.dll oleaut32.dll shell32.dll comctl32.dll comdlg32.dll winmm.dll ws2_32.dll

Some other DLLs:
crypt32.dll shlwapi.dll tapi.dll

Don't worry about the version, you can export these DLL's import libraries from a clean win9x/NT4 system. All program linked with these libs should run on a upgraded system normally. Have you often seen a program crashed because of the service pack update?
0
 

Author Comment

by:jeffs1
ID: 6460468
Thanks for your help!
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now