Link to home
Start Free TrialLog in
Avatar of RED6
RED6

asked on

Borland 5.02, Win95, BWCC with "C" code problem



I have Borland 5.02 running on a Win95 pc.

Can anyone tell me what I need to do to get a Borland Windows Control (like a "borbutton") to work with 32-bit "C" code, such as the comdlg32 example (\bc5\examples\win95\comdlg32)

When I add a simple Borland button or Borland shade to the About Box in the comdlg32 example, the about box dialog window refuses to open.

I've tried clicking the BWCC library option in the TargetExpert.
That didn't work.

I've tried using 'LoadLibrary("BWCC32.DLL")'
That didn't work.

I've tried using 'BWCCRegister'
That didn't work.

'BWCCGetVersion' returns 0x10200, as it should

Did Borland just screw something up?

Ultimately, I'm trying to convert a very large project originally programmed for Win32s with Borland 4.52 to run in Windows95.

ASKER CERTIFIED SOLUTION
Avatar of NickRepin
NickRepin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RED6
RED6

ASKER

Thanks.  I realized that when I used BWCCRegister before, I passed in the instance returned by the LoadLibrary("BWCC32.DLL") function which I had also tried, not the WinMain hInstance; and who knows what that did.