Where to Buy
Where to Buy
Using color fax
One of the more advanced fax features that the Brooktrout product supports is color fax. Color fax is pretty much what the name implies – sending and receiving a fax that is in color rather than the normal black and white. This means you could send...
4 months ago
Using T.30 Holdup
8 months ago
New Features in Brooktrout SDK 6.7.5 - New format for SR140 sip_Contact field
9 months ago
New Features in Brooktrout SDK 6.7.5 - Ability to Assign SR140 Ports to an Inbound Phone Number
10 months ago
5 Jan 2007 12:05 PM
I love Borland's (or should I say CodeGear's)
. I've always found it a very handy tool for creating quick apps with a GUI. I've never been a GUI programmer, and I'm not an enthusiast for spending tens of hours getting the user interface right, so I've always appreciated how easy Borland make this part. However, the C++ compiler is not 100% "Microsoft compatible" and this has sometimes caused problems with our SDK.
A problem that has tripped me up a number of times is that of alignment of structures. The Borland compiler has a myriad of options when it comes to optimizing the memory usage of structures. For example, it allows you to set that variables inside a structure can be aligned by qword, dword or word, which presumably allows fewer memory fetches with some processors, and so a speed optimization. Also, you can save space in memory by packing a bool into one byte instead of two.
The problem comes when you then call an external DLL (such as the Diva Server SDK, DSSDK.DLL) and pass in one of these optimized structures. Of course the receiving SDK sees the data all 'off by one byte', or reads padding bytes as valid data, and so mysterious failures result. Bitter experience has taught me the correct compiler settings to make C++Builder work with the SDK, but of course the same problems are there potentially for any sexy new tool that people might use in preference to the 800 pound gorilla, Microsoft Visual C++.
Your comment has been posted.
Thank you, your comment requires moderation so it may take a while to appear.
Leave a Comment
Social Media Newsroom
© Copyright 2017 Dialogic Corporation. All rights reserved.