Compiling error for x64 Multithreaded DLL

Started by cprog123, May 21, 2012, 04:13:01 AM

Previous topic - Next topic

CommonTater

#15
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.


TimoVJL

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

#17
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...



cprog123

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

Quote from: cprog123 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.

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. 

Pelle

Quote from: timovjl on May 21, 2012, 01:25:14 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