Home > Back-end >  CBC abnormal program
CBC abnormal program

Time:10-11

In c + + Builder package program, click function button pop-up prompts
Close the prompt dialog box and then click the function button can run normally, what reason is this?

CodePudding user response:

You installed any anti-virus software? If there are 360 such rogue software, sometimes will affect the normal operation of the software,

CodePudding user response:

The
reference
you installed any anti-virus software? If there are 360 such rogue software, sometimes will affect the normal operation of the software,

Turn off the anti-virus software is still like this...
Run the program in c + + Builder environment but not the case, the run separately packaged procedure can go wrong, explain, the program has call external dynamic link library, is an external problems on set?

CodePudding user response:

With static compile all way to try,

CodePudding user response:

CBC is????????????????

CodePudding user response:

reference
CBC is????????????????

Is found to write wrong, BCB

CodePudding user response:

#include
# pragma hdrstop
# include "Unit1. H"
# include "the add. H"
# include "SJBM. H"
//-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
# pragma package (smart_init)
# pragma resource "*. DFM
"TForm1 * Form1;
//-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
__fastcall TForm1: : TForm1 (TComponent * Owner)
: TForm (the Owner)
{

}


//-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Void __fastcall TForm1: : Button1Click (TObject * Sender)
{
AddInitialize ();
MlfAdd ();
AddTerminate ();
Memo1 - & gt; Lines - & gt; LoadFromFile (" C: \ \ myadd TXT ");
}
//-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Void __fastcall TForm1: : Button2Click (TObject * Sender)
{
SjbmInitialize ();
MlfSjbm ();
SjbmTerminate ();
Image1 - & gt; Picture - & gt; LoadFromFile (" C: \ \ SJBM BMP ");

}

//-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Above procedure two buttons to achieve two functions, can the program runs, first press the button can be finished in normal function, no response after the second press (note: call the external dynamic link library, two buttons can separate runtime), what reason is this?
  • Related