If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > Where to write DllMain method in non-mfc dll?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-12-04, 03:39
Jell Jell is offline
Registered User
 
Join Date: Mar 2004
Posts: 7
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 ?
Reply With Quote
  #2 (permalink)  
Old 08-12-04, 03:47
Marvels Marvels is offline
Registered User
 
Join Date: Jul 2003
Location: Amsterdam, Nederland
Posts: 449
Red face little suggestion

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

and call it MDLMain
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On