From: "bowman" Newsgroups: comp.os.msdos.djgpp References: <8_2Z2.1441$mW3 DOT 11003 AT newsfeed DOT slurp DOT net> Subject: Re: MainWndProc(HWND wnd, WORD message, WORD wParam, DWORD lParam) Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Message-ID: Date: Sat, 8 May 1999 19:05:00 -0600 NNTP-Posting-Host: 208.4.224.170 X-Trace: newsfeed.slurp.net 926211961 208.4.224.170 (Sat, 08 May 1999 20:06:01 CDT) NNTP-Posting-Date: Sat, 08 May 1999 20:06:01 CDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com miller matthew william wrote in message news:Pine DOT SOL DOT 3 DOT 96 DOT 990508191453 DOT 10563A-100000 AT ux8 DOT cso DOT uiuc DOT edu... > > LONG FAR PASCAL EXPORT MainWndProc(HWND, WORD, WORD, DWORD); > BOOL FAR PASCAL EXPORT AboutBoxDialog(HWND, WORD, WORD, DWORD); I don't think EXPORT ever gets defined in the current Win32 headers. I am not sure it was ever used in MS Win16 either. There was an 'EXPORTS' keyword in the old .def files. Old MS or Borland code needs a little work before it will compile under Win32. Doing a 'grep' on the headers should turn up missing user defined types and changes in function prototypes.