what is the best way to integrate the sdk with c ++?thank you in advance

Please see

http://doc.developer.milestonesys.com/html/index.html?base=reference/architecture/cpp_development.html&tree=tree_2.html

and

http://doc.developer.milestonesys.com/html/index.html?base=samples/medialiveservice_cpp.html&tree=tree_2.html

Note that if you do “managed c++” you can use the MIP .Net library much the same way the c# samples show. If this is an option I will recommend this.

Thank you for your fast reply. Do you know if I can use ImageView Demo ActiveX.htm sample? It´is not working fine.

Milestone XProtect Recording server v12.2a (x64)

Milestone XProtect Management Client 2018 R2 - v12.2a

There is some .OCX (activeX) that works fine with this server.

I want to view live video.

I have configure 1 camera

It is important to note that this sample only works when using Windows authentication users (in e-code servers which you have as you have a Management Client), not basic users.