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 » CreateSymbolicLink doesn't compile using MinGW
Re: CreateSymbolicLink doesn't compile using MinGW [message #49146 is a reply to message #49145] Tue, 26 December 2017 17:57 Go to previous messageGo to previous message
Klugier is currently offline  Klugier
Messages: 1076
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello,

The compilation error occurred, because you are trying to use WinAPI without including header appropriate header. In your case it is winbase.h. Please notice that by including Core.h system header is never inherit. Core library must work in multi-platform environment, so doing such a thing would be bad.

Moreover when you decide to use CreateSymbolicLink your application will not compile on other platforms such as Linux without modification or writing ifdef blocks.

As far as I know U++ doesn't offer support for SymLink, but i might be wrong.

Sincerely,
Klugier


U++ - one framework to rule them all.
 
Read Message
Read Message
Read Message
Previous Topic: ParseJSON now throws exception
Next Topic: _mm_pause not defined
Goto Forum:
  


Current Time: Fri Apr 19 18:47:47 CEST 2024

Total time taken to generate the page: 0.03248 seconds