[comp.windows.ms.programmer] Problem calling PostMessage in DDK-comm.drv

testurm@immd4.informatik.uni-erlangen.de (Torsten Sturm) (06/28/91)

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