Re: Calling dll function causes program to end
- Posted by ghaberek (admin) Jan 04, 2014
- 1447 views
ryanj said...
What would cause a euphoria program to just die with no explanation whenever i try to call a certain function in a dll file? The function is supposed to return an error (or success), but it just ends the program. No machine exception, no error message. It just....ends.
Typically that would be associated with a machine-level crash or some other out-of-range memory access attempt. Which function in which DLL are you calling?
Make sure you mind your pointers (don't pass a value that should be a pointer to a value, or vice-versa). Can you provide the function signature?
-Greg