Re: Allegro 5 Wrapper Error

new topic     » goto parent     » topic index » view thread      » older message » newer message
Lone_EverGreen_Ranger said...

Hello,

I am having a issue when trying to wrap Allegro 5. I have most of the library wrapped, but when I try to use it an example, I get this a machine-level exception occured during execution of this statement. Here's the code below

Wrapper code

 
include std/machine.e 
include std/dll.e 
 
atom allg 
 
allg = open_dll("allegro-5.0.9-monolith-mt-debug.dll") 

That "mt" in the DLL is a red flag to me. That usually stands for multi-threaded, which can lead to problems, since euphoria is single threaded (actually, non-Windows versions use threads for tasks, but it works like it's single threaded).

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu