AccessMyLibrary provides FREE access to over 30 million articles from top publications available through your library.

Getting started with DLLs. (dynamic link libraries) (tutorial)

Data Based Advisor

| August 01, 1991 | Zurek, Bob | COPYRIGHT 1991 Advisor Publications, Inc. This material is published under license from the publisher through the Gale Group, Farmington Hills, Michigan.  All inquiries regarding rights should be directed to the Gale Group. (Hide copyright information)Copyright

If You have users who want Windows ends, take a look at tooks that DYnamic Link Libraries (DLLs). DLLs are the PC developers, equivalent of "open systems," and can extend the functionality of any package's base function call library. We'll use Gupta's SQLWindows as an example.

SQLWindows, an object-based application development environment for developers, can be used to generate applications for a variety of "back-end" database servers. One of SQLWindows' most compelling features is its ability to take advantage of Windows Dynamic Link Libraries (DLLs). This lets developers add custom functionality without having to do all the work themselves. DLLs

For example, SQLWindows doesn't support a function call to dynamically move a Form Window to a new location. However, a developer who knows C can add this functionality by using the Windows Software Development Toolkit (SDK) to create a DLL that contains the new function call. Granted, many developers use SQLWindows, or products like it, to avoid low-level programming in C, and probably aren't interested in taking on that sort of task. In this article, I'll show You an alternative that allows you to "expand" SQLWindows' functionality without coding in C.

Windows consists of three DLLs-GDI.EXE, USER.EXE, and KERNEL.EXE-each consisting of function calls that make up the entire Windows function call library. Before you can take advantage of these DLLS, you need to know where they are. Windows' default installation puts them in the System subdirectory of the Windows subdirectory.

The filename extension DLL has become the standard way of representing Windows or OS/2 DLLS. (The three Microsoft-provided DLLs mentioned above are exceptions.) One way to take advantage of the Windows DLLs is to buy the Windows SDK. The SDK gives you more than just full descriptions of its 450-plus function calls; you also get useful utilities like the Windows ICON Editor. All about particular function calls

Let's assume that as a result of browsing through the SDK function call reference manual, you discover the "FlashWindow" function call, and you want to use it in SQLWindows. Since SQLWindows doesn't support it, you need to look to the Windows DLLS. Step One is to determine which DLL contains FlashWindow. One approach would be to run either the SDK's EXEHDR.EXE or SQLWindows' MAPDLL.EXE. These programs will look at the header portion of any Windows DLL and view their function calls. Thus, the sample output from the EXEHDR for the USER.EXE DLL from Windows should look like this:

This tells us that FlashWindow is in the USER.EXE DLL. I use EXEHDR on all three DLLs and pipe the results to DOS text files. Subsequently, I can use a word processor to search for references to function calls.

Related articles from newspapers, magazines, journals, and more
GUPTA Announces SQLWindows for Microsoft SQL Server 6.0; Integrated Gupta...
Press release article from: Business Wire May 2, 1995 700+ words
...Corporation (NASDAQ: GPTA) today announced SQLWindows for Microsoft SQL Server 6.0. In...developers receive Gupta's award-winning SQLWindows Corporate Edition client/server development...across the enterprise. The version of SQLWindows in the integrated product has been optimized...
Logic Works introduces ERwin for SQLWindows.
Press release article from: Business Wire April 4, 1995 700+ words
...the availability of ERwin/ERX for SQLWindows. This new version speeds the development...development between a DBMS and Gupta SQLWindows' object-oriented environment. Logic...in which they will bundle ERwin for SQLWindows with Gupta SQLWindows 5.0. For a...
GUPTA BUNDLES RATIONAL ROSE WITH FLAGSHIP EDITION OF SQLWINDOWS; Brings Object...
Press release article from: Business Wire August 15, 1995 700+ words
...Corporation announced today that Rational Rose/SQLWindows will be bundled with the flagship edition of SQLWindows. Under the agreement, a time-locked version of Rational Rose/SQLWindows version 2.7 will be bundled and distributed on...
GUPTA ANNOUNCES AVAILABILITY OF SQLWINDOWS FOR MICROSOFT SQL SERVER 6.0
Press release article from: PR Newswire August 7, 1995 700+ words
...Corporation (Nasdaq: GPTA) today announced SQLWindows(R) for Microsoft(R) SQL Server...Gupta's leading development product SQLWindows Corporate Edition with Microsoft's...We're very pleased that Gupta SQLWindows for Microsoft SQL Server 6.0 is now...
Gupta accelerates component-based development with new toolkit; Components...
Press release article from: Business Wire December 6, 1994 700+ words
...NASDAQ:GPTA) Tuesday announced the SQLWindows Components Developer Kit (CDK). This...build reusable software modules with the SQLWindows development environment. Available...possible for most developers to build SQLWindows components without the specialized support...
GUPTA AND SUNSOFT ANNOUNCE SQLWINDOWS FOR SOLARIS
Press release article from: PR Newswire September 19, 1995 700+ words
...and SunSoft(TM), Inc. today announced SQLWindows for Solaris(TM). With SQLWindows for Solaris, UNIX developers now have the...development and deployment software, Gupta SQLWindows(R), on the leading enterprise RDBMS development...
SQLWindows 5.0. (Gupta Corp's client/server development tool) (Brief Article)...
Magazine article from: Software Magazine November 1, 1994 700+ words
...Menlo Park, Calif., is shipping SQLWindows 5.0, a client/server application development tool. The SQLWindows 6.0 architecture provides reusable...Notes and E-mail integration. The SQLWindows Solo Edition, priced at $99, builds...
RATIONAL EXPANDS SUPPORT FOR CLIENT/SERVER DEVELOPMENT AND BRINGS BENEFITS OF...
Press release article from: Business Wire August 15, 1995 700+ words
...capabilities for its existing Rational Rose/SQLWindows tool. Rational Rose/PowerBuilder...The next generation of Rational Rose/SQLWindows adds support for reverse engineering...Rose/PowerBuilder and Rational Rose/SQLWindows enhance the 4GL tools by enabling developers...
For more facts and information, see all results
©2009 Gale, a part of Cengage Learning. All rights reserved.
About us | FAQs | Contact us | Privacy policy | Terms and conditions
Other Gale sites: Encyclopedia.com | HighBeam Research | Acquire Content | Books & Authors | Goliath | MovieRetriever | Smart QandA