nedoPC.org

Electronics hobbyists community established in 2002
Atom Feed | View unanswered posts | View active topics It is currently 28 Mar 2024 06:42



Reply to topic  [ 1 post ] 
DLL library for Solid C 
Author Message
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22409
Location: Silicon Valley
Reply with quote
Using Shaos's DLL in Solid C compiler - SC_DLL.ZIP (18K)

Author: Vasil Ivanov

Quote:
/* 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


_________________
:dj: https://mastodon.social/@Shaos


25 Nov 2004 17:55
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.