Wiki Page Content

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.h"

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

Remarks

You can add useful comments here


CategoryAPI, CategorySharedObject

None: SDL_LoadObject (last edited 2017-03-11 22:55:32 by PhilippWiesemann)

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