H
Homa
Hi all,
I'm writing a DDEML Wrapper in C#. I won't able to make a complete
wrapper because my application doesn't need to the full feature of
DDEML, espically the server part. Do anyone interested in working on
it? I would be happy to share the source code and improve it together.
Right now the source code is in two files: dmlModule.cs and
dmlException.cs
I'm using the Microsoft.ApplicationBlocks.ExceptionManagement for
error logging for the client application of this module (i.e., the
dmlExceptions are inherited from the baseApplicationException from the
MABEM).
The wrapper right now can handle client sync POKE and REQUEST
(actually that's all I need). If that's all you need, you can use it
as is unless there are bugs need to be fixed.
Where can I share the source code? It seems to be too long to just
post them here in text.
Oh, there is one question I have in mind right now.
for the ddeCallback, right now my signature is
public delegate int callbackHandler(UInt32 uType, UInt32 uFmt, IntPtr
hconv, IntPtr hsz1, IntPtr hsz2, IntPtr hdata, IntPtr dwData1, IntPtr
dwData2);
I'm using int as the return type. In the documentation, the return
value can be bool, flag, datahandle, or simply ignored.
Do you favor in using IntPtr or int in this case?
Happy Coding,
Homa Wong
I'm writing a DDEML Wrapper in C#. I won't able to make a complete
wrapper because my application doesn't need to the full feature of
DDEML, espically the server part. Do anyone interested in working on
it? I would be happy to share the source code and improve it together.
Right now the source code is in two files: dmlModule.cs and
dmlException.cs
I'm using the Microsoft.ApplicationBlocks.ExceptionManagement for
error logging for the client application of this module (i.e., the
dmlExceptions are inherited from the baseApplicationException from the
MABEM).
The wrapper right now can handle client sync POKE and REQUEST
(actually that's all I need). If that's all you need, you can use it
as is unless there are bugs need to be fixed.
Where can I share the source code? It seems to be too long to just
post them here in text.
Oh, there is one question I have in mind right now.
for the ddeCallback, right now my signature is
public delegate int callbackHandler(UInt32 uType, UInt32 uFmt, IntPtr
hconv, IntPtr hsz1, IntPtr hsz2, IntPtr hdata, IntPtr dwData1, IntPtr
dwData2);
I'm using int as the return type. In the documentation, the return
value can be bool, flag, datahandle, or simply ignored.
Do you favor in using IntPtr or int in this case?
Happy Coding,
Homa Wong