|
|
|
|||||
|
dynamic link error
Hi
I had the following link error: firmq.obj : error LNK2019: unresolved external symbol "void __cdecl IceInternal::incRef(class IceProxy::MonkeyOnIce::Floor *)" I have a client in directory a: "firm" and a server in directory b: "floor". And in spite of the examples, I felt I did not want to include the floor.cpp file in both applications. Instead I have a separate dll with the slice generated code which client en server both can link against. But then the client could not link, becasue incRef (etc) is not exported by the dll - so I added __declspec (dllexport) - TO THE GENERATED CODE (bad idea). Is not having the export a bug or a feature? I just felt it is cleaner: instead of having links all over my directories (or have 1 directory), I just link to a dll. Is there an opinion on this one? Thanks in advance. Dirk |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| vc 6 link error | mwilson | Help Center | 5 | 02-13-2007 07:15 PM |
| Link error on Solaris | ACM | Help Center | 2 | 10-28-2005 03:54 AM |
| Ice Php 1.0.2 link error | fengxb | Help Center | 12 | 03-09-2004 12:08 AM |
| link error: error LNK2001: unresolved external symbol __imp___assert | gmueckl | Help Center | 2 | 09-03-2003 02:49 AM |
| link error with stl | simpley | Help Center | 11 | 09-02-2003 05:58 PM |