Borland 5.5 Question
Not a programming question at all. What is the newest (free) Borland C++ compiler? Also, are Borland C++ Compilers compatible with things like DirectX 10? I would assume yes, but assumptions aren't worth anything. Thanks for helping me out here.
I've been pondering the exact same question for a few days now. Borland seems to be excellent and filled with tons of potential if only we could have this one question answered. Thanks !
The newest free Borland compiler is the 5.5.1, released in 2000 which is a minor update to the 5.5.0 released in 1999.
I've used Borland C++ 5.0 with DX6 (that's the 5.0 compiler I guess), haven't tried any later combinations.
That took some work to get the correct lib files and convert some headers to work (everything shipped in the distro is for Visual C++ only, Borland's compiler and linker didn't like it out of the box).
I guess you can do the same with later compiler and DX versions, but I seriously doubt you're going to get DX10 to work with a compiler dated 1999 (DX10 btw isn't even released yet, AFAIK it's not even feature complete).
I do know DX10 will require Windows Vista to work at all, as well as being incompatible with existing video hardware (that was confirmed by one of the leads on the Microsoft FSX team earlier this year when he discussed rumours that FSX would require Vista and DX10 (it won't)).
I'd guess your best bet with free compilers right now would be Visual C++ 2005 Express, coupled with the PSDK and DX 9.0c SDK.
I've used Borland C++ 5.0 with DX6 (that's the 5.0 compiler I guess), haven't tried any later combinations.
That took some work to get the correct lib files and convert some headers to work (everything shipped in the distro is for Visual C++ only, Borland's compiler and linker didn't like it out of the box).
I guess you can do the same with later compiler and DX versions, but I seriously doubt you're going to get DX10 to work with a compiler dated 1999 (DX10 btw isn't even released yet, AFAIK it's not even feature complete).
I do know DX10 will require Windows Vista to work at all, as well as being incompatible with existing video hardware (that was confirmed by one of the leads on the Microsoft FSX team earlier this year when he discussed rumours that FSX would require Vista and DX10 (it won't)).
I'd guess your best bet with free compilers right now would be Visual C++ 2005 Express, coupled with the PSDK and DX 9.0c SDK.
I'm using Borland 5.5 to make DirectDraw apps which run fine on my 98 machine with an old graphics card but slow to a crawl on newer XP and 2000 machines with newer cards.
I've got DirectDraw7 to work with it by using implib on ddraw.dll (the ddraw.lib that ships with Borland 5.5 does not seem to have DirectDrawCreateEx in it for some reason) but doesn't improve the speed on newer cards.
It is only a small number of rectangular blits, some transparent and some not. Is the lag on the newer cards because they don't support 2D operations properly anymore and do I need to upgrade my brain to Direct3D to get decent performance? If I compile and run with DDCREATE_EMULATIONONLY or disable DirectDraw acceleration in dxdiag, the game speeds up to very quick but the graphics go a bit flickery and naff.
Anyone got any thoughts on this? Ta.
I've got DirectDraw7 to work with it by using implib on ddraw.dll (the ddraw.lib that ships with Borland 5.5 does not seem to have DirectDrawCreateEx in it for some reason) but doesn't improve the speed on newer cards.
It is only a small number of rectangular blits, some transparent and some not. Is the lag on the newer cards because they don't support 2D operations properly anymore and do I need to upgrade my brain to Direct3D to get decent performance? If I compile and run with DDCREATE_EMULATIONONLY or disable DirectDraw acceleration in dxdiag, the game speeds up to very quick but the graphics go a bit flickery and naff.
Anyone got any thoughts on this? Ta.
Ok, Visual C++ 2005 it is, but where can I find some decent resources for it? All I ever find are resources for C++6. Also, does Visual C++ 2005 use managed DirectX or just normal? Thanks.
VC6 is extremely old, no longer supported, and not standards compliant.
Most code for it should work with newer versions too though, though you may have to correct errors that were required to make it work with VC6.
So if you know standard (ISO) C++ you should have no trouble with VC2005.
All it takes is getting used to a different editor.
Most code for it should work with newer versions too though, though you may have to correct errors that were required to make it work with VC6.
So if you know standard (ISO) C++ you should have no trouble with VC2005.
All it takes is getting used to a different editor.
One other thing, theres something up with my Visual C++ 2005 linker. Whenever I try to compile anything, I get this report of errors from the linker:
Linking...0.obj : error LNK2019: unresolved external symbol __imp__PostQuitMessage@4 referenced in function "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z)0.obj : error LNK2019: unresolved external symbol __imp__DestroyWindow@4 referenced in function "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z)0.obj : error LNK2019: unresolved external symbol __imp__DefWindowProcA@16 referenced in function "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z)0.obj : error LNK2019: unresolved external symbol __imp__DispatchMessageA@4 referenced in function _WinMain@160.obj : error LNK2019: unresolved external symbol __imp__TranslateMessage@4 referenced in function _WinMain@160.obj : error LNK2019: unresolved external symbol __imp__GetMessageA@16 referenced in function _WinMain@160.obj : error LNK2019: unresolved external symbol __imp__UpdateWindow@4 referenced in function _WinMain@160.obj : error LNK2019: unresolved external symbol __imp__ShowWindow@8 referenced in function _WinMain@160.obj : error LNK2019: unresolved external symbol __imp__CreateWindowExA@48 referenced in function _WinMain@160.obj : error LNK2019: unresolved external symbol __imp__MessageBoxA@16 referenced in function _WinMain@160.obj : error LNK2019: unresolved external symbol __imp__RegisterClassExA@4 referenced in function _WinMain@160.obj : error LNK2019: unresolved external symbol __imp__LoadCursorA@8 referenced in function _WinMain@160.obj : error LNK2019: unresolved external symbol __imp__LoadIconA@8 referenced in function _WinMain@16
you will have to install the PSDK (platform SDK) as well to create Win32 applications (rather than .NET applications).
More information and instructions on the VC2005 site.
More information and instructions on the VC2005 site.
Thanks, so much. I've been freakin' pissed off at my linker since I found this bug, but now that I have a solution, I'm good. Thanks again.
Just a little note I've herd rumors/news that Borland is leaving the IDE industry and getting into the Application Lifetime Management market. Mainly because of free tools like Eclipse and others they feel that making commercial tools will no longer be profitable r necissary. Not sure if this means all Compilers or just the IDE Tools themselves it wouldn't really make sense if it was only the IDE's and not the compilers as well. I know they are currently looking for someone to buy the tools, maybe it will be for the better?
Anyways here is a link
http://www.eweek.com/article2/0%2C1895%2C1926073%2C00.asp
Anyways here is a link
http://www.eweek.com/article2/0%2C1895%2C1926073%2C00.asp
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement