473,651 Members | 2,533 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

GetMessage Function MFC Mixed mode dll link problems...

All,

I have a MFC Mixed mode dll which is working well. I am now tring to use a
regular C++ class from another DLL which has a method called GetMessage.
When I link I get 2 error messages:
MyClass.obj : error LNK2028: unresolved token (0A00074C) "public: class
CMessage * __thiscall CTransmitMessag e::GetMessage(i nt)"
(?GetMessage@CT ransmitMessage@ DSS@@$$FQAEPAVC Message@2@H@Z) referenced in
function "private: void __thiscall CMyClass::Proce ssStateResponse (class
CStateResponse const &)"
(?ProcessStateR esponse@CMyClas s@DSS@@$$FAAEXA BVCStateRespons e@2@@Z)
MyClass.obj : error LNK2019: unresolved external symbol "public: class
CMessage * __thiscall CTransmitMessag e::GetMessage(i nt)"
(?GetMessage@CT ransmitMessage@ DSS@@$$FQAEPAVC Message@2@H@Z) referenced in
function "private: void __thiscall CMyClass::Proce ssStateResponse (class
CSaveStateRespo nse const &)"
(?ProcessStateR esponse@CMyClas s@DSS@@$$FAAEXA BVCStateRespons e@2@@Z)

CMyClass::Proce ssResponse( stateMsg )

....

CMessage* pMessage = stateMsg.GetMes sage( i );

....

This class and function have been used for years, but I get this specicific
link error when I use it from any MFC Mixed mode dll. If I rename the
function something other than GetMessage, I do not get the linking errors.
This leads me to think there is some conflict on the GetMessage name with
the .Net Framework but I do not know how to resolve this. Any ideas?

Thanks!

Craig Klementowski
May 31 '06 #1
7 3084
Hi Craig,

<Craig K> wrote in message news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
All,

I have a MFC Mixed mode dll which is working well. I am now tring to use a
regular C++ class from another DLL which has a method called GetMessage.
When I link I get 2 error messages:
MyClass.obj : error LNK2028: unresolved token (0A00074C) "public: class
CMessage * __thiscall CTransmitMessag e::GetMessage(i nt)"
(?GetMessage@CT ransmitMessage@ DSS@@$$FQAEPAVC Message@2@H@Z) referenced in
function "private: void __thiscall CMyClass::Proce ssStateResponse (class
CStateResponse const &)"
(?ProcessStateR esponse@CMyClas s@DSS@@$$FAAEXA BVCStateRespons e@2@@Z)
MyClass.obj : error LNK2019: unresolved external symbol "public: class
CMessage * __thiscall CTransmitMessag e::GetMessage(i nt)"
(?GetMessage@CT ransmitMessage@ DSS@@$$FQAEPAVC Message@2@H@Z) referenced in
function "private: void __thiscall CMyClass::Proce ssStateResponse (class
CSaveStateRespo nse const &)"
(?ProcessStateR esponse@CMyClas s@DSS@@$$FAAEXA BVCStateRespons e@2@@Z)

CMyClass::Proce ssResponse( stateMsg )

...

CMessage* pMessage = stateMsg.GetMes sage( i );

...

This class and function have been used for years, but I get this
specicific link error when I use it from any MFC Mixed mode dll. If I
rename the function something other than GetMessage, I do not get the
linking errors. This leads me to think there is some conflict on the
GetMessage name with the .Net Framework but I do not know how to resolve
this. Any ideas?

Thanks!

Craig Klementowski


what happens if you
#undef GetMessage
in the file that causes the errors?

Marcus
May 31 '06 #2
Marcus,

I tried that and unfortunately it did not help.

Thanks.

Craig

"Marcus Heege" <NO****@heege.n et> wrote in message
news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
Hi Craig,

<Craig K> wrote in message news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
All,

I have a MFC Mixed mode dll which is working well. I am now tring to use
a regular C++ class from another DLL which has a method called
GetMessage. When I link I get 2 error messages:
MyClass.obj : error LNK2028: unresolved token (0A00074C) "public: class
CMessage * __thiscall CTransmitMessag e::GetMessage(i nt)"
(?GetMessage@CT ransmitMessage@ DSS@@$$FQAEPAVC Message@2@H@Z) referenced in
function "private: void __thiscall CMyClass::Proce ssStateResponse (class
CStateResponse const &)"
(?ProcessStateR esponse@CMyClas s@DSS@@$$FAAEXA BVCStateRespons e@2@@Z)
MyClass.obj : error LNK2019: unresolved external symbol "public: class
CMessage * __thiscall CTransmitMessag e::GetMessage(i nt)"
(?GetMessage@CT ransmitMessage@ DSS@@$$FQAEPAVC Message@2@H@Z) referenced in
function "private: void __thiscall CMyClass::Proce ssStateResponse (class
CSaveStateRespo nse const &)"
(?ProcessStateR esponse@CMyClas s@DSS@@$$FAAEXA BVCStateRespons e@2@@Z)

CMyClass::Proce ssResponse( stateMsg )

...

CMessage* pMessage = stateMsg.GetMes sage( i );

...

This class and function have been used for years, but I get this
specicific link error when I use it from any MFC Mixed mode dll. If I
rename the function something other than GetMessage, I do not get the
linking errors. This leads me to think there is some conflict on the
GetMessage name with the .Net Framework but I do not know how to resolve
this. Any ideas?

Thanks!

Craig Klementowski


what happens if you
#undef GetMessage
in the file that causes the errors?

Marcus

May 31 '06 #3
Hi Craig,

<Craig K> wrote in message news:u%******** ********@TK2MSF TNGP02.phx.gbl. ..
Marcus,

I tried that and unfortunately it did not help.

Thanks.

Craig

"Marcus Heege" <NO****@heege.n et> wrote in message
news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
Hi Craig,

<Craig K> wrote in message
news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
All,

I have a MFC Mixed mode dll which is working well. I am now tring to use
a regular C++ class from another DLL which has a method called
GetMessage. When I link I get 2 error messages:
MyClass.obj : error LNK2028: unresolved token (0A00074C) "public: class
CMessage * __thiscall CTransmitMessag e::GetMessage(i nt)"
(?GetMessage@CT ransmitMessage@ DSS@@$$FQAEPAVC Message@2@H@Z) referenced
in function "private: void __thiscall
CMyClass::Proce ssStateResponse (class CStateResponse const &)"
(?ProcessStateR esponse@CMyClas s@DSS@@$$FAAEXA BVCStateRespons e@2@@Z)
MyClass.obj : error LNK2019: unresolved external symbol "public: class
CMessage * __thiscall CTransmitMessag e::GetMessage(i nt)"
(?GetMessage@CT ransmitMessage@ DSS@@$$FQAEPAVC Message@2@H@Z) referenced
in function "private: void __thiscall
CMyClass::Proce ssStateResponse (class CSaveStateRespo nse const &)"
(?ProcessStateR esponse@CMyClas s@DSS@@$$FAAEXA BVCStateRespons e@2@@Z)

CMyClass::Proce ssResponse( stateMsg )

...

CMessage* pMessage = stateMsg.GetMes sage( i );

...

This class and function have been used for years, but I get this
specicific link error when I use it from any MFC Mixed mode dll. If I
rename the function something other than GetMessage, I do not get the
linking errors. This leads me to think there is some conflict on the
GetMessage name with the .Net Framework but I do not know how to resolve
this. Any ideas?

Thanks!

Craig Klementowski


what happens if you
#undef GetMessage
in the file that causes the errors?

Marcus


Is it possible to repoduce the poblem in a small VS solution, so that I can
do further reseach?
Jun 1 '06 #4
"Marcus Heege" <NO****@heege.n et> wrote in message
news:u0******** ******@TK2MSFTN GP05.phx.gbl...
Hi Craig,

<Craig K> wrote in message news:u%******** ********@TK2MSF TNGP02.phx.gbl. ..
Marcus,

I tried that and unfortunately it did not help.

Thanks.

Craig

"Marcus Heege" <NO****@heege.n et> wrote in message
news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
Hi Craig,

<Craig K> wrote in message
news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
All,

I have a MFC Mixed mode dll which is working well. I am now tring to
use a regular C++ class from another DLL which has a method called
GetMessage. When I link I get 2 error messages:
MyClass.obj : error LNK2028: unresolved token (0A00074C) "public: class
CMessage * __thiscall CTransmitMessag e::GetMessage(i nt)"
(?GetMessage@CT ransmitMessage@ DSS@@$$FQAEPAVC Message@2@H@Z) referenced
in function "private: void __thiscall
CMyClass::Proce ssStateResponse (class CStateResponse const &)"
(?ProcessStateR esponse@CMyClas s@DSS@@$$FAAEXA BVCStateRespons e@2@@Z)
MyClass.obj : error LNK2019: unresolved external symbol "public: class
CMessage * __thiscall CTransmitMessag e::GetMessage(i nt)"
(?GetMessage@CT ransmitMessage@ DSS@@$$FQAEPAVC Message@2@H@Z) referenced
in function "private: void __thiscall
CMyClass::Proce ssStateResponse (class CSaveStateRespo nse const &)"
(?ProcessStateR esponse@CMyClas s@DSS@@$$FAAEXA BVCStateRespons e@2@@Z)

CMyClass::Proce ssResponse( stateMsg )

...

CMessage* pMessage = stateMsg.GetMes sage( i );

...

This class and function have been used for years, but I get this
specicific link error when I use it from any MFC Mixed mode dll. If I
rename the function something other than GetMessage, I do not get the
linking errors. This leads me to think there is some conflict on the
GetMessage name with the .Net Framework but I do not know how to
resolve this. Any ideas?

Thanks!

Craig Klementowski

what happens if you
#undef GetMessage
in the file that causes the errors?

Marcus


Is it possible to repoduce the poblem in a small VS solution, so that I
can do further reseach?


Please view the DLL containing CTransmitMessag e with DependencyWalke r. Most
likely while the DLL was built, it renamed the function to GetMessageA.

www.dependencywalker.com
Jun 2 '06 #5
Ben,

It does seem to do that. How I do get it to not do that? Why does it work
from all other non mixed mode dll's?

Thanks!

Craig

"Ben Voigt" <rb*@nospam.nos pam> wrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
"Marcus Heege" <NO****@heege.n et> wrote in message
news:u0******** ******@TK2MSFTN GP05.phx.gbl...
Hi Craig,

<Craig K> wrote in message
news:u%******** ********@TK2MSF TNGP02.phx.gbl. ..
Marcus,

I tried that and unfortunately it did not help.

Thanks.

Craig

"Marcus Heege" <NO****@heege.n et> wrote in message
news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
Hi Craig,

<Craig K> wrote in message
news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
> All,
>
> I have a MFC Mixed mode dll which is working well. I am now tring to
> use a regular C++ class from another DLL which has a method called
> GetMessage. When I link I get 2 error messages:
>
>
> MyClass.obj : error LNK2028: unresolved token (0A00074C) "public:
> class CMessage * __thiscall CTransmitMessag e::GetMessage(i nt)"
> (?GetMessage@CT ransmitMessage@ DSS@@$$FQAEPAVC Message@2@H@Z) referenced
> in function "private: void __thiscall
> CMyClass::Proce ssStateResponse (class CStateResponse const &)"
> (?ProcessStateR esponse@CMyClas s@DSS@@$$FAAEXA BVCStateRespons e@2@@Z)
> MyClass.obj : error LNK2019: unresolved external symbol "public: class
> CMessage * __thiscall CTransmitMessag e::GetMessage(i nt)"
> (?GetMessage@CT ransmitMessage@ DSS@@$$FQAEPAVC Message@2@H@Z) referenced
> in function "private: void __thiscall
> CMyClass::Proce ssStateResponse (class CSaveStateRespo nse const &)"
> (?ProcessStateR esponse@CMyClas s@DSS@@$$FAAEXA BVCStateRespons e@2@@Z)
>
> CMyClass::Proce ssResponse( stateMsg )
>
> ...
>
> CMessage* pMessage = stateMsg.GetMes sage( i );
>
> ...
>
> This class and function have been used for years, but I get this
> specicific link error when I use it from any MFC Mixed mode dll. If I
> rename the function something other than GetMessage, I do not get the
> linking errors. This leads me to think there is some conflict on the
> GetMessage name with the .Net Framework but I do not know how to
> resolve this. Any ideas?
>
> Thanks!
>
> Craig Klementowski

what happens if you
#undef GetMessage
in the file that causes the errors?

Marcus


Is it possible to repoduce the poblem in a small VS solution, so that I
can do further reseach?


Please view the DLL containing CTransmitMessag e with DependencyWalke r.
Most likely while the DLL was built, it renamed the function to
GetMessageA.

www.dependencywalker.com

Jun 2 '06 #6
<Craig K> wrote in message news:eT******** ********@TK2MSF TNGP05.phx.gbl. ..
Ben,

It does seem to do that. How I do get it to not do that? Why does it work
from all other non mixed mode dll's?
Marcus has it right, the windows.h header file (or one of the hundreds of
files it #includes) defines GetMessage to GetMessageA or GetMessageW to
choose either the Unicode or ANSI version of the builtin (user.dll)
GetMessage API. Your managed program probably doesn't #include <windows.h>,
so you're not getting the same replacement.

You can:
(1) #include <windows.h> in your caller
or
(2) #undef GetMessage in the exporting dll
or
(3) in your header file for the class, above the class definition, use a
static inline function instead of a macro for the GetMessage thing as
follows:

#undef GetMessage
static inline BOOL GetMessage(
LPMSG lpMsg,
HWND hWnd,
UINT wMsgFilterMin,
UINT wMsgFilterMax
) {
#if UNICODE
return ::GetMessageW(l pMsg, hWnd, wMsgFilterMin, wMsgFilterMax);
#else
return ::GetMessageA(l pMsg, hWnd, wMsgFilterMin, wMsgFilterMax);
#endif
}

This will shim only the Windows API GetMessage and not all other occurances
of the identifier. (inline functions are resolved based on scope while
macros hit everything). Since it is inline, there will be no extra function
call overhead -- it is just as efficient as a macro.

Thanks!

Craig

"Ben Voigt" <rb*@nospam.nos pam> wrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
"Marcus Heege" <NO****@heege.n et> wrote in message
news:u0******** ******@TK2MSFTN GP05.phx.gbl...
Hi Craig,

<Craig K> wrote in message
news:u%******** ********@TK2MSF TNGP02.phx.gbl. ..
Marcus,

I tried that and unfortunately it did not help.

Thanks.

Craig

"Marcus Heege" <NO****@heege.n et> wrote in message
news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
> Hi Craig,
>
> <Craig K> wrote in message
> news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
>> All,
>>
>> I have a MFC Mixed mode dll which is working well. I am now tring to
>> use a regular C++ class from another DLL which has a method called
>> GetMessage. When I link I get 2 error messages:
>>
>>
>> MyClass.obj : error LNK2028: unresolved token (0A00074C) "public:
>> class CMessage * __thiscall CTransmitMessag e::GetMessage(i nt)"
>> (?GetMessage@CT ransmitMessage@ DSS@@$$FQAEPAVC Message@2@H@Z)
>> referenced in function "private: void __thiscall
>> CMyClass::Proce ssStateResponse (class CStateResponse const &)"
>> (?ProcessStateR esponse@CMyClas s@DSS@@$$FAAEXA BVCStateRespons e@2@@Z)
>> MyClass.obj : error LNK2019: unresolved external symbol "public:
>> class CMessage * __thiscall CTransmitMessag e::GetMessage(i nt)"
>> (?GetMessage@CT ransmitMessage@ DSS@@$$FQAEPAVC Message@2@H@Z)
>> referenced in function "private: void __thiscall
>> CMyClass::Proce ssStateResponse (class CSaveStateRespo nse const &)"
>> (?ProcessStateR esponse@CMyClas s@DSS@@$$FAAEXA BVCStateRespons e@2@@Z)
>>
>> CMyClass::Proce ssResponse( stateMsg )
>>
>> ...
>>
>> CMessage* pMessage = stateMsg.GetMes sage( i );
>>
>> ...
>>
>> This class and function have been used for years, but I get this
>> specicific link error when I use it from any MFC Mixed mode dll. If I
>> rename the function something other than GetMessage, I do not get the
>> linking errors. This leads me to think there is some conflict on the
>> GetMessage name with the .Net Framework but I do not know how to
>> resolve this. Any ideas?
>>
>> Thanks!
>>
>> Craig Klementowski
>
> what happens if you
> #undef GetMessage
> in the file that causes the errors?
>
> Marcus

Is it possible to repoduce the poblem in a small VS solution, so that I
can do further reseach?


Please view the DLL containing CTransmitMessag e with DependencyWalke r.
Most likely while the DLL was built, it renamed the function to
GetMessageA.

www.dependencywalker.com


Jun 2 '06 #7
Ben,

Great #3 works for me. I think I may prefer to rename the function in the
long run though. Never did like #defines that much....

Thanks Guys!

Craig

"Ben Voigt" <rb*@nospam.nos pam> wrote in message
news:%2******** **********@TK2M SFTNGP05.phx.gb l...
<Craig K> wrote in message news:eT******** ********@TK2MSF TNGP05.phx.gbl. ..
Ben,

It does seem to do that. How I do get it to not do that? Why does it work
from all other non mixed mode dll's?


Marcus has it right, the windows.h header file (or one of the hundreds of
files it #includes) defines GetMessage to GetMessageA or GetMessageW to
choose either the Unicode or ANSI version of the builtin (user.dll)
GetMessage API. Your managed program probably doesn't #include
<windows.h>, so you're not getting the same replacement.

You can:
(1) #include <windows.h> in your caller
or
(2) #undef GetMessage in the exporting dll
or
(3) in your header file for the class, above the class definition, use a
static inline function instead of a macro for the GetMessage thing as
follows:

#undef GetMessage
static inline BOOL GetMessage(
LPMSG lpMsg,
HWND hWnd,
UINT wMsgFilterMin,
UINT wMsgFilterMax
) {
#if UNICODE
return ::GetMessageW(l pMsg, hWnd, wMsgFilterMin, wMsgFilterMax);
#else
return ::GetMessageA(l pMsg, hWnd, wMsgFilterMin, wMsgFilterMax);
#endif
}

This will shim only the Windows API GetMessage and not all other
occurances of the identifier. (inline functions are resolved based on
scope while macros hit everything). Since it is inline, there will be no
extra function call overhead -- it is just as efficient as a macro.

Thanks!

Craig

"Ben Voigt" <rb*@nospam.nos pam> wrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
"Marcus Heege" <NO****@heege.n et> wrote in message
news:u0******** ******@TK2MSFTN GP05.phx.gbl...
Hi Craig,

<Craig K> wrote in message
news:u%******** ********@TK2MSF TNGP02.phx.gbl. ..
> Marcus,
>
> I tried that and unfortunately it did not help.
>
> Thanks.
>
> Craig
>
> "Marcus Heege" <NO****@heege.n et> wrote in message
> news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
>> Hi Craig,
>>
>> <Craig K> wrote in message
>> news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
>>> All,
>>>
>>> I have a MFC Mixed mode dll which is working well. I am now tring to
>>> use a regular C++ class from another DLL which has a method called
>>> GetMessage. When I link I get 2 error messages:
>>>
>>>
>>> MyClass.obj : error LNK2028: unresolved token (0A00074C) "public:
>>> class CMessage * __thiscall CTransmitMessag e::GetMessage(i nt)"
>>> (?GetMessage@CT ransmitMessage@ DSS@@$$FQAEPAVC Message@2@H@Z)
>>> referenced in function "private: void __thiscall
>>> CMyClass::Proce ssStateResponse (class CStateResponse const &)"
>>> (?ProcessStateR esponse@CMyClas s@DSS@@$$FAAEXA BVCStateRespons e@2@@Z)
>>> MyClass.obj : error LNK2019: unresolved external symbol "public:
>>> class CMessage * __thiscall CTransmitMessag e::GetMessage(i nt)"
>>> (?GetMessage@CT ransmitMessage@ DSS@@$$FQAEPAVC Message@2@H@Z)
>>> referenced in function "private: void __thiscall
>>> CMyClass::Proce ssStateResponse (class CSaveStateRespo nse const &)"
>>> (?ProcessStateR esponse@CMyClas s@DSS@@$$FAAEXA BVCStateRespons e@2@@Z)
>>>
>>> CMyClass::Proce ssResponse( stateMsg )
>>>
>>> ...
>>>
>>> CMessage* pMessage = stateMsg.GetMes sage( i );
>>>
>>> ...
>>>
>>> This class and function have been used for years, but I get this
>>> specicific link error when I use it from any MFC Mixed mode dll. If
>>> I rename the function something other than GetMessage, I do not get
>>> the linking errors. This leads me to think there is some conflict on
>>> the GetMessage name with the .Net Framework but I do not know how to
>>> resolve this. Any ideas?
>>>
>>> Thanks!
>>>
>>> Craig Klementowski
>>
>> what happens if you
>> #undef GetMessage
>> in the file that causes the errors?
>>
>> Marcus

Is it possible to repoduce the poblem in a small VS solution, so that I
can do further reseach?
Please view the DLL containing CTransmitMessag e with DependencyWalke r.
Most likely while the DLL was built, it renamed the function to
GetMessageA.

www.dependencywalker.com



Jun 2 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1611
by: igal.ioffe | last post by:
Hi All, I've run into a problem, converting a native project into mixed mode, where usage of gcroot point in mixed mode causes a fatal CLR engine exception. Here is a tiny code extract: ------------------ mixeddll.cpp ---------- #include <vcclr.h>
0
1671
by: Edward Diener | last post by:
I have some questions about the instructions for creating a mixed mode DLL in the MSDN topic "Converting Managed Extensions for C++ Projects from Pure Intermediate Language to Mixed Mode" in the "Managed Extensions for C++ Reference". 1) The first instruction in converting to mixed mode is to link with /NOENTRY. This occurs despite the fact that a pure mode DLL is already set up with this option in the linker, and the previous...
9
2586
by: Edward Diener | last post by:
I received no answers about this the first time I posted, so I will try again. My inability to decipher an MSDN topic may find others who have the same inability and someone who can decipher and explain it. I have some questions about the instructions for creating a mixed mode DLL in the MSDN topic "Converting Managed Extensions for C++ Projects from Pure Intermediate Language to Mixed Mode" in the "Managed Extensions for C++ Reference"....
13
4123
by: Bern McCarty | last post by:
I have run an experiment to try to learn some things about floating point performance in managed C++. I am using Visual Studio 2003. I was hoping to get a feel for whether or not it would make sense to punch out from managed code to native code (I was using IJW) in order to do some amount of floating point work and, if so, what that certain amount of floating point work was approximately. To attempt to do this I made a program that...
8
1992
by: Nadav | last post by:
Hi, I am writing a performence critical application, this require me to stick to unmanaged C++ as performance is much better using unmanaged C++ ( about 33% better ), Still, I am trying to avoid the usage of old style COM, my alternative is to expose my unmanaged interface through the CLI, to achieve that I have created a mixed mode DLL in which my unmanaged class are defined. When referencing the DLL just described in another mixed mode EXE...
7
1689
by: Staale L. Hansen | last post by:
We have an application which uses some mixed-mode code to expose a .NET 1.1 managed API. Only the necessary files are compiled with /clr. We want to be able to load the application without .NET present, and then just disable the API. But we are not even able to give an error message when we start the application without mscoree.dll present. We have tried delay-loading mscoree.dll, but that did not help because the OS loader (at least on...
0
1059
by: Drew | last post by:
I am attempting to clean up some code by breaking a large mixed-mode Managed C++ library into two. I cannot get the darn thing to compile or link (depending on what I do). I have two libraries (projects). One called "core" and the other called "server". If I use #include's (not using references in VS 2003) from the "server"
6
2694
by: John | last post by:
I have 5 native static libraries that are being compiled in Visual Studio 2005 with the /MDd C Runtime option. I have 2 CLR DLLs (all managed code) in Visual Studio 2005 and the /MDd C Runtime setting. They are in the same solution, and compile/link without problems (Debug configuration). I also have 1 mixed-mode CLR DLL that consumes both the static libraries and managed DLLs. It is configured to use the /MDd C Runtime library. When...
5
2792
by: =?Utf-8?B?aWduaGVucnk=?= | last post by:
I have a managed C++ project and two C# projects. All are class library projects. The C++ project links with native C++ static libraries and references to one C# project. The projects structure goes something like this. Proj2_MCPP --(references)--Proj1_CSharp Proj3_CSharp --(references)--Proj2_MCPP and Proj1_CSharp My objective is to link the DLLs produced by the 3 projects into a single DLL. I tried the following scenario.
0
8349
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8795
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8695
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8576
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7296
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5609
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4281
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2696
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1906
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.