report windows error message
This commit is contained in:
parent
9798f880f9
commit
d0f3f64bf8
4 changed files with 90 additions and 30 deletions
|
@ -2,11 +2,12 @@
|
|||
|
||||
typedef void (*func_handle)();
|
||||
|
||||
int main()
|
||||
{
|
||||
struct hotwire_dll_t dll = hw_dlopen("./bin/exampleUnixLib.dll", RTLD_NOW);
|
||||
int main() {
|
||||
struct hotwire_dll_t dll = hw_dlopen("./bin/exampleUnixLib.dll", RTLD_NOW);
|
||||
|
||||
func_handle func = (func_handle)hw_dlsym(dll, "test");
|
||||
func_handle func = (func_handle)hw_dlsym(dll, "test");
|
||||
|
||||
func();
|
||||
func();
|
||||
|
||||
hw_dlclose(dll);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue