Advertisement

Problems with TransparentBlt()

Started by November 13, 2000 10:04 AM
3 comments, last by Orpheum 24 years, 1 month ago
Its mass early so Im sure its something dumb, but Ive tried everything I can think of and Im still having trouble... Im trying to use the GDI function TransparentBlt(), but I get linker error: Editor_GDITile_M.obj : error LNK2001: unresolved external symbol __imp__TransparentBlt@44 Debug/GDITile Map Editor.exe : fatal error LNK1120: 1 unresolved externals MSDN: Requirements Windows NT/2000: Requires Windows 2000. Windows 95/98: Requires Windows 98. Header: Declared in Wingdi.h; include Windows.h. Library: Included as a resource in Msimg32.dll. I''ve included windows.h, I tried directly including wingdi.h but that gave many errors. I tried to put msimg32.dll in the project settings, but theres only .lib files listed in there. Im stuck, I dont see why TransparentBlt wouldnt be found....
There is no spoon.
Have you tried to include msimg32.lib in your project settings?
Advertisement
Thanks, why yes I did... but it was a crapshoot! MSDN said this "Library: Included as a resource in Msimg32.dll." Well I didnt know that each .dll has a corresponding .lib, so I just guessed cuz I couldnt think of anything else and putting in Msimg32.dll didnt work! Thanks anyway though!
There is no spoon.
Did you try regenerating the lib from the dll. Whatever development tool you are using should provide such a utility. Just put it in a new directory and place that directory ahead of the existing one in the project settings.
Keys to success: Ability, ambition and opportunity.
One other possiblity is that it isn''t defined in any of the headers and the compiler is guessing at the parameters. Make sure it is actually declared in wingdi.h.
Keys to success: Ability, ambition and opportunity.

This topic is closed to new replies.

Advertisement