NO

Author Topic: Compiling error for x64 Multithreaded DLL  (Read 12758 times)

CommonTater

  • Guest
Re: Compiling error for x64 Multithreaded DLL
« Reply #15 on: May 23, 2012, 07:10:10 AM »
Well, I can confirm the error... when building to use the pocrt.dll (multithreaded dll setting) it will not compile and delivers the error as you describe in your first message.

Also, I get the same message when I switch to 32bit and/or console modes...

Either we both don't know how to do this... or there's a problem :D

Anyone else?
 

Edit:
Also when you link against crtmt64.lib you are effectively flipping the library setting to multithreaded lib which will then link directly into your program instead of using the DLL.
 
 
« Last Edit: May 23, 2012, 07:19:38 AM by CommonTater »

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2091
Re: Compiling error for x64 Multithreaded DLL
« Reply #16 on: May 23, 2012, 12:49:47 PM »
I don't have that problem with 32-bit pocrt.dll only with 64-bit pocrt64.lib/pocrt64.dll.
May the source be with you

CommonTater

  • Guest
Re: Compiling error for x64 Multithreaded DLL
« Reply #17 on: May 23, 2012, 02:54:04 PM »
It was kinda late at night when I was testing so it's possible I made an error.  But we do agree there's a problem with the 64bit version...
 
It would seem this needs to be escallated to a bug report...


 
« Last Edit: May 23, 2012, 02:56:27 PM by CommonTater »

cprog123

  • Guest
Re: Compiling error for x64 Multithreaded DLL
« Reply #18 on: May 23, 2012, 10:08:55 PM »
Ok, sounds good to me. Since you guys have better experience with this, I'll delegate the bug report to whoever want's to make it. I think that would mean a more competent bug report.

As for now, 32 bit is ok for me as far as DLL's are concerned.

CommonTater

  • Guest
Re: Compiling error for x64 Multithreaded DLL
« Reply #19 on: May 24, 2012, 04:02:57 AM »
Ok, sounds good to me. Since you guys have better experience with this, I'll delegate the bug report to whoever want's to make it. I think that would mean a more competent bug report.

As for now, 32 bit is ok for me as far as DLL's are concerned.

It's your bug... :D

For now stick with the Multithreaded LIB when building your executables.  As I mentioned before, it's a lot simpler to link library calls right into your program than having to also have a DLL available. 

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Re: Compiling error for x64 Multithreaded DLL
« Reply #20 on: May 27, 2012, 01:27:05 PM »
__C_specific_handler seems to be missing from pocrt64.lib.
In crtmt64.lib it is in _ehandler.obj.
Maybe this is a bug.
Looks like it. I will try to fix this...
/Pelle