Languages :: Pascal :: Free Pascal / FPC / Lazarus : Error: Undefined symbol: WSRegisterMenu |
|||
| By: Bernard |
Date: 13/05/2010 09:07:31 |
Points: 20 | Status: Answered Quality : Excellent |
|
Bonjour, je suis étudiant, et je travaille sous Lazarus. Il y a toujours la même erreur qui revient à la compilation (même pour le plus simple programme possible): MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterCustomImageList MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterMenuItem MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterMenu MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterMainMenu MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterPopupMenu MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterDragImageList MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterControl MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterWinControl MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterGraphicControl MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterCustomControl MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterScrollingWinControl MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterScrollBox MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterCustomFrame MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterCustomForm MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterHintWindow MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterCustomScrollBar MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterCustomGroupBox MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterCustomComboBox MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterCustomListBox MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterCustomEdit MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterCustomMemo MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterButtonControl MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterCustomButton MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterCustomCheckBox MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterToggleBox MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterRadioButton MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterCustomStaticText MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterCustomLabel MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterCustomBitBtn MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterCustomSpeedButton MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterCustomPage MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterCustomNotebook MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterShape MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterCustomSplitter MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterPaintBox MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterCustomImage MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterBevel MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterCustomRadioGroup MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterCustomCheckGroup MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterCustomLabeledEdit MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterCustomPanel MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterCustomTrayIcon MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterCommonDialog MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterFileDialog MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterOpenDialog MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterSaveDialog MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterSelectDirectoryDialog MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterColorDialog MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterColorButton MySMTP_ser.lpr(21,1) Error: Undefined symbol: WSRegisterFontDialog MySMTP_ser.lpr(21,1) Fatal: There were 50 errors compiling module, stopping |
|||
| By: VGR | Date: 13/05/2010 09:10:17 | Type : Answer |
|
| the solution is difficult to google up. It's here http://www.lazarus.freepascal.org/index.php/topic,7143.0.html : simply add the Interfaces unit to your uses clause, before (eventually) Forms. Personally, mine (program doesn't use Forms) looks like this : uses { standard or compatible units } Windows, Messages, SysUtils, Classes, Interfaces etc HTH |
|||
|
Do register to be able to answer |
|||
©2010 These pages are served without commercial sponsorship. (No popup ads, etc...). Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Please DO link to this page!








