hello friends Somebody knows the command to compile a DLL( v 1.76? of hla).
///////////////////////////////

unit MyDll;
#include ( "w.hhf" );
static

Procedure dll(Instance:dword;reason:dword; reserved :dword);
? ? ? ? ? ?@stdcall; @external("_dll@12");

procedure dllFunc1 (dw:dword); @stdcall; @external("_dllfunc1@4") ;


Procedure dll(Instance:dword;reason:dword; reserved :dword); @nodisplay;
begin dll;

mov(Instance, eax);
if (reason = w.DLL_PROCESS_ATTACH) then

endif;

mov (true,eax);

end dll ;? ? ? ?

procedure dllFunc1(dw:dword); @nodisplay;

begin dllFunc1;
mov (eax,dw);
end dllFunc1;

end MyDll;

//////////////////////////////////

C:\hla\Project\dll>fhla -w mydll.hla
flat assembler? version 1.56
2 passes, 368 bytes.
POLINK: error: Unresolved external symbol '_HLAMain'.
POLINK: fatal error: 1 unresolved external(s).
Error returned by polink = 1

Posted on 2005-06-27 16:19:06 by OberonHla
Hi OberonHla,

see makefile in folder C:\hla\examples\HLA.dll
Posted on 2005-07-02 16:54:12 by arlequin
Wattttttttt??
Posted on 2005-07-02 18:00:45 by OberonHla
ok, download HLA Examples/Sample Code

HLA.dll folder in hlaexamples.zip contains sample code to make a dll
Posted on 2005-07-03 16:29:04 by arlequin
thanks friends...
Posted on 2005-07-05 14:53:58 by OberonHla