Click here to Skip to main content
16,006,341 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalplease help- different colored letters Pin
...---...7-Oct-04 4:41
...---...7-Oct-04 4:41 
GeneralRe: please help- different colored letters Pin
Maximilien7-Oct-04 7:19
Maximilien7-Oct-04 7:19 
GeneralDo I know how to iterate? Pin
...---...7-Oct-04 7:41
...---...7-Oct-04 7:41 
GeneralRe: Do I know how to iterate? Pin
David Crow7-Oct-04 8:10
David Crow7-Oct-04 8:10 
GeneralRe: iImperaionation Pin
toxcct7-Oct-04 4:37
toxcct7-Oct-04 4:37 
Generalusing STL to read LARGE text files ... Pin
Maximilien7-Oct-04 4:17
Maximilien7-Oct-04 4:17 
Generalproblem:dll not found Pin
happycpp7-Oct-04 3:37
happycpp7-Oct-04 3:37 
GeneralRe: problem:dll not found Pin
David Crow7-Oct-04 4:07
David Crow7-Oct-04 4:07 
Change fn1() to explicitly load user32.lib via LoadLibrary() and use GetProcessAddress() for SetLayeredWindowAttributes(). Something like:

fn1()
{
    HINSTANCE hLibrary = LoadLibrary("user32.dll");
    if (NULL != hLibrary)
    {
        typedef BOOL (*SETLAYEREDWINDOWATTRIBUTES)(HWND, COLORREF, BYTE, DWORD);
        SETLAYEREDWINDOWATTRIBUTES pSetLayeredWindowAttributes;
        pSetLayeredWindowAttributes = (SETLAYEREDWINDOWATTRIBUTES) GetProcAddress(hLibrary, "SetLayeredWindowAttributes");
        if (NULL != pSetLayeredWindowAttributes)
            *(pSetLayeredWindowAttributes)(...);
 
        FreeLibrary(hLibrary);
    }
}



"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen


GeneralRe: problem:dll not found Pin
happycpp7-Oct-04 6:39
happycpp7-Oct-04 6:39 
GeneralRe: problem:dll not found Pin
David Crow7-Oct-04 8:07
David Crow7-Oct-04 8:07 
GeneralRe: problem:dll not found Pin
happycpp7-Oct-04 9:03
happycpp7-Oct-04 9:03 
GeneralRe: problem:dll not found Pin
David Crow7-Oct-04 10:06
David Crow7-Oct-04 10:06 
GeneralRe: problem:dll not found Pin
Blake Miller7-Oct-04 10:52
Blake Miller7-Oct-04 10:52 
GeneralRe: problem:dll not found Pin
8-Oct-04 3:40
suss8-Oct-04 3:40 
GeneralRe: problem:dll not found Pin
Blake Miller8-Oct-04 4:53
Blake Miller8-Oct-04 4:53 
GeneralRe: problem:dll not found Pin
happycpp8-Oct-04 10:55
happycpp8-Oct-04 10:55 
Generalsolved: problem:dll not found Pin
happycpp9-Oct-04 3:27
happycpp9-Oct-04 3:27 
Generalproblem with modeless dialog Pin
balajeedurai7-Oct-04 3:11
balajeedurai7-Oct-04 3:11 
GeneralRe: problem with modeless dialog Pin
toxcct7-Oct-04 3:39
toxcct7-Oct-04 3:39 
GeneralRe: problem with modeless dialog Pin
Niklas L7-Oct-04 5:46
Niklas L7-Oct-04 5:46 
GeneralRe: problem with modeless dialog Pin
balajeedurai7-Oct-04 17:35
balajeedurai7-Oct-04 17:35 
GeneralRe: problem with modeless dialog Pin
Niklas L7-Oct-04 21:39
Niklas L7-Oct-04 21:39 
GeneralResidental Application Pin
Micie7-Oct-04 3:01
Micie7-Oct-04 3:01 
GeneralRe: Residental Application Pin
toxcct7-Oct-04 3:37
toxcct7-Oct-04 3:37 
GeneralRe: Residental Application Pin
Micie7-Oct-04 3:40
Micie7-Oct-04 3:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.