Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register
  • Index
  • » Users
  • » cistian.stefan
  • » Profile

Posts

Posts

Aug-13-13 18:55:11
How to include a dll file in Dymola?

Hello,

@Koldo: I don't know what you mean by creating a lib using LoadLibrary(). Can you expand on that? Thanks!

@Gora: I already tried that , but it only shows you how to call functions from a .lib library and not a .dll . The only thing they say about using dll's is that you can use a wrapper function which I don't know exactly how it works.

Best regards,

Cristian

Jul-26-13 11:51:11
How to include a dll file in Dymola?

Hello everybody,

I managed to use an external function from a .lib file using:

annotation(Include="#include <add2.h>", Library="ext");

But I currently have the actual functions stored in a dll. Can I include the dll somehow?

Thanks!

Cristian Stefan

Jul-05-13 13:10:15
Can you call a function within an external dll without using a wrapper
Category: Programming

Hello,

I managed to use an external function from a .lib file using:

annotation(Include="#include <add2.h>", Library="ext");

But I currently have the actual functions stored in a dll. I read in the Dymola Manual that you have to use a wrapper to call the function from within the dll. Isn't there meanwhile a way around it?

Thanks!

Cristian Stefan

  • Index
  • » Users
  • » cistian.stefan
  • » Profile
You are here: