add new task       

Task ID:  975  hard coded paths in apsim.exe    
Created by devoil on 2009-07-24 3:04 PM, 3494 days ago
Project:  Module Code
Category:  Bug
Priority:  medium
Assigned to:  hol353  
Status:  closed
Apsim Version:7.0
Your Name:
Contact Details:

show inline images      show change history

 comment 32122 posted by guest on 2011-01-09 2:31 PM, 2960 days ago 
 comment 30721 posted by hol353 on 2009-07-29 12:18 PM, 3489 days ago 
I've fixed this to assume the component interface dll is located in the same directory as the current executing dll (which will be protocol.dll).
 comment 30711 posted by devoil on 2009-07-24 3:04 PM, 3494 days ago 
When loading an apsim module dll, the component interface dll has a "%apsim%/Model" path prepended. This means foreign dlls cannot be loaded even if their location is properly specified in the .sim file

Search source tree for "/Model".

(from al D & nick H)