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 » Community » Newbie corner » How to create a U++ based DLL?
Re: How to create a U++ based DLL? [message #38694 is a reply to message #38690] Mon, 07 January 2013 16:24 Go to previous messageGo to previous message
lectus is currently offline  lectus
Messages: 329
Registered: September 2006
Location: Brazil
Senior Member
koldo wrote on Mon, 07 January 2013 02:50

281264 wrote on Sun, 06 January 2013 16:24

Quote:


3. Call it Smile



How to do it?

Javier

Hello Javier

If you want to call a function inside a DLL you can do it from another project, a normal .exe.

For that you can do it in different ways. The U++ way is using DLI files. If you want to have low level control you can use the Bazaar/Functions4U way.




Also on Windows you can use these functions:
LoadLibrary
http://msdn.microsoft.com/en-us/library/windows/desktop/ms68 4175(v=vs.85).aspx

GetProcAddress
http://msdn.microsoft.com/en-us/library/windows/desktop/ms68 3212(v=vs.85).aspx

Of course it's a non-portable way. Only works in Windows.

It's better to use U++ DLI interface.

[Updated on: Mon, 07 January 2013 16:26]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Per file compile flags
Next Topic: Ultimate++ vs WTL and others?
Goto Forum:
  


Current Time: Sun May 05 00:31:30 CEST 2024

Total time taken to generate the page: 0.02864 seconds