|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
c++.windows.32-bits - UnlockData(0) lost ?
hi,
if I try to build a DLL I get a "function UnlockData has no prototype..."
Is this function lost ?
(or is it a mistake between my ears ?)
#include <windows.h>
...
int FAR PASCAL LibMain(HINSTANCE,WORD ,WORD cbHeapSize,LPSTR)
{
if(cbHeapSize)
UnlockData(0);
return TRUE;
}
...
mfG
Mark Essers
Aug 24 2001
I don't think UnlockData is part of the Win32 API... Mark Essers wrote: Aug 24 2001
hmmm... http://www.digitalmars.com/ctg/ctgP04.html shows UnlockData, too..okay so it's not lost..it was never there.. :-) (now i can stop searching :-) ) ....hmmm Thanx Jan Jan Knepper <jan smartsoft.cc> schrieb in im Newsbeitrag: 3B8707A1.CC5F7A5D smartsoft.cc...I don't think UnlockData is part of the Win32 API... Aug 24 2001
This chapter describes how to write and compile DLLs under Windows 3.1, and call a DLL function from another program. For information on compiling Win32 DLLs, see Chapter 16, "Win32 Programming Guidelines." Is what it say on that page a few lines before the UnlockData... Obviously UnlockData is 16 bits Windows stuff... Jan Mark Essers wrote:hmmm... http://www.digitalmars.com/ctg/ctgP04.html shows UnlockData, too..okay so it's not lost..it was never there.. :-) (now i can stop searching :-) ) ....hmmm Thanx Jan Jan Knepper <jan smartsoft.cc> schrieb in im Newsbeitrag: 3B8707A1.CC5F7A5D smartsoft.cc...I don't think UnlockData is part of the Win32 API... Aug 24 2001
|