Tuesday, 15 September 2015

delphi - EPackageError caused by a unit that is implicitely imported -



delphi - EPackageError caused by a unit that is implicitely imported -

i'm involved in delphi xe5 project , i'm facing problem not solve. have delphi project grouping conists of 1 exe; exe loads multiple runtime bpl's dynamically. these bpl's part of project group. however, when run application, got error 'project {myproject.exe} raised exception class epackageerror message 'cannot load bundle 'pumpmethod'. contains unit 'fledit', contained in bundle 'extractionunitmethod'.

i searched on so, , i've found cause. is "implicitly imported" bad thing in delphi packages? of big help. during compilation, both bpl's of project, emit next message:

[dcc32 warning] pumpmethod.dpk(46): w1033 unit 'fledit' implicitly imported bundle 'pumpmethod'

other 1 well:

[dcc32 warning] extractionunitmethod.dpk(46): w1033 unit 'fledit' implicitly imported bundle 'extractionunitmethod'

but point fledit, textbox command allows input of floats, part of installed package. package, 'spark190.bpl', contains control, , fledit unit. i've registered , command appears on tool palette. project control:

there project dclspark190.bpl, design time bundle (contains registering of controls). when close project grouping , create new one, can drag/drop 'my float edit' on form, , runs fine.

when open project grouping exe, , build bpl's got message:

this 1 time again seems okay me. spark bundle (with fledit) included in 'requires' list:

but when compile again, 'the next changes...' shown again. looks abnormal me; spark bpl included in requires list? so:

q1: why happening? bug in delphi xe5? wrong here?

also, 'fledit' implicitly imported bundle 'pumpmethod' still not away:

so:

q2: think i've set fledit in separate bundle 'spark'. both bpl's contain 'spark' in required bundle list, still warning (w1033) shown. else can do?

delphi ide package packages

No comments:

Post a Comment