View Single Post
  #3 (permalink)  
Old 23rd July 2004
cb4zztn cb4zztn is offline
Junior Member
BS.Player Newbie
 
Join Date: Jul 2004
Posts: 5
Rep Power: 0
cb4zztn is an unknown quantity at this point
Default

Thanks Rafke!
Well I actually get the application handle from MIRC, in fact 2 , but whenever I try to use either of them in SendMessage the compiler says

---
error C2664: 'SendMessageA' : cannot convert parameter 3 from 'struct HWND__ *' to 'unsigned int'
---

The function gets HWND mWnd, HWND aWnd as parameters and

---
SendMessage(bsp_hand,WM_COPYDATA,mWnd,(LPARAM)&cds );
---

... and with aWnd, gives me that error. I was looking for a way to maybe get the handle of that DLL but I don't know if DLL's even got handles, I'm not used to those things yet. :/
All other SendMessage-calls without using WM_COPY don't seem to need any specific application handle, they're working. It's just that Filename-thingie...


That sampleplugin.c looks interesting, thanks for the hint!

//Sebastian
Reply With Quote
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20