Club Delphi  
    Paypal   FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Principal > Varios
Registrarse FAQ Miembros Calendario Guía de estilo Temas de Hoy

Coloboración Paypal con ClubDelphi

 
 
Herramientas Buscar en Tema Desplegado
  #1  
Antiguo 24-04-2013
Avatar de elcharlie
elcharlie elcharlie is offline
Miembro
 
Registrado: mar 2013
Ubicación: Bilbao
Posts: 193
Poder: 14
elcharlie Va por buen camino
Reducir Tamaño DLL en XE3

Buenas:
Estoy Utilizando por primera vez el Delphi XE3, y al crear una dll, veo que al generarla ocupa 1.5 megas en release y 10 mb en debug, y en delphy 7 100 kb.
La dll no tiene nada, es una chorrada, pero no consigo bajarle el tamaño. He estado mirando por ahi, pero aun asi no consigo bajarle mas que 300 kb.
Alguien Sabe algo?
dejo el codigo por si alguien quiere hacer la prueba
Código Delphi [-]
library UnioxDll;

{ Important note about DLL memory management: ShareMem must be the
  first unit in your library's USES clause AND your project's (select
  Project-View Source) USES clause if your DLL exports any procedures or
  functions that pass strings as parameters or function results. This
  applies to all strings passed to and from your DLL--even those that
  are nested in records and classes. ShareMem is the interface unit to
  the BORLNDMM.DLL shared memory manager, which must be deployed along
  with your DLL. To avoid using BORLNDMM.DLL, pass string information
  using PChar or ShortString parameters. }

{$IF CompilerVersion >= 21.0}
{$WEAKLINKRTTI ON}
{$RTTI EXPLICIT METHODS([]) PROPERTIES([]) FIELDS([])}
{$IFEND}
uses
  System.SysUtils,
  Vcl.Forms,
  System.Classes;

{$R *.res}

function Mensaje( mensaje: PAnsiChar):boolean;stdcall;
var
 mens: String;
begin
  mens:= String(mensaje);
  Application.MessageBox(pChar(mens),'',0);
  result:= True;
end;

exports Mensaje;
begin
end.
Responder Con Cita
 



Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro

Temas Similares
Tema Autor Foro Respuestas Último mensaje
Reducir tamaño de un ejecutable mrmanuel Varios 12 23-08-2013 02:35:30
Reducir el tamaño de una imagen pablopessoa Varios 6 11-10-2008 13:18:40
Reducir tamaño bmp atos Impresión 0 18-07-2008 11:43:02
reducir tamaño del LOG orodriguezc MS SQL Server 3 09-03-2004 14:50:35


La franja horaria es GMT +2. Ahora son las 16:52:34.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi