Announcement

Collapse
No announcement yet.

Calling an MFC DLL through efs script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Calling an MFC DLL through efs script

    Hi,
    I have built an MFC DLL using C++, which creates a Socket and connects to a host. I have tested it through a Win32 application and it works fine.
    However when i try to call this function in an eSsignal script, although it is executed, after some seconds eSignal crashes (a window pops up which tells: Application has encountered a problem and will be terminated.......).

    Is there any problem with eSignal and MFC DLLs?
    Any help would be appreciated.
    Thanks a lot.

  • #2
    Check out this link as to the problems when using MFC sockets:

    http://www.codeguru.com/forum/archive/index.php/t-284465.html

    You may have some blocking issues going on under the covers here.

    I think you can get away with just about anything you want to in a DLLObject so long as:

    1. You don't block.

    2. Stay away from anything which could generate a Windows message which could get dispatched to one of the eSignal windows and get unintentionally processed by it.

    Comment

    Working...
    X