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 » U++ Library support » U++ Core » DLI doc fix
DLI doc fix [message #28568] Tue, 07 September 2010 15:45 Go to next message
koldo is currently offline  koldo
Messages: 3355
Registered: August 2008
Senior Veteran
Hello all

In DLI doc here http://www.ultimatepp.org/srcdoc$Core$DLI$en-us.html there are things that perhaps is necessary to fix:

- #define DLLCALL LNPUBLIC
If I put this line I get errors. Removing it everything works fine.

- It is said:
Quote:

place
#define DLLFILENAME "nnotes.dll"
#define DLIMODULE   NOTES
#define DLIHEADER   <notes/notes.dli>
#define DLLCALL     LNPUBLIC
#include <Core/dli_header.h>

to common header file and
#define DLLFILENAME "nnotes.dll"
#define DLIMODULE   NOTES
#define DLIHEADER   <notes/notes.dli>
#define DLLCALL     LNPUBLIC
#include <Core/dli_header.h>

to some .cpp file


I think in the .cpp file it has to appear:
#include <Core/dli.h>


instead of
#include <Core/dli_header.h>


Best regards
Iñaki
Re: DLI doc fix [message #28572 is a reply to message #28568] Tue, 07 September 2010 17:07 Go to previous messageGo to next message
andrei_natanael is currently offline  andrei_natanael
Messages: 262
Registered: January 2009
Experienced Member
koldo wrote on Tue, 07 September 2010 16:45


I think in the .cpp file it has to appear:
#include <Core/dli.h>


instead of
#include <Core/dli_header.h>


There should be
#include <Core/dli_source.h>

dli.h is if you want to use DLI in one file(.cpp) only.
Re: DLI doc fix [message #28573 is a reply to message #28572] Tue, 07 September 2010 17:08 Go to previous messageGo to next message
andrei_natanael is currently offline  andrei_natanael
Messages: 262
Registered: January 2009
Experienced Member
P.S.: Is the same as with IML.
Re: DLI doc fix [message #28580 is a reply to message #28572] Tue, 07 September 2010 22:18 Go to previous message
koldo is currently offline  koldo
Messages: 3355
Registered: August 2008
Senior Veteran
andrei_natanael wrote on Tue, 07 September 2010 17:07

koldo wrote on Tue, 07 September 2010 16:45


I think in the .cpp file it has to appear:
#include <Core/dli.h>


instead of
#include <Core/dli_header.h>


There should be
#include <Core/dli_source.h>

dli.h is if you want to use DLI in one file(.cpp) only.

Even better.

It is only a matter of confirming it to be documented Smile.


Best regards
Iñaki
Previous Topic: Problem and fix in LocalProcess
Next Topic: [BUG&FIX] LocalProcess can not be reused
Goto Forum:
  


Current Time: Fri Mar 29 15:27:13 CET 2024

Total time taken to generate the page: 0.01055 seconds