Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Extra libraries, Code snippets, applications etc. » Applications created with U++ » How to load dll
How to load dll [message #27714] Fri, 30 July 2010 12:23 Go to next message
ratah is currently offline  ratah
Messages: 107
Registered: July 2010
Experienced Member
Hi,

I have a project in C++ and want to migrate to ultimate++.
Some functions are into a dll and i don't know how to import them into my u++ project!

Thank you
Re: How to load dll [message #27718 is a reply to message #27714] Fri, 30 July 2010 13:44 Go to previous messageGo to next message
jerson is currently offline  jerson
Messages: 202
Registered: June 2010
Location: Bombay, India
Experienced Member

I have a similar situation. I need to make calls to some APIs of a data acquistion card. Any ready examples to follow? I am a newbie to C++ and UPP, so if it is covered somewhere, I'd appreciate some pointers.

Thank you
Re: How to load dll [message #27726 is a reply to message #27718] Fri, 30 July 2010 15:33 Go to previous messageGo to next message
andrei_natanael is currently offline  andrei_natanael
Messages: 262
Registered: January 2009
Experienced Member
DLI is what you need.
Re: How to load dll [message #27730 is a reply to message #27726] Fri, 30 July 2010 16:19 Go to previous messageGo to next message
ratah is currently offline  ratah
Messages: 107
Registered: July 2010
Experienced Member
That's great, thanky you,

I will try it and inform you about the result

Have a nice WE

Ratah
Re: How to load dll [message #27739 is a reply to message #27730] Sat, 31 July 2010 08:39 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3354
Registered: August 2008
Senior Veteran
Hello

Here you have another C-like option:

http://www.ultimatepp.org/src$Functions4U$Dll$en-us.html


Best regards
Iñaki
Re: How to load dll [message #27762 is a reply to message #27739] Mon, 02 August 2010 11:31 Go to previous messageGo to next message
ratah is currently offline  ratah
Messages: 107
Registered: July 2010
Experienced Member
Hi,

Thank you I will try that and inform you the success!!

A+
Re: How to load dll [message #27884 is a reply to message #27762] Mon, 09 August 2010 11:58 Go to previous messageGo to next message
ratah is currently offline  ratah
Messages: 107
Registered: July 2010
Experienced Member
Hi,

I use the Function4U, it's OK!!!

Now my question is:

Instead of .dll i want to use Library of my compiler (a GCC on windows) such as libws2_32.a

How to do that?

Thank you
Re: How to load dll [message #27898 is a reply to message #27884] Mon, 09 August 2010 23:55 Go to previous message
koldo is currently offline  koldo
Messages: 3354
Registered: August 2008
Senior Veteran
Hello Ratah

Good question Smile

Perhaps the worst solution you will ever heard is, to do a .dll statically linked to your .a lib, and just loading it.

However it will work Smile


Best regards
Iñaki
Previous Topic: Distance - geodesic - Vincenty - very accurate
Next Topic: WordNet 3.0 browser
Goto Forum:
  


Current Time: Thu Mar 28 13:41:12 CET 2024

Total time taken to generate the page: 0.02414 seconds