Færdiggjort

Rewrite short Windows vbs COM script as C++ function

I need a C++ function that outputs the same information as the .vbs script below to the console (i.e. Visual Studio c++ console application). No arguments are required:

i.e. void ShowOutstandingUpdates(void)

Errors must be caught and an error message displayed (if an error occurs, the function can simply write an error message to the console and return.)

Note: Please do not ask me to Skype and discuss this project. I am happy to answer questions within Freelancer if the requirement is unclear.

The .vbs is:

-----

Set updateSession = CreateObject("[url removed, login to view]")

[url removed, login to view] = "MSDN Sample Script"

Set updateSearcher = [url removed, login to view]()

[url removed, login to view] "Searching for updates..." & vbCRLF

Set searchResult = [url removed, login to view]("IsInstalled=0 and Type='Software' and IsHidden=0")

[url removed, login to view] [url removed, login to view] & " updates are required." & vbCRLF

[url removed, login to view] "Applicable items:"

For I = 0 To searchResult.Updates.Count-1

Set update = [url removed, login to view](I)

[url removed, login to view] I + 1 & "> " & [url removed, login to view]

Next

If [url removed, login to view] = 0 Then

[url removed, login to view] "There are no applicable updates."

End If

-----

Evner: C++ Programmering, Windows Skrivebord

Se mere: difference between vbscript and powershell script, vbscript deprecated, powershell vs vbscript performance, use vbscript in powershell, vbscript end of life, vbscript to powershell converter tool, run vbscript windows 10, windows 10 vbscript not working, rewrite short script, mod rewrite htaccess windows server, htaccess rewrite url windows server, php script print function, rewrite short articles, php script upload function, actions script drag function

Om arbejdsgiveren:
( 9 bedømmelser ) Ottawa, Canada

Projekt ID: #15554171

Tildelt til:

mahmoud9

Good day Sir , Before to tell you about my technical details , i would like to tell you that I’m TOP RATED freelancer on [login to view URL] ( Odesk and Elance ) and worked +2500 hours Please check this link : http Flere

$50 USD på 1 dag
(0 bedømmelser)
0.0

5 freelancere byder i gennemsnit $33 på dette job

vano101

Hello, I like code conversions projects like this one. Relevant Skills and Experience I am expert in C++ programming, I have more than 15 years of experience. Also, I have deep knowledge of COM and IDispatch Interfac Flere

$33 USD på 1 dag
(1221 bedømmelser)
7.4
$25 USD på 1 dag
(1 bedømmelse)
0.4
bbecc99

Can it be a simple win32 that opens the com object or you' wand an ATL. What win version? Proposed Milestones $30 USD - full project

$30 USD in 2 dage
(0 bedømmelser)
0.0
$25 USD på 1 dag
(0 bedømmelser)
0.0