Like Tree2Likes
  • 2 Post By Shakti

Heeeeeeeeeeelp me plzzz plzzzzzz

This is a discussion on Heeeeeeeeeeelp me plzzz plzzzzzz within the C++ Programming forums, part of the General Programming Boards category; Im facing errors when i compile my program the errors are : Code: [Linker error] undefined reference to `CreateStreamOnHGlobal@12' [Linker ...

  1. #1
    Registered User
    Join Date
    Mar 2011
    Posts
    2

    Heeeeeeeeeeelp me plzzz plzzzzzz

    Im facing errors when i compile my program the errors are :

    Code:
       [Linker error] undefined reference to `CreateStreamOnHGlobal@12' 
                   [Linker error] undefined reference to `IID_IPicture' 
                   ld returned 1 exit status 
     C:\Users\MR\Desktop\bank\theBank\Makefile.win [Build Error]  [theBank.exe] Error 1

    thnx alot

  2. #2
    Registered User
    Join Date
    Aug 2003
    Posts
    1,209
    First: How To Ask Questions The Smart Way. With a title like yours you are less likely to receive help.

    Second: I can't say exactly what you need to do because I don't know your compiler but you need to link with an external library called Ole32. Google for the function name and your compiler and you should be able to find more info.
    Salem and stahta01 like this.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,823
    I'm thinking of starting a "close the thread with the worst title of the week policy".
    Yours is the first winner.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. The Game of Roulette-Help me plzzz, I'm new 2 it :(
    By dhruvgopal in forum C++ Programming
    Replies: 3
    Last Post: 05-17-2010, 12:20 PM
  2. synchronous i/o URGENT HELP PLZZZ
    By doia in forum C Programming
    Replies: 3
    Last Post: 04-19-2010, 07:22 PM
  3. plzzz!!! answer this c++proggram on how to use do,while code?
    By randyjhon143 in forum C++ Programming
    Replies: 13
    Last Post: 03-12-2009, 05:32 PM
  4. PLZZZZZZ need help on bit fileds
    By neversell in forum C Programming
    Replies: 4
    Last Post: 07-07-2002, 10:38 AM

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