- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please try adding DECORATE to your DLLIMPORT macro as well.
--Lorri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Lorri Menard (Intel) wrote:
Please try adding DECORATE to your DLLIMPORT macro as well.
--Lorri
Dear Lorri:
Thansk a lot!
I've tried that, but the compiler says the DECORATE is conflict with DLLIMPORT.
Finally, I found the problem is caused by that I changed the target from win32 to x64, but I did not change the *.lib file the linker used... the path to the new *.lib is ./x64/Release rather than ./Release.
I should use less fixed path strings.
-Di.C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Lorri Menard (Intel) wrote:
Please try adding DECORATE to your DLLIMPORT macro as well.
--Lorri
Dear Lorri:
Thansk a lot!
I've tried that, but the compiler says the DECORATE is conflict with DLLIMPORT.
Finally, I found the problem is caused by that I changed the target from win32 to x64, but I did not change the *.lib file the linker used... the path to the new *.lib is ./x64/Release rather than ./Release.
I should use less fixed path strings.
-Di.C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Lorri Menard (Intel) wrote:
Please try adding DECORATE to your DLLIMPORT macro as well.
--Lorri
Dear Lorri:
Thansk a lot!
I've tried that, but the compiler says the DECORATE is conflict with DLLIMPORT.
Finally, I found the problem is caused by that I changed the target from win32 to x64, but I did not change the *.lib file the linker used... the path to the new *.lib is ./x64/Release rather than ./Release.
I should use less fixed path strings.
-Di.C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
:-) I'm glad to hear you've resolved the problem!
--Lorri
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page