Board index » cppbuilder » Re: What is the upgrade for Borland C++ Builder 6?
Rudy Velthuis [TeamB]
CBuilder Developer |
Re: What is the upgrade for Borland C++ Builder 6?2005-02-12 02:32:46 AM cppbuilder20 Rudy Velthuis [TeamB] wrote: QuoteFrank Staal wrote: BFFCALLBACK = function(Wnd: HWND; uMsg: UINT; lParam, lpData: LPARAM): Integer stdcall; TFNBFFCallBack = type BFFCALLBACK; The EXTERNALSYM means that the symbol BFFCALLBACK is not exported. But TBFNFFCallback is exported, and this also uses HWND. Same problem. I think it is time to ask Borland to use THandle exclusively. It would have been better to make THandle, HWND etc. pointers instead, but it is far tool ate for that. It would break too much existing code (including the VCL). I have no idea how TControl.Handle can be of a different type than TControl::Handle, and still compile. TControl.Handle is an unsigned int, and TControl::Handle is a void*. -- Rudy Velthuis [TeamB] rvelthuis.bei.t-online.de "Humor is the only test of gravity, and gravity of humor; for a subject which will not bear raillery is suspicious, and a jest which will not bear serious examination is false wit." -- Aristotle (384 BC-322 BC) |