Click here to Skip to main content
15,393,863 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: new and delete Pin
sunit527-Mar-06 0:58
Membersunit527-Mar-06 0:58 
GeneralRe: new and delete Pin
Waldermort27-Mar-06 1:59
MemberWaldermort27-Mar-06 1:59 
GeneralRe: new and delete Pin
sunit527-Mar-06 18:28
Membersunit527-Mar-06 18:28 
QuestionQuick answer would be great Pin
Waldermort26-Mar-06 3:14
MemberWaldermort26-Mar-06 3:14 
AnswerRe: Quick answer would be great Pin
toxcct26-Mar-06 3:44
Membertoxcct26-Mar-06 3:44 
AnswerRe: Quick answer would be great Pin
eli1502197926-Mar-06 3:45
Membereli1502197926-Mar-06 3:45 
GeneralRe: Quick answer would be great Pin
Waldermort26-Mar-06 3:54
MemberWaldermort26-Mar-06 3:54 
QuestionExporting functions with strings Pin
mosquitooth26-Mar-06 1:49
Membermosquitooth26-Mar-06 1:49 
Hi,

I've got a (probably) common problem: I want to create a several unmanged C++ DLLs in VS2005, most of them shall export functions with strings (best CString), like this:

void TestFunc1(int a, CString b);
void TestFunc2(int a, LPCTSTR b);
CString TestFunc3(int a);

All these DLLs compile and link well, but when I try to use them in my applications, I always receive a linker error (LNK2019: undefined external symbol). Obviously, this problem is related to the use of strings as arguments (or return values), because if I remove them as arguments, everything works fine...

any ideas how to solve this?

Greetings,

Peter
AnswerRe: Exporting functions with strings Pin
Giannakakis Kostas26-Mar-06 18:35
professionalGiannakakis Kostas26-Mar-06 18:35 
AnswerRe: Abstract dataype Pin
PJ Arends26-Mar-06 11:31
professionalPJ Arends26-Mar-06 11:31 
QuestionText Formatting Pin
Waldermort26-Mar-06 1:38
MemberWaldermort26-Mar-06 1:38 
QuestionClass Creation Problem Pin
vin36925-Mar-06 23:52
Membervin36925-Mar-06 23:52 
AnswerRe: Class Creation Problem Pin
Stephen Hewitt26-Mar-06 12:14
MemberStephen Hewitt26-Mar-06 12:14 
Questionfont of barcode Pin
includeh1025-Mar-06 22:27
Memberincludeh1025-Mar-06 22:27 
QuestionBeginner's Guide to DirectX Pin
WhatNameHasn'tBeenTakenYet25-Mar-06 22:10
MemberWhatNameHasn'tBeenTakenYet25-Mar-06 22:10 
AnswerRe: Beginner's Guide to DirectX Pin
CaesarCZ25-Mar-06 23:06
MemberCaesarCZ25-Mar-06 23:06 
GeneralRe: Beginner's Guide to DirectX Pin
WhatNameHasn'tBeenTakenYet25-Mar-06 23:52
MemberWhatNameHasn'tBeenTakenYet25-Mar-06 23:52 
QuestionDisplaying float in MessageBox Pin
Steve Kelly25-Mar-06 20:59
MemberSteve Kelly25-Mar-06 20:59 
AnswerRe: Displaying float in MessageBox Pin
Hamid_RT25-Mar-06 21:16
MemberHamid_RT25-Mar-06 21:16 
GeneralRe: Displaying float in MessageBox Pin
ThatsAlok26-Mar-06 17:59
MemberThatsAlok26-Mar-06 17:59 
AnswerRe: Displaying float in MessageBox Pin
Hamid_RT25-Mar-06 21:27
MemberHamid_RT25-Mar-06 21:27 
GeneralRe: Displaying float in MessageBox Pin
Steve Kelly25-Mar-06 21:38
MemberSteve Kelly25-Mar-06 21:38 
GeneralRe: Displaying float in MessageBox Pin
Hamid_RT25-Mar-06 21:54
MemberHamid_RT25-Mar-06 21:54 
GeneralRe: Displaying float in MessageBox Pin
toxcct26-Mar-06 3:38
Membertoxcct26-Mar-06 3:38 
GeneralRe: Displaying float in MessageBox Pin
Nish Nishant26-Mar-06 7:49
sitebuilderNish Nishant26-Mar-06 7:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.