[Dev-C++] WINDRES & MAKE Problems with DEV-C++
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <dav...@st...> - 2002-07-22 02:56:23
|
Hi! I have recently started using DEV-C++ and my first project was to port some existing software which compiled with no problem on Borland BCC5.5 compiler to the DEV-C++ platform. I had few problems but here are the two that I found: 1) WINDRES reports the following error from these three lines of RESOUCE code: RESOURCE CODE ~~~~~~~~~~~~~ "?", IDM_ABOUT, ALT "/", IDM_ABOUT, ALT "x", IDM_EXIT, ALT ERROR MSG ~~~~~~~~~ inappropriate modifiers for non-VIRTKEY inappropriate modifiers for non-VIRTKEY inappropriate modifiers for non-VIRTKEY I checked with the Win32 API documentation regarding accelerators and my resource code is correct (I think). I have found that despite the error messages, the resulting .RES file has the correct accelerators but it would be nice to have no errors. 2) In my project, the MAKE produces the following link command: g++.exe ../Source/VlogData.o ../Source/AutoGRNEngine.o ../Source/CComm.o ../Source/ConfigData.o ../Source/DateTime.o ../Source/Dialogs.o ../Source/ImportFiles.o ../Source/LocalDB_Queries.o ../Source/Lot.o ../Source/S2LiveDB_Queries.o ../Source/SendMail.o ../Source/Shipment.o ../Source/ShipmentAck.o ../Source/ShipmentContent.o ../Source/SPN_Queries.o ../Source/UtilityFunctions.o ../Source/AutoGRN.o AutoGRN.res -o "..\AutoGRN.exe" -L"d:/progra~1/Dev-C++/lib" -l"odbc32" -l"wsock32" -I"d:/progra~1/Dev-C++/include" -I"D:/Progra~1/Dev-C++/include/g++-3" -I"d:/progra~1/Dev-C++/include" -I"../Include" -s -mwindows This however generates a 'BAD COMMAND OR FILENAME' error. The problem seems to be the output section: -o "..\AutoGRN.exe" If I change this to -o"..\AutoGRN.exe" (remove the space) then it compiles fine. This is an annoying problem as the purpose of an IDE is to be able to build your .EXE with one interface and no unnecessary manual intervention. Some more features to control the MAKE build into DEV-C++ would be nice. Is it planned? One last point, I spent some time figuring out how to use DEV-C++. It would be nice to have some help package but none came with installation I downloaded (4.9.4.1). I saw some references to a DEVCPP.HLP file on the Internet but couldn't find one. Could you please advise where I can get good help documentation which can be downloaded to the PC. (I am not always in a position to get online docs.) Thanks and regards, David :-> P.S. So far, I am very impressed with DEV-C++. Good work. |