Click here to Skip to main content
16,014,765 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CreateWindow from DLL [corrected] Pin
Joaquín M López Muñoz4-Apr-02 10:07
Joaquín M López Muñoz4-Apr-02 10:07 
GeneralRe: CreateWindow from DLL [corrected] Pin
User 66584-Apr-02 10:12
User 66584-Apr-02 10:12 
GeneralRe: CreateWindow from DLL [corrected] Pin
Joaquín M López Muñoz4-Apr-02 10:18
Joaquín M López Muñoz4-Apr-02 10:18 
GeneralRe: CreateWindow from DLL [corrected] Pin
User 66584-Apr-02 10:22
User 66584-Apr-02 10:22 
GeneralRe: CreateWindow from DLL [corrected] Pin
Joaquín M López Muñoz4-Apr-02 10:25
Joaquín M López Muñoz4-Apr-02 10:25 
GeneralRe: CreateWindow from DLL Pin
Jeremy Falcon4-Apr-02 9:39
professionalJeremy Falcon4-Apr-02 9:39 
GeneralRe: CreateWindow from DLL Pin
User 66584-Apr-02 9:46
User 66584-Apr-02 9:46 
GeneralRe: CreateWindow from DLL Pin
Jeremy Falcon4-Apr-02 10:12
professionalJeremy Falcon4-Apr-02 10:12 
The entry point is the starting address of the DLL -- the first of your code that's called. You need to let the linker know about it.

You need a user-defined entry point for the DLL. I believe it defaults to DLLMain, but if your DLL doesn't use that naming you must specify it somehow. I chose using the linker and specify it anyway regardless. I'm crazy like that. Smile | :)

I'm assuming you're using VC6...

Goto project settings.
Link Tab
Category: Output

You'll see an edit box for the Entry-point symbol. Put the name of your entry function in there.

Jeremy L. Falcon
"The One Who Said, 'The One Who Said...'"
<nobr>
Homepage : Feature Article : Sonork = 100.16311

GeneralRe: CreateWindow from DLL Pin
Tim Smith4-Apr-02 10:19
Tim Smith4-Apr-02 10:19 
GeneralRe: CreateWindow from DLL Pin
User 66584-Apr-02 10:16
User 66584-Apr-02 10:16 
GeneralRe: CreateWindow from DLL Pin
Tomasz Sowinski4-Apr-02 10:21
Tomasz Sowinski4-Apr-02 10:21 
GeneralRe: CreateWindow from DLL Pin
User 66584-Apr-02 10:26
User 66584-Apr-02 10:26 
GeneralRe: CreateWindow from DLL Pin
Joaquín M López Muñoz4-Apr-02 10:23
Joaquín M López Muñoz4-Apr-02 10:23 
GeneralRe: CreateWindow from DLL Pin
Jeremy Falcon4-Apr-02 10:23
professionalJeremy Falcon4-Apr-02 10:23 
GeneralRe: CreateWindow from DLL Pin
Tim Smith4-Apr-02 11:53
Tim Smith4-Apr-02 11:53 
GeneralCImageList + BitBlt Pin
4-Apr-02 8:15
suss4-Apr-02 8:15 
GeneralRe: CImageList + BitBlt Pin
Shog94-Apr-02 9:15
sitebuilderShog94-Apr-02 9:15 
GeneralRe: CImageList + BitBlt Pin
4-Apr-02 9:39
suss4-Apr-02 9:39 
GeneralCPrintDialog Pin
Rick Crone4-Apr-02 8:14
Rick Crone4-Apr-02 8:14 
GeneralRe: CPrintDialog Pin
Shog94-Apr-02 9:42
sitebuilderShog94-Apr-02 9:42 
GeneralRe: CPrintDialog Pin
Rick Crone4-Apr-02 11:28
Rick Crone4-Apr-02 11:28 
GeneralRe: CPrintDialog Pin
Shog94-Apr-02 12:26
sitebuilderShog94-Apr-02 12:26 
GeneralRe: CPrintDialog Pin
Rick Crone9-Apr-02 4:13
Rick Crone9-Apr-02 4:13 
GeneralRe: CPrintDialog Pin
Shog99-Apr-02 5:18
sitebuilderShog99-Apr-02 5:18 
GeneralRe: CPrintDialog Pin
Rick Crone9-Apr-02 6:21
Rick Crone9-Apr-02 6:21 

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.