FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
Herramientas | Buscar en Tema | Desplegado |
#1
|
|||
|
|||
Problemas com BPL y DLL de VB6
Hola..
espero me puedan ayudar con este problemita. Resulta que estoy haciendo 2 bpl que usan la misma dll , por algun motivo al momento de ejecutar el programa q usa estas bpl, solo me levanta 1 de ellas. Se que el problema es al usar la dll, ya que si comento al archivo mi_dll_TLB que esta en el uses de una de mis bpls estas si levantan. La dll que estoy usando la cree en vb 6.0, Esta la importe a mi proyecto "import type library". |
#2
|
||||
|
||||
¿Has tenido esto en cuenta?
{ 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. }
__________________
Germán Estévez => Web/Blog Guía de estilo, Guía alternativa Utiliza TAG's en tus mensajes. Contactar con el Clubdelphi P.D: Más tiempo dedicado a la pregunta=Mejores respuestas. |
|
|
|