Ver Mensaje Individual
  #3  
Antiguo 07-06-2005
brandolin brandolin is offline
Miembro
 
Registrado: jul 2003
Ubicación: Mendoza
Posts: 324
Reputación: 21
brandolin Va por buen camino
siempre es bueno leer los comentarios.... en este caso la solucion a mi problema lo ponia el mismo delphi en un comentario cuando se crea la DLL y dice asi:

{ 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. }


Traduciendo se puede ver que la solucion a mi problema es colocar la sharemem y distribuir con mi aplicacion la dll BORLNDMM.DLL o bien remplazar todos los String por un ShortString. Esto ultimo fue lo que hice y funciono a las mil maravillas.....

Gracias JOSEPE por el consejo... sirvio de mucho...
Responder Con Cita