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
Isolating concurrency levels and releasing locks. (Client/Server Advisor:...
Magazine article from: Data Based Advisor Goddard, Doug June 1, 1994 700+ words
...database programming side of SQLWindows. I began with a conceptual...putting it to work using SQLWindows. This month, I explain...time. More commonly, a SQLWindows application explicitly sets...level to use. An example function call is: Call SqlSetIsolationLevel...
SQLWindows: a programmer's adventures in Windowland. (Software Review) (Gupta's...
Magazine article from: Data Based Advisor Roti, Steve September 1, 1990 700+ words
SQLWindows: A Programmer's Adventures in Windowland...programmer uses Gupta Technologies' SQLWindows for writing database applications...environment. There really is nothing like SQLWindows on MS-DOS. Perhaps the closest comparison...
SQLWindows is rooted in client/server and continues to bloom. (the development...
Magazine article from: Data Based Advisor Goddard, Doug October 1, 1993 700+ words
...of a new monthly column dedicated to SQLWindows programming. Excluding this column...cover the object-oriented features of SQLWindows, SQL programming with a variety of...Advisor is devoting a regular column to SQLWindows, give a little history about the product...
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...
A look into SQLWindows. (Gupta Technologies Inc.'s SQLWindows 3.1 program...
Magazine article from: Data Based Advisor Menninger, Dave November 1, 1992 700+ words
...321-9500 Fax: 415-321-5471 SQLWindows version 3.1, $1,595, $2,495...system, includes 5 users and Quest. SQLWindows by Gupta Technologies has matured significantly...with a growing set of features, make SQLWindows one of the prime competitors in the...
SQLWindows 4.0 goes OOP. (Software Review) (Gupta Corp. database...
Magazine article from: Data Based Advisor Goddard, Douglas July 1, 1993 700+ words
With SQLWindows 4.0 Gupta Corp. is, according to the CEO of the...the number and scope of the changes introduced in SQLWindows 4.0 is staggering and unprecedented. With SQLWindows 3.0, we gained features such as native font and...
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...
Learn advanced SQLWindows at home. (Front-End Systems' Advanced SQLWindows OOP...
Magazine article from: Data Based Advisor Rajan, Sundar March 1, 1995 700+ words
...programming. To get the most out of SQLWindows' features, you need training and...budget. This is where the Advanced SQLWindows OOP Tutorial by Front-End Systems fits right in. The Advanced SQLWindows Programming OOP Tutorial (OOP Tutorial...
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...
SQLWindows shows app-building muscle; SQL front-end builder offers extensive...
Magazine article from: InfoWorld Darling, Charlie September 27, 1993 700+ words
...master quality. Gupta Corp.'s SQLWindows Corporate Edition, Version 4.0...entire IS department. We evaluated SQLWindows using the test plan for our March 1...application developer. We loaded both SQLWindows and the SQLBase database engine onto...
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