Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2004
    Posts
    7

    Unanswered: Where to write DllMain method in non-mfc dll?

    I am building a Win32 DLL using "empty" project from Visual Study Project wizard. Hence the wizard has not generated any files for me.

    I have written a class ( in .cpp and .h files). Now to specify the entry point fo rmy DLL, i need to add DllMain method...where should i put that ?

  2. #2
    Join Date
    Jul 2003
    Location
    Amsterdam, Nederland
    Posts
    450

    Red face little suggestion

    I woud put it in a class module
    or even in a "normal" module

    and call it MDLMain

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •