| |

VerySource

 Forgot password?
 Register
Search
View: 672|Reply: 5

Activex contains other people's activex

[Copy link]

1

Threads

3

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-12-7 19:30:01
| Show all posts |Read mode
Activex contains other people's activex
Please teach me,
Share the source code, thank you brother here

Why should I wrap other people's activex controls?

Because the individual methods on his control can be called normally in the MFC program, but these are called in Delphi
The method doesn't work (all others are fine), so I want to change the activex control methods so that Delphi can recognize them. If anyone has done this, please let me know.
Reply

Use magic Report

1

Threads

6

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-12-7 19:45:01
| Show all posts
His control supports MFC, so Delphi should not be able to call it.
Reply

Use magic Report

1

Threads

3

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2020-12-7 20:15:01
| Show all posts
Well, it can be called, but some of the methods cannot be used. It is called and cannot achieve the correct result of MFC call
Reply

Use magic Report

0

Threads

55

Posts

32.00

Credits

Newbie

Rank: 1

Credits
32.00

 China

Post time: 2020-12-7 21:30:01
| Show all posts
Similar to the way of doing DLL.
Reply

Use magic Report

1

Threads

3

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2020-12-8 08:45:01
| Show all posts
Can anyone provide such a code

I later tracked the code and found that the DestroyWindows() method in MFC42.DLL was wrong. The destroyed object could not be found under Delphi, but it can be found under VC because it executes normally.
Reply

Use magic Report

0

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 Invalid IP Address

Post time: 2020-12-8 16:00:01
| Show all posts
Give some suggestions,
In your activex program, just load it as you call the activex control in a normal way
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list