-
Notifications
You must be signed in to change notification settings - Fork 0
/
AxumMeters.cpp
33 lines (29 loc) · 1.09 KB
/
AxumMeters.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//---------------------------------------------------------------------------
#include <vcl.h>
#include "EthernetAdapterSelectionFrm.h"
#pragma hdrstop
USERES("AxumMeters.res");
USEFORM("PPMMeterFrm.cpp", PPMMeterForm);
USEFORM("EthernetAdapterSelectionFrm.cpp", EthernetAdapterSelectionForm);
USELIB("..\MambanetStackDLL\MambaNetStack.lib");
USELIB("mbn.lib");
//---------------------------------------------------------------------------
extern TEthernetAdapterSelectionForm *EthernetAdapterSelectionForm;
//---------------------------------------------------------------------------
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
try
{
Application->Initialize();
Application->Title = "Axum Meters (MambaNet)";
EthernetAdapterSelectionForm = new TEthernetAdapterSelectionForm(Application);
Application->CreateForm(__classid(TPPMMeterForm), &PPMMeterForm);
Application->Run();
}
catch (Exception &exception)
{
Application->ShowException(&exception);
}
return 0;
}
//---------------------------------------------------------------------------