Page 1 of 1

c 3001 MEMORY OVERBOOKED

PostPosted: Fri May 19, 2006 9:26 am
by ik1mtt
Ho avuto molti problemi (C 3001 MEMORY OVERBOOKED) durante la
compilazione, leggendo sui forum ho visto che a molti succede
la stessa cosa, io ho risolto tutto compilando nel seguente modo,
non so perchè, evidentemente compilavo in modo errato!


*------------------
Comp.BAT

@ECHO OFF
ECHO Compiling...

clipper TEST /ES2/M/N..@\fw24\include %2 %3
clipper UNO /ES2/M/N..@\fw24\include %2 %3
clipper DUE /ES2/M/N..@\fw24\include %2 %3
clipper TRE /ES2/M/N..@\fw24\include %2 %3

ECHO Linking...

blinker fi test,uno,due,tre @test.lnk

IF ERRORLEVEL 1 GOTO LINKERROR
ECHO * Application successfully built
ECHO.

GOTO EXIT

:LINKERROR
PAUSE * Linking errors *
GOTO EXIT

:EXIT

TEST

*-----------------------------

Test.LNK

blinker incremental OFF
blinker clipper symbol OFF

PACKCODE
DEFBEGIN
name Fivewin
description 'Clipper for Windows library'
exetype Windows 3.1
code moveable discardable preload
data preload moveable
stacksize 9500
heapsize 8520
segment 'PLANKTON_TEXT' nondiscardable
segment 'EXTEND_TEXT' nondiscardable
segment 'OM_TEXT' nondiscardable
segment 'OSMEM_TEXT' nondiscardable
segment 'SORTOF_TEXT' nondiscardable
segment 'STACK_TEXT' nondiscardable
DEFEND
NOBELL

SEARCH Five, FiveC, Objects
LIB WinApi, Clipper, Extend, DbfNtx, Terminal

PostPosted: Fri May 26, 2006 6:23 am
by Antonio Linares
There are several solutions:

* Compile using Clipper 5.2 and link Clipper 5.3 libraries.

* Remove unused CH files from FiveWin.ch

* Use Borland maker.exe instead of rmake.exe