Home > Back-end >  C Bulider problem debugging
C Bulider problem debugging

Time:09-21

Using c + + Bulider development motion control card, call the movement control CARDS API, the import library files have no problem, there is no question about the compilation, run time, the form does not appear, set a breakpoint in a program, cannot interrupt, skip, but if comment out the use of control card API that statement, can run normally, and, for the first time to use the development environment, modesty, appear this kind of circumstance is commonly caused by what problem?

Int board_count=0, board_id [16].
Int rc=0, the axis;
Rc=p9014_initial (& amp; Board_count board_id);//control card API, comment out this line no problem
If (rc!=0)
{
Application - & gt; MessageBox (L "Initialize PCI - 9014 fail," L "Warning");
}

CodePudding user response:

Look at in the development of documents related to this part of the instructions, and see if it is in the wrong
  • Related