re: TDump. Right. I understood what you were saying.
 
re: packages. I haven't modified anything, I just want to repackage the units 
that my project uses to exlude the unused units. (just to make sure we're 
talking about the same thing: create a new package, add RTL to the Requires 
section, then right click, and open. Now, in the new window, right click on 
package name and "save". It will prompt you to save it with a new name. You can 
then save it and compile it (it will compile if you've included all implicit 
units as well). It creates new compiled dcu's too, so the source can be 
recompiled. I thought it would work when I got this far, but then my app. 
complained about the versions of the new units when I swapped my package for 
RTL. The problem doesn't seem to be caused by anything peculiar to Borland 
products, just with their versioning feature. I think it would happen to 3rd 
party packages too.. although I haven't tested it yet.
 
Dave
 

Rob Kennedy <[EMAIL PROTECTED]> wrote:
David Smith wrote:
> Thanks Rob, I didn't know you could do that recursive thing with
> Tdump.

I think I was unclear. Tdump does not operate recursively. That part is
manual. Just invoke Tdump on each of the modules that it lists for your
program. Keep doing that until Tdump no longer mentions any modules you
haven't already processed.

> Are you referring to D7 and above with the platform SDK reference?

No, I'm refering to the actual software-development kit. *Not* the help
file. (Definitely not the help file that comes with anything Borland
ever released!) I mean the headers, and the build tools, and lib files,
and all the hundreds of megabytes you can download from Microsoft.

> I have a question on creating custom runtime packages:
> 
> I ran into a snag with the versions. I tried to recompile just the
> rtl units my project uses instead of the whole rtl for example, but
> it didn't like my recompiled units, complaining that they are a 
> different version. Is there a way around this problem?

By "RTL units," are you talking about Borland's source files, the ones
that appear in Rtl70.bpl? If so, don't recompile those. Doing that means
you can't use Borland's run-time packages, or any other packages
compiled against those packages. You'll instead need to recompile
*everything* to use your custom-built package.

If you're recompiling packages that are meant to be recompiled (which
excludes just about anything you got from Borland), then you should be
able to do it without the cascading recompile if all you've changed is
the implementation section of a unit. If you delete or move anything in
the interface section of a unit, then any units that use that unit will
probably need to be recompiled, too.

-- 
Rob


-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 



---------------------------------
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/delphi-en/
  
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to