Changeset 1679 for cprs/trunk/CPRS-Chart/Encounter/fEncVitals.pas
- Timestamp:
- May 7, 2015, 12:34:29 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/trunk/CPRS-Chart/Encounter/fEncVitals.pas
r829 r1679 403 403 404 404 {== Vitals Lite 2004-05-21 ===================================================} 405 if VitalsDLLHandle <> 0 then 406 begin 407 FreeLibrary(VitalsDLLHandle); 408 VitalsDLLHandle := 0; 409 end; 405 UnloadVitalsDLL; 410 406 {== Vitals Lite 2004-05-21 ===================================================} 411 407 inherited; … … 429 425 430 426 procedure TfrmEncVitals.FormShow(Sender: TObject); 431 var432 GMV_LibName: String;433 427 begin 434 428 inherited; 435 429 //Begin Vitals Lite 436 430 {Visit is Assumed to Be selected when Opening Encounter Dialog} 437 GMV_LibName :='GMV_VitalsViewEnter.dll'; 438 GMV_LibName := GetProgramFilesPath + SHARE_DIR + GMV_LibName; 439 if VitalsDLLHandle = 0 then 440 VitalsDLLHandle := LoadLibrary(PChar(GMV_LibName)); 431 LoadVitalsDLL; 441 432 if VitalsDLLHandle = 0 then // No Handle found 442 MessageDLG('Can''t find library "'+GMV_LibName+'".',mtError,[mbok],0)433 MessageDLG('Can''t find library '+VitalsDLLName+'.',mtError,[mbok],0) 443 434 else 444 435 LoadVitalsList; … … 619 610 if assigned(VLPtVitals) then 620 611 begin 621 // frmFrame.DLLActive := True; // need this flag for CCOW (RV)622 612 VitalsList := VLPtVitals(RPCBrokerV,Patient.DFN,U,false); 623 613 if assigned(VitalsList) then … … 627 617 MessageDLG('Can''t find function "'+GMV_FName+'".',mtError,[mbok],0); 628 618 @VLPtVitals := nil; 629 // frmFrame.DLLActive := False; // need this flag for CCOW (RV)630 619 end; 631 620 //End Vitals Lite
Note:
See TracChangeset
for help on using the changeset viewer.