Back to product page
- Introduction
- Overview
- License agreement
- Configuration file creation
- Getting Started
- Objects
- Enumerations
- wodAppUpdate
- Methods
- Properties
- AutoRestart
- Blocking
- CmdAfter
- CmdBefore
- CmdLine
- DebugFile
- DialogNoteText
- DialogNoteURL
- DialogText
- Files
- ForceRestart
- GlobalTerminate
- Login
- Messages
- Notification
- Password
- PrevExist
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- ReplaceRule
- RequireAdmin
- ServiceIsRunning
- Signature
- State
- StateText
- Timeout
- UpdaterName
- UpdaterTimeout
- URL
- URLHandler
- UserIsAdmin
- Version
- Visible
- WinVersion
- Events
- Notifications
- UpdFile
- UpdFiles
- UpdMessage
- UpdMessages
- UpdProcess
- UpdProcesses
- How to get support?
- Technical information
- Fast notifications interface
- Error list
Getting Started in VC
Working with the COM object or ActiveX control
Remarks
Working with the COM object In order to insert wodAppUpdate COM object in your project, follow these steps: 1. Install the component on your system by starting its setup program. 2. In the Visual C++ Compiler IDE, create project or open existing one. 3. Recompile, and open ClassWizard 4. Click on 'Add Class' button, then on 'From a type library' 5. Locate wodAppUp.DLL and select it. Select all offered interfaces. Click on 'Ok'. VC will now generate wrapper classes for all interfaces. 6. wodAppUpdate is now declared as COleDispatchDriver - you can initialize it from the code like this: // in header fileIwodAppUpdateCom m_Update1;
// in CPP file
OleInitialize(NULL);
m_Update1.CreateDispatch("WeOnlyDo.wodAppUpdateCom.1");
7. Do not forget to distribute wodAppUp.DLL when using COM object! Working with the ActiveX control In order to insert wodAppUpdate ActiveX control in your project, follow these steps: 1. Install the component on your system by starting its setup program. 2. In the Visual C++ Compiler IDE, create new project or open existing one. 3. Click on 'Project', then on 'Add To Project', then on 'Components and Controls' menu 4. in 'Registered ActiveX Controls' directory select 'wodAppUpdate Class', click on 'Insert' button, close the dialog 5. Compiler will insert control into the project and create appropriate wrapper classes. 6. Do not forget to distribute wodAppUp.OCX when using ActiveX control!