Click here to Skip to main content
15,914,368 members
Home / Discussions / COM
   

COM

 
GeneralRe: Inexperienced with COM arrays Pin
Ernest Laurentin14-Jun-02 4:50
Ernest Laurentin14-Jun-02 4:50 
GeneralRe: Inexperienced with COM arrays Pin
Robin14-Jun-02 6:33
Robin14-Jun-02 6:33 
GeneralRe: Inexperienced with COM arrays Pin
Ernest Laurentin14-Jun-02 6:44
Ernest Laurentin14-Jun-02 6:44 
GeneralRe: Inexperienced with COM arrays Pin
Robin16-Jun-02 20:46
Robin16-Jun-02 20:46 
GeneralRe: Inexperienced with COM arrays Pin
Ernest Laurentin19-Jun-02 18:28
Ernest Laurentin19-Jun-02 18:28 
GeneralExcel automation for starters Pin
Zizilamoroso3-Jun-02 6:50
Zizilamoroso3-Jun-02 6:50 
GeneralRe: Excel automation for starters Pin
2-Jul-02 2:58
suss2-Jul-02 2:58 
GeneralATL COM DLL and Bitmaps Pin
Ranjan Banerji1-Jun-02 19:37
Ranjan Banerji1-Jun-02 19:37 
I am trying to create a visualization for the Windows Media Player. The SDK comes with a wizard that creates an ATL class for a COM DLL with the appropriate interfaces etc. One of the functions is Render which is passed a HDC. Using the HDC one can draw whatever visualization. All this works fine.

Now I want to display some bitmaps. So in the DLL I added a Bitmap into the resource by importing a picture. Then I am trying to use LoadBitmap or LoadImage. Both fail. I get the following error when I call GetLastError:

1814: The specified resource name cannot be found in the image file.

I am assuming I am getting this because I do not have the propoer HINSTANCE for the call to LoadImage or LoadBitmap. I am using a NULL not knowing how to get the HINSTANCE for the media player. Or should it be one for the DLL? Now I am all confused..... help........

Thanks...
GeneralRe: ATL COM DLL and Bitmaps Pin
Ranjan Banerji2-Jun-02 6:16
Ranjan Banerji2-Jun-02 6:16 
GeneralRe: ATL COM DLL and Bitmaps Pin
Todd.Harvey20-Aug-02 11:13
Todd.Harvey20-Aug-02 11:13 
GeneralWindows Protected Storage using "IPStorage" class Pin
David Lau1-Jun-02 8:22
David Lau1-Jun-02 8:22 
GeneralWTL ScrollView scrolling problem! Pin
ramjan1-Jun-02 5:25
ramjan1-Jun-02 5:25 
QuestionSCODE or HRESULT or...? Pin
Member 9631-May-02 9:16
Member 9631-May-02 9:16 
AnswerRe: SCODE or HRESULT or...? Pin
soptest31-May-02 9:42
soptest31-May-02 9:42 
AnswerRe: SCODE or HRESULT or...? Pin
Tim Smith31-May-02 10:28
Tim Smith31-May-02 10:28 
GeneralRe: SCODE or HRESULT or...? Pin
Member 9631-May-02 10:31
Member 9631-May-02 10:31 
GeneralRe: SCODE or HRESULT or...? Pin
soptest31-May-02 13:26
soptest31-May-02 13:26 
GeneralGIT and the FTM Pin
Philippe Mori31-May-02 4:09
Philippe Mori31-May-02 4:09 
GeneralRe: GIT and the FTM Pin
soptest31-May-02 9:04
soptest31-May-02 9:04 
GeneralRe: GIT and the FTM Pin
Philippe Mori14-Jun-02 3:46
Philippe Mori14-Jun-02 3:46 
GeneralW2A query Pin
Nish Nishant30-May-02 1:07
sitebuilderNish Nishant30-May-02 1:07 
GeneralRe: W2A query Pin
Prem Kumar30-May-02 7:48
Prem Kumar30-May-02 7:48 
GeneralRe: W2A query Pin
Nish Nishant30-May-02 15:02
sitebuilderNish Nishant30-May-02 15:02 
GeneralRe: W2A query Pin
soptest30-May-02 7:59
soptest30-May-02 7:59 
GeneralRe: W2A query Pin
Nish Nishant30-May-02 15:04
sitebuilderNish Nishant30-May-02 15:04 

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.