Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about dllmain

Read more about dllmain

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - dllmain

"LNK2005 DLLMain already defined ..." conflict in Linker using MSVC

I have a C++ project which up to now had no problems compiling and linking but due to a recent computer crash I had to re-install everything including Visual Studio and all my VCPKG packages. (I am us...
test-img

David A

c++

tbb

openblas

lnk2005

dllmain

Votes: 0

Answers: 1

Latest Answer

OK - I figured out a solution that does not require /FORCE:MULTIPLE It seems either both or one of OPENBLAS and TBB cannot be built statically even though both packages compile fine with the triplet x...
test-img

David A

'glfwCreateWindow' freezes when called in Dllmain

When I call glfwCreateWindow in DllMain, the program freezes and CPU usage drops to 0%. My code works fine if I change the type of program from .dll to .exe, and replace DllMain with main. Here is par...
test-img

vsnm

c++

dll

glfw

dllmain

Votes: 0

Answers: 1

Latest Answer

There is a very limited number of things you can do in DllMain, as detailed here. You're going to have to find some way to defer the calls to GLFW. Perhaps an explicit initialisation call on your DLL...
test-img

Paul Sanders

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved