Click here to Skip to main content
16,007,885 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralAuthentification on Web Server Pin
27-Aug-01 6:01
suss27-Aug-01 6:01 
GeneralRe: Authentification on Web Server Pin
Dave Glick27-Aug-01 6:19
Dave Glick27-Aug-01 6:19 
GeneralProblem with WIN95a and WIN98 ActiveX Registration Pin
ndfspeed27-Aug-01 5:56
ndfspeed27-Aug-01 5:56 
GeneralRe: Problem with WIN95a and WIN98 ActiveX Registration Pin
Derek Waters27-Aug-01 16:19
Derek Waters27-Aug-01 16:19 
GeneralHelp with ownerdrawn CListBox class Pin
Dave Glick27-Aug-01 5:31
Dave Glick27-Aug-01 5:31 
GeneralRe: Help with ownerdrawn CListBox class Pin
Tomasz Sowinski27-Aug-01 10:08
Tomasz Sowinski27-Aug-01 10:08 
GeneralRe: Help with ownerdrawn CListBox class Pin
Dave Glick28-Aug-01 2:44
Dave Glick28-Aug-01 2:44 
QuestionDelayload won't work for DLL itself? Pin
Kurotora27-Aug-01 5:12
Kurotora27-Aug-01 5:12 
Hi,

I've been writing application for Windows 95/98/Me which loads private DLL. In that DLL, I need to call functions in oleacc.dll that is not supported in Windows 95. To let single binary work on 3 different Windows, I tried Delayload option.

/delayload:oleacc.dll option seems worked, since dependency walker didn't show oleacc.dll is used. Though, when I tried to load my private DLL by LoadLibrary(), it failed. (I'm using LoadLibrary() and GetProcAddress() to control my DLL to handle any error regarding to this DLL.) And of course, it worked fine on 98/Me.

I'm quite sure any function belongs to oleacc was not called in DllMain(). If I commented out those functions, linker warned me that /delayload:oleacc.dll had no effect (which is supposed to be), and I could load my DLL.

So, for me, it looks like Delaylod won't work for DLL itslef. Thinking about a background of this mechanism, I can't understand why it didn't work.

Can anyone help me out? (Please forget about installing some optional kit on Windows 95, since my target is Japanese version and no one is available for that.)

I love Code Project, do you?
Kurotora
AnswerRe: Delayload won't work for DLL itself? Pin
Masaaki Onishi27-Aug-01 7:04
Masaaki Onishi27-Aug-01 7:04 
GeneralRe: Delayload won't work for DLL itself? Pin
Kurotora27-Aug-01 7:39
Kurotora27-Aug-01 7:39 
GeneralRe: Now, I understand your questions. Pin
Masaaki Onishi27-Aug-01 14:01
Masaaki Onishi27-Aug-01 14:01 
AnswerRe: Delayload won't work for DLL itself? Pin
Tomasz Sowinski27-Aug-01 12:00
Tomasz Sowinski27-Aug-01 12:00 
GeneralRe: Delayload won't work for DLL itself? Pin
Kurotora28-Aug-01 5:07
Kurotora28-Aug-01 5:07 
GeneralRe: Delayload won't work for DLL itself? Pin
Tomasz Sowinski28-Aug-01 5:19
Tomasz Sowinski28-Aug-01 5:19 
GeneralRe: Delayload won't work for DLL itself? Pin
Kurotora28-Aug-01 6:01
Kurotora28-Aug-01 6:01 
GeneralRe: Delayload won't work for DLL itself? Pin
Tomasz Sowinski28-Aug-01 7:11
Tomasz Sowinski28-Aug-01 7:11 
GeneralRe: Delayload won't work for DLL itself? Pin
Kurotora29-Aug-01 4:28
Kurotora29-Aug-01 4:28 
GeneralCListView AND CListCtrl Pin
27-Aug-01 5:03
suss27-Aug-01 5:03 
GeneralRe: CListView AND CListCtrl Pin
Tomasz Sowinski27-Aug-01 10:02
Tomasz Sowinski27-Aug-01 10:02 
GeneralTree Control & Edit Label Pin
Derek Price27-Aug-01 4:53
Derek Price27-Aug-01 4:53 
GeneralRe: Tree Control & Edit Label Pin
Tomasz Sowinski27-Aug-01 10:24
Tomasz Sowinski27-Aug-01 10:24 
GeneralRe: Tree Control & Edit Label Pin
Derek Price27-Aug-01 10:30
Derek Price27-Aug-01 10:30 
GeneralRe: Tree Control & Edit Label Pin
Tomasz Sowinski27-Aug-01 10:42
Tomasz Sowinski27-Aug-01 10:42 
GeneralRe: Tree Control & Edit Label Pin
Derek Price27-Aug-01 10:54
Derek Price27-Aug-01 10:54 
QuestionWhat is meaning is the "X" in "AFX"? Pin
Maer72727-Aug-01 3:21
Maer72727-Aug-01 3: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.