Re: ActiveX.exe more problems




"Galen Somerville" <galen@xxxxxxxxxxxx> schrieb im Newsbeitrag
news:eagQ3OChGHA.4144@xxxxxxxxxxxxxxxxxxxxxxx

Yes, an example would help. I have a VB6-Dll (one class) which I tried in
NET but the marshalling took too much time. I planned to use this Dll on
the
next release of the VB6 App as it simplified my already complex code.

Look at this example:
www.datenhaus.de/Downloads/HeartBeatDemo.zip
Not so much code, especially, if you don't count the comments ;-).

Probably interesting stuff for others too, especially, if they want to
encapsulate a User-DllInterface and the Devicedriver-Handling on
separate threads - all inside one single VB6-ActiveX-Dll.

Olaf


.



Relevant Pages

  • Re: ActiveX.exe more problems
    ... Schmidt wrote: ... NET but the marshalling took too much time. ... separate threads - all inside one single VB6-ActiveX-Dll. ... For some reason I had thought that DLL objects only ran in the caller's thread. ...
    (microsoft.public.vb.general.discussion)
  • Re: sending user defined msg to MFC dll - using serial writer/read
    ... create modeless dialog ... I have to put in the CWinApp-derived class is vanishingly small, and they are only used by ... You seem to keep thinking that the DLL is running in a different thread. ... They are separate threads because they represent asynchronous I/O ...
    (microsoft.public.vc.mfc)
  • Re: sending user defined msg to MFC dll - using serial writer/read
    ... create modeless dialog ... You seem to keep thinking that the DLL is running in a different thread. ... They are separate threads because they represent asynchronous I/O ... you can't use non-overlapped I/O on a bidirectional serial port; ...
    (microsoft.public.vc.mfc)
  • Re: When do we need marshaling
    ... is dll not exe do we still need marshaling? ... same process as the client). ... Again, sometimes marshalling occurs even within a single process, ... threading requirements between client and server by introducing a proxy ...
    (microsoft.public.win32.programmer.ole)
  • Re: sending user defined msg to MFC dll - using serial writer/read
    ... You seem to keep thinking that the DLL is running in a different thread. ... They are separate threads because they represent asynchronous I/O ... MVP Tips: http://www.flounder.com/mvp_tips.htm ...
    (microsoft.public.vc.mfc)

Loading