CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
  1. #16
    Join Date
    Dec 2003
    Location
    Republic of Ireland
    Posts
    383
    OK. Maybe I go to far. The point is, that LoadLibrary should not be called from entry-point functions.

  2. #17
    Join Date
    Sep 2002
    Location
    Maryland - Fear The Turtle!
    Posts
    7,537
    Originally posted by Mr. Tomaszek
    OK. Maybe I go to far. The point is, that LoadLibrary should not be called from entry-point functions.
    Not to be picky...ok I will but...

    Main(...) is an entry-point function It is not safe to call LoadLibrary from DllMain(...) because of dependency issues.

Page 2 of 2 FirstFirst 12

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured