add task       

Task ID:  975  hard coded paths in apsim.exe    
 
Created by devoil on 2009-07-24 3:04 PM, 412 days ago
Project:  Module Code
Category:  Bug
Priority:  medium
Assigned to:  hol353  
Status:  closed
Apsim Version:
Your Name:
Contact Details:
 
  Comment: Entering "bugid#999" in comment creates link to id 999
 

show inline images      show change history

 comment 30721 posted by hol353 on 2009-07-29 12:18 PM, 407 days ago    forward
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, 412 days ago    forward
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)