Home > database >  Pb9 call DLL written in other languages prompt memory error problem
Pb9 call DLL written in other languages prompt memory error problem

Time:09-25

a control must be accessed pb, I compiled using pb plus a shell be DLL, and then to the vb6 calls, interface can be displayed, but click on the above interface controls, will report the error of memory cannot be read,

Make a lot of people say that pb is standard DLL, pb can't write DLL, why can separate function calls, and bring a visual interface can't operation?

Consult everybody, who dealt with similar problems?

CodePudding user response:

How come no one come in and see? Under your top!!!!!!

CodePudding user response:

refer to the original poster yhqjbyhq response:
a control must be accessed pb, I compiled using pb plus a shell be DLL, and then to the vb6 calls, interface can be displayed, but click on the above interface controls, will report the error of memory cannot be read,

Make a lot of people say that pb is standard DLL, pb can't write DLL, why can separate function calls, and bring a visual interface can't operation?

Consult everybody, who dealt with similar problems?


Directly compiled DLL, VB6 can call? I haven't heard of, it is estimated that you use COM components is it?

COM components, it is can use a visual object, but the visual object as if there is a problem the

Suggest you directly using pb to do an exe, and then call in VB, obtains the pb window handle, in the specified location, effect should be the same, but certainly not prompt memory error

CodePudding user response:

And memory problems, there are too many reasons, but the most common and difficult problem ah ~

CodePudding user response:

Lzp_lrp right!
Is made of com component calls through!

"Pb do an exe, and then call in VB, obtains the pb window handle, in the specified location, effect should be the same, but certainly not memory errors of the"

The great spirit can the detailed point?

CodePudding user response:

There is a problem, if make it exe me how I can pass the parameters in?

CodePudding user response:

You can

Pb_test. Exe - aaa - BBB

And then in the open event of your application to write these words

Messagebox (' commandline)
  • Related