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++ MT-multithreading and servers » Required simple MT lesson
Re: Required simple MT lesson [message #40831 is a reply to message #40829] Sat, 21 September 2013 20:15 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

mubeta wrote on Sat, 21 September 2013 19:35

Quote:

The error you describe seems as if you try to call the methods of Bus() before Bus().Load("something.dll") or Bus().SetLibName("something.dll") was called. If I'm looking correctly, you only call Bus().Load() inside the loop if openBus == true, while this code is in the else branch.


Uhmmm... I understand what do you mean. It's possible. But using dli, the declared dll functions are loaded by default when the application start. In the program I use Load() function only for change the used library.

Yes, it can be loaded automatically, but if I'm not mistaken it can only be done if you give a full path when you define DLIFILENAME or when the dll can be found on system path.

Honza
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: TcpSocket: send data from server to client
Next Topic: INTERLOCK and Mutex object
Goto Forum:
  


Current Time: Thu May 09 15:47:27 CEST 2024

Total time taken to generate the page: 0.01988 seconds