DLL library for Solid C

Sprinter Computer http://sprinter.nedopc.org

Moderator: Shaos

User avatar
Shaos
Admin
Posts: 24080
Joined: 08 Jan 2003 23:22
Location: Silicon Valley

DLL library for Solid C

Post by Shaos »

Using Shaos's DLL in Solid C compiler - SC_DLL.ZIP (18K)

Author: Vasil Ivanov
/* LOADDLL */

#include <stdlib.h>

int loaddll("name.ext");

// functions loads DLL-library by name in 3rd memory window
// and returns handle or -1 if error


/* FREEDLL */

#include <stdlib.h>

int freedll(handle);

// function closes DLL-library by handle
// and returns 0 if allright or -1 if error


/* CALLDLL */

#include <stdlib.h>

int calldll(handle, func, &inregs);

// function calls procedure from library ba handle
// func is number of procedure
// inregs is REGS union for parameters
// it returns handle or -1 if error


/* INFODLL */

#include <stdlib.h>

int infodll(handle, buffer);

// function copys loaded library info to buffer
// in format of library header (32 bytes)
// and returns handle or -1 if error
Я тут за главного - если что шлите мыло на me собака shaos точка net