home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.os.ms-windows.programmer.misc:1095 comp.windows.ms.programmer:7427
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!samsung!balrog!frankp
- From: frankp@ctron.com (Frank Perreault)
- Newsgroups: comp.os.ms-windows.programmer.misc,comp.windows.ms.programmer
- Subject: Re: Known Compiler Bug In BC++ v3.1....
- Message-ID: <4625@balrog.ctron.com>
- Date: 30 Jul 92 13:34:43 GMT
- References: <1992Jul22.130358.9250@cs.odu.edu>
- Sender: usenet@balrog.ctron.com
- Reply-To: frankp@olympus.ctron.com (Frank Perreault)
- Followup-To: comp.os.ms-windows.programmer.misc
- Organization: Cabletron Systems INc.
- Lines: 26
- Nntp-Posting-Host: olympus
-
- In article <1992Jul22.130358.9250@cs.odu.edu> popkin@viatka.cs.odu.edu (Brian N. Popkin) writes:
- >Dear Netters:
- >
- >I am having alot of problems with bc++v3.1 and have heard that
- >it is a compiler bug.. I cannot get any of my functions to
- >export.. I have used the smartcallbacks too and cannot get them
- >to export. I am also used the -We option and _export option..
- >
- >Does anybody have any suggestions?? My windows program has
- >only a dialog procedure and WndProc..
- >
-
- Brian,
-
- I have found that with the Borland Compiler their are only two ways to insure
- that your functions are getting exported. One, set up things so that all
- functions are exportable (a big memory pig for large apps) or two, put the
- keyword _export in the functions/function declarations for the ones that you
- want to export.
-
- It seems that you can have a .DEF file with a list of functions to export and
- without the _export keyword they still will not get exported, so you may want
- to give this a try. You can run a TDUMP of the DLL after you link to check to
- see if the function was in fact exported.
-
- --- Frank ---
-