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 » Developing U++ » U++ Developers corner » Curiosities around DLLs
Curiosities around DLLs [message #37090] Tue, 21 August 2012 15:10
koldo is currently offline  koldo
Messages: 3355
Registered: August 2008
Senior Veteran
Hello all

This morning I have been playing with two U++ Core projects:
1. A DLL with "Optimal" mode with/without SSE2 and MT
2. Loading 1. using LoadLibrary() in "Optimal" and "Debug".

Both compiled with MSC9 and MINGW.

Curious things:

- If DLL is compiled with MINGW and SSE2, LoadLibrary cannot load it. It gives a 998 error (Invalid Access Memory Location).

- Running 2 in "Debug" (MSC only) with F5 calling DLL compiled MT, code in DLL goes slow. The same with Ctrl-F5, code in DLL goes fast. If DLL is compiled ST it always goes fast. It happens the same compiling DLL with MSC or MINGW.

DLL code uses TLS but it is not calling threads for now.

Do you know the reasons of this?


Best regards
IƱaki
Previous Topic: Win64 debugging
Next Topic: Skylark modules?
Goto Forum:
  


Current Time: Fri Mar 29 15:09:15 CET 2024

Total time taken to generate the page: 0.01563 seconds