Making DLL Error

Hi,
I am going to make some dll for visual basic by OCC5.2.
I used the following project in visual c
MFC Appwizard(dll) type:Regular DLL with MFC statically linked.

but when I add just the following code
#include "c:\OpenCASCADE5.1\ros\inc\math_Matrix.hxx"

the following errors will take place.
Could you please help me to fix it.

--------------------Configuration: mydll3 - Win32 Debug--------------------
Compiling...
mydll3.cpp
c:\opencascade5.1\ros\inc\standard_real.hxx(315) : error C2065: 'asinh' : undeclared identifier
c:\opencascade5.1\ros\inc\standard_sstream.hxx(5) : fatal error C1083: Cannot open include file: 'strstream.h': No such file or directory
Error executing cl.exe.

mydll3.dll - 2 error(s), 0 warning(s)

Patrik Mueller's picture

Hi,

add "WNT" to your project settings.

Greets,

Patrik

S.Toni's picture

Hi Patrik,
Thank you very much for your response.
I'll test it.
Sincerely yours, Toni

S.Toni's picture

Hi Patrik,
It works, Thank you very much.