Changeset 1679 for cprs/trunk/CPRS-Chart/fVitals.pas
- Timestamp:
- May 7, 2015, 12:34:29 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/trunk/CPRS-Chart/fVitals.pas
r830 r1679 170 170 var 171 171 VLPtVitals : TGMV_VitalsViewForm; 172 GMV_FName ,173 GMV_LibName: String;172 GMV_FName: String; 173 174 174 begin 175 175 { Availble Forms: … … 180 180 } 181 181 GMV_FName :='GMV_VitalsViewDLG'; 182 GMV_LibName :='GMV_VitalsViewEnter.dll'; 183 GMV_LibName := GetProgramFilesPath + SHARE_DIR + GMV_LibName; 184 if VitalsDLLHandle = 0 then 185 VitalsDLLHandle := LoadLibrary(PChar(GMV_LibName)); 182 LoadVitalsDLL; 186 183 // UpdateTimeOutInterval(5000); 187 184 if VitalsDLLHandle <> 0 then … … 200 197 end 201 198 else 202 MessageDLG('Can''t find library "'+GMV_LibName+'".',mtError,[mbok],0);199 MessageDLG('Can''t find library '+VitalsDLLName+'.',mtError,[mbok],0); 203 200 @VLPtVitals := nil; 204 if VitalsDLLHandle <> 0 then 205 begin 206 FreeLibrary(VitalsDLLHandle); 207 VitalsDLLHandle := 0; 208 end; 209 // if DLLForceClose then // jm - removed as part of timeout fix 210 // frmFrame.Close; // Fix for CQ: 7535 // jm - removed as part of timeout fix 201 UnloadVitalsDLL; 211 202 end; 212 203
Note:
See TracChangeset
for help on using the changeset viewer.