mightyjebus
Programmer
i'm trying to build the XRT widget set on a WinXP pro machine using MSVC++ .NET. i want to make DLLs for the widgets and use them with the Exceed libraries. i'm building the libraries and can link with them, but i get run-time errors when trying to create widgets. i looked in the motif headers and followed their example:
from Xm/PushB.h
externalref
MIMPDATA
WidgetClass xmPushButtonWidgetClass;
btw, MIMPDATA is:
#define MIMPDATA __declspec(dllimport)
i've put this in the XRT headers, but it still crashes on execution. i think my DLL is not getting built properly. i've tried using a .def file and listing all the symbols but it results in the same. i've used this method for building XPM and other libraries and it works for those. i'm just having trouble creating widgets from DLLs that i've made.
thx,
b
from Xm/PushB.h
externalref
MIMPDATA
WidgetClass xmPushButtonWidgetClass;
btw, MIMPDATA is:
#define MIMPDATA __declspec(dllimport)
i've put this in the XRT headers, but it still crashes on execution. i think my DLL is not getting built properly. i've tried using a .def file and listing all the symbols but it results in the same. i've used this method for building XPM and other libraries and it works for those. i'm just having trouble creating widgets from DLLs that i've made.
thx,
b