jeffcoop_69
New Member
Hi All,
I'm accessing a routine in a DLL which works fine. My problem is that inside the routine I'm accessing I have to set a value inside of the "C" structure. I have a vb example that sets the value like so (but no documentation for the example):
Private Const DX_OUTPUT_DIR = &H8 ' sets dxOutputDir
I also have a partial of the "C" header that sets the same value like so:
#define DX_OUTPUT_DIR 0x00000008
// sets dxOutputDir
My problem comes when translating this value into Progress. I have my struct correct in my 4GL code (used memptr and have my values and size set correct). I'm not sure if this value represents some hex value or what? I know this seems a bit vague, but that's all the info I have to supply - and the tech support of the DLL product is no help at all.
Thanks in advance.
I'm accessing a routine in a DLL which works fine. My problem is that inside the routine I'm accessing I have to set a value inside of the "C" structure. I have a vb example that sets the value like so (but no documentation for the example):
Private Const DX_OUTPUT_DIR = &H8 ' sets dxOutputDir
I also have a partial of the "C" header that sets the same value like so:
#define DX_OUTPUT_DIR 0x00000008
// sets dxOutputDir
My problem comes when translating this value into Progress. I have my struct correct in my 4GL code (used memptr and have my values and size set correct). I'm not sure if this value represents some hex value or what? I know this seems a bit vague, but that's all the info I have to supply - and the tech support of the DLL product is no help at all.
Thanks in advance.