Home > Back-end >  Using the Import the Type Library to add com components, repeated hint when covering such name alrea
Using the Import the Type Library to add com components, repeated hint when covering such name alrea

Time:09-30


Using vc + + to generate a com component, through the Import of c + + builder Type Library add DLL generated and then install ActiveX controls, but if the DLL update cover before, to appear on the graph of circumstance, changed the another name of the class, but they make mistakes, what method can remove before class or overwritten,
Tried to the registered before, register the new also not line,

CodePudding user response:

find the problem, and it covered before time else did not only new registered DLL busywork that you don't succeed, as long as the DLL and before placed, then register the DLL is covered, don't know if it is to change position,
Appears the question now is whether the old stack overflow in c + + builder how to locate the position of the overflow ah, every time can only see the address in the window the CPU, the call stack is

CodePudding user response:

Before that covers the DLL to update the method of com component when adding a new function in the com components do not apply again,
want to consult everybody if cycle call the function in the com components, how to release the com components, looks like the memory has been rising because of always call,
Test program written in vc + +, you can directly use the release function to release com class, memory does not increase, but in c + + builder how to release
  • Related