Wiki Page Content

Revision 5 as of 2013-08-07 23:45:18

Clear message

SDL_LoadObject

Use this function to dynamically load a shared object and return a pointer to the object handle.

Syntax

void* SDL_LoadObject(const char* sofile)

Function Parameters

sofile

a system dependent name of the object file

Return Value

Returns a pointer to the object handle or NULL if there was an error; call SDL_GetError() for more information.

Code Examples

#include "SDL_loadso.h"

// Dynamically load mylib.so
SDL_LoadObject("mylib.so");

Remarks

You can add useful comments here


CategoryAPI, CategorySharedObject

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit