How to use DLL files like VideoOS.Platform.dll in Rad Studio C++ ?

I should use just Visual Studio only? But I must use just RAD studio because old version is in the that. we used old version as well, but no longer working due to disabling Central API by you.

Could you please provide solution? Our system was stopped since we updated milestone server.

Also, I checked the Protocol samples, it’s too complicated to use in other language.

There is no way to get login, event alarms and status simply ?

Unfortunately, the MIP SDK doesn’t have any unmanaged DLLs so we have to suggest the use of Protocol integration as you mentioned.

Hello, How is the “Protocol Integration” used for other languages (such as Embarcadero RAD Studio C++ Builder)?

Is there a guide for development with MIP SDK, Protocol Integration, and other languages? Does Milestone have any developers for-hire, or services for-hire, or resources that could assist with how to assist with getting started with a conversion (since the Central API was discontinued)?

Thanks.

Hi Rie

there is any more detailed document for each API on protocol integration? the current document didn’t mentioned much the usage for each API.

Could you provide all you have related to this ?

Thanks

Please excuse my ignorance.

Is there a Milestone service, or license , or other mechanisms that could provide technical support for development, help us with examples and assistance for the “Protocol Integration”, how to call the methods, how to access the MIP SDK via SOAP, etc. ?

Are there examples of using the SOAP protocol from other languages?

Thanks.

We unfortunately don’t have any protocol samples for C++. In general you will have to use a protocol approach, so please refer to the protocol documentation: https://doc.developer.milestonesys.com/html/index.html?base=content_3.html&tree=tree_3.html

Also, if you have a look at the TCP Video Viewer sample, it shows how to do a protocol integration for getting video. It is written in C# so cannot be directly used for C++, but should for most parts be fairly straight forward to rewrite in another language:

https://doc.developer.milestonesys.com/html/index.html?base=samples/tcpviewer_sample.html&tree=tree_3.html

( In component samples, there is only one c++ sample called MediaLiveServiceJPEG –

https://doc.developer.milestonesys.com/html/index.html?base=samples/medialiveservice_cpp.html&tree=tree_search.html?search=medialiveservicejpeg )

I think you need to make samples for each language like C++, Java, Python, etc. All users doesn’t use just C# only.

IF you don’t mind, Could you kindly provide me C++ code for login function?

If I get the sample, I can implement other functions in the same way.

I tried to implemented login in c++. But it says “401 unauthorization”.

I think something is wrong in header setting.

https://doc.developer.milestonesys.com/html/index.html?base=samples/tcpviewer_sample.html&tree=tree_3.html

this is documentation you provided.

POST /ServerAPI/ServerCommandService.asmx HTTP/1.1

Host: {xprotectserver.company.com}

Authorization: {autogenerated by HTTP library or class applied}

Content-Type: text/xml; charset=utf-8

Content-Length: {number of bytes}

SOAPAction: http://videoos.net/2/XProtectCSServerCommand/Login"

How should I set Authorization header ?

{autogenerated by HTTP library or class applied} doesn’t make sense for me.

You might already know this article but let me introduce this introduction, it might be helpful for you -

https://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/intro_soap_protocols.html&tree=tree_3.html

Unfortunately we can’t provide C++ sample for you because of the limited resource, but thank you for the feedback.

Thanks, That’s helpful.

We finally got past the “HTTP:/1.1 401 Unauthorized” error (but it is using the deprecated **ServerAPI/ServerCommandService.asmx (**Note: should use the ‘svc’ version instead).

But now we have an “HTTP:/1.1 400 Bad Request”.

Not sure which part of the request is the problem.

Let me clarify one thing, 404 error is “Page not found” error and 400 error is “Bad request”. Which one have you got?

I apologize. The error is “HTTP:/1.1 400 Bad Request” (not 404). Thank you.

Please see this link

https://developer.milestonesys.com/s/question/0D53X00007Mm70USAR/400-bad-request-when-login-using-protocol-integration