delphi and win2k loading bitmap from resource problem
Posted on 2000-05-09
I am trying to load BitMap from a resource dll with next Delphi5 code:
Bitmap := TBitmap.Create;
But I am getting message on win2k:
"Resource BITMAP1 not found."
it works properly on win98.
i compile the exe and dll under win98,
they does not work on win2k too.
What have I done wrong?
i have traced into LoadFromResourceName,
the error occurs when it call win api