-
Notifications
You must be signed in to change notification settings - Fork 25
How To..
FactoryX edited this page Feb 16, 2024
·
7 revisions
Setup MfPack
- Unpack "MfPack Xxxx.zip" to an empty source code map (for example ..\Sources\MfPackxxx).
- Open the "MfPackXxxx.dsk", within your Delphi IDE.
- Set recommended project settings:
- Project output: .$(Platform)$(Config)
- Unit output: .$(Platform)$(Config)
- Add the appropriate maps to the Project/Searchpath: ..\src
- Compile (for debug or release and windows 32 or 64 bit.)
Setup Samples/MfComponents Xxxx
- Open "MfComponents.dsk", within your Delphi IDE.
- Add the appropiate maps to the Project/Searchpath: As in step 3 of "Setup MfPack".
- Compile (for debug or release and windows 32 or 64 bit.)
- Choose Install, to install the components (MfPeakmeter, MfPeakMeterEx etc.).
MfPack Samples
- Open ".dpr", within your Delphi IDE.
- Add the appropiate maps to the Project/Searchpath: As in step 3 of "Setup MfPack". \Sources\MfPackXxxx\Additional;
- Compile (for debug or release and windows 32 or 64 bit.)
Using the HResult/Error Lookup Tool
- Add ..MfPack\src\debug to your Project/Searchpath.
- Check for the latest version of the Microsoft Error Lookup Tool. Copy a new toolversion to ..MfPack\Tools\MicrosoftErrorLookupTool and adjust the WIN_ERROR_LOOKUP_TOOL constant in the WinApi.Dbg.WinHResultTools.pas unit.
- To integrate the lookuptool in your code, use ..\MfPack\src\debug\WinApi.Dbg.WinHResultTools.pas.
- If you want to run the lookup tool independedly from your code and also want a visual interface, you can compile ..\MfPack\Tools\WinHResultTools.dpr to create a stand alone lookup app.