如题
找到了一个例子很适合
但是 是C#写的dll

解决方案 »

  1.   


    // Set WS_EX_LAYERED on this window    
    SetWindowLong(hwnd,   
                  GWL_EXSTYLE,   
                  GetWindowLong(hwnd, GWL_EXSTYLE) | WS_EX_LAYERED);  
    // Make this window 70% alpha   
    SetLayeredWindowAttributes(hwnd, 0, (255 * 70) / 100, LWA_ALPHA);  
      

  2.   

    那就使用
    LoadLibrary -》GetProcAddress得到函数地址-》调用DLL中的函数