Article View: comp.windows.ms.programmer
Article #3459Problem calling PostMessage in DDK-comm.drv
From: Torsten Sturm
Date: Fri, 28 Jun 1991 16:38
Date: Fri, 28 Jun 1991 16:38
33 lines
1564 bytes
1564 bytes
Hi DDK-freak out there. I've got a problem with the postmessage function in a DDK-commdriver. We want to include a PostMessage-call in the comm.drv to inform one application, that data has been received and is now ready to get. The problem is, windows is breaking its startup, just wenn loading the comm.drv. We tested then, finding, that only including the exterFP PostMessage statement in the assembler code crashes windows, not even calling this function. The cause of this is (what we believe), that the user.exe - DLL, which includes the PostMessage-function is loaded *after* the comm.drv at startup time, so there is no address to relocate. But the network driver (in the DDK package) also calls PostMessage, and there it works. Where is our error, or is there any trick to get around it ?? Thanx in advance ! Torsten --- Torsten Sturm tnsturm@faui09.informatik.uni-erlangen.de tnsturm@faui40.informatik.uni-erlangen.de testurm@faui41.informatik.uni-erlangen.de testurm@faui43.informatik.uni-erlangen.de storm@faui80.informatik.uni-erlangen.de
Technical Details
Message-ID:
<1991Jun28.163834.1642@informatik.uni-erlangen.de>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!sol.ctr.columbia.edu!ira.uka.de!fauern!faui43.informatik.uni-erlangen.de!testurmShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!sol.ctr.columbia.edu!ira.uka.de!fauern!faui43.informatik.uni-erlangen.de!testurm From: testurm@immd4.informatik.uni-erlangen.de (Torsten Sturm) Newsgroups: comp.windows.ms.programmer Subject: Problem calling PostMessage in DDK-comm.drv Message-ID: <1991Jun28.163834.1642@informatik.uni-erlangen.de> Date: 28 Jun 91 16:38:34 GMT Organization: CSD., University of Erlangen, Germany Lines: 33