home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!pitt!cup.edu!mcc0798
- From: mcc0798@cup.edu
- Newsgroups: comp.os.ms-windows.misc
- Subject: .DLL Programming Problems
- Message-ID: <1993Jan25.120646.183@cup.edu>
- Date: 25 Jan 93 17:06:45 GMT
- Organization: California University of Pennsylvania, California, PA
- Lines: 34
-
- Heah,
- Anyone know how to get a dialog box to popup in a Windows 3.1 DLL?
-
- I'm using Turbo C++ for Windows 3.1 and Windows 3.1 and I'm trying to
- develop a neat little File Manager Extension. I've tried to do it two
- completely different ways:
-
- Programming only in C (with file extension of .C to force C
- only compilation).
- Result: Windows API function CreateWindow() fails, reason
- unknown.
-
- Programming in C++ with Object Windows Libraries.
- Result: OWL displays the all to framiliar "Error: -5"
- (EM_INVALIDWINDOW).
-
-
-
- I am sure that the dialog reesource exists and that I'm using the correct
- module handle. A .DLL example that pops up a modal dialog box would be most
- helpful (OWL preferred). The only examples I've found on my disk poped up a
- plain old window...sure I could make my dialog box dynamicly but I would prefer
- make a template.
-
- Any comments (even shots in the dark) are welcome. More details available on
- request.
-
- For those that are curious this Extension will include such features as:
- BMP/PCX/GIF/JPG viewer (That multitasks properly!)
- A text file viewer (that can handle any file size!)
- A utility to change file(s) date and time to user specified d/t
- Maybe a seperate launch menu that would mirror program manager groups?
-
-
-