Thread: Dll Exports Question

  1. #1
    Registered User
    Join Date
    Apr 2007

    Dll Exports Question

    I have been following a tutorial but the problem is the tutorial is for

    They say I have to edit the ddraw.def file and add
    LIBRARY	"ddraw"
    	DirectDrawCreateEx = NewDirectDrawCreateEx
    How would I do it in msvc++?

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Moved to Windows Programming.

    The above is valid for Microsoft's C++ compiler and linker, not specific to C++/CLI. In fact, I don't think it would work in /CLI.
    All the buzzt!

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  3. #3
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    You don't have to do that.
    Just forget about doing that and import and call NewDirectDrawCreateEx() rather than DirectDrawCreateEx().
    I just want to use my computer in a productive manner, not learn how to use it. Elysia
    A year spent in artificial intelligence is enough to make one believe in God. Alan Jay Perlis

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Dll Injection Question
    By zenox in forum C Programming
    Replies: 13
    Last Post: 03-15-2008, 10:54 AM
  2. dll and classes question
    By Rune Hunter in forum C++ Programming
    Replies: 2
    Last Post: 12-17-2005, 09:26 PM
  3. Replies: 1
    Last Post: 09-18-2005, 09:06 PM
  4. Using class with DLL
    By greg2 in forum C++ Programming
    Replies: 2
    Last Post: 09-12-2003, 05:24 AM
  5. .lib vs .h vs .dll
    By Shadow12345 in forum C++ Programming
    Replies: 13
    Last Post: 01-01-2003, 05:29 AM