Re: MFC-DLL with CString as parameter?
- From: "Giovanni Dicanio" <giovanni.dicanio@xxxxxxxxxxx>
- Date: Thu, 8 May 2008 18:06:25 +0200
"Joseph M. Newcomer" <newcomer@xxxxxxxxxxxx> ha scritto nel messaggio
news:hq6624509f4gl8951orr38hrkkfi3scnkr@xxxxxxxxxx
pFunc = (MyFuncType)GetProcAddress(hMod, "myfunc"); // not _T()[...]
but for this one, using the _T() notation would generate an error when you
did a Unicode
compilation. I like to make this explicit.
And I think that your are right to point out that.
I think that ANSI-only version of GetProcAddress is because function names
must be US-ASCII only in C/C++, e.g. I think that I cannot name a C/C++
function "perché" (because of non-US character "é")
void perché( ... ) // C/C++ error
void perche(...) // all right
Giovanni
.
- Follow-Ups:
- Re: MFC-DLL with CString as parameter?
- From: Joseph M . Newcomer
- Re: MFC-DLL with CString as parameter?
- References:
- MFC-DLL with CString as parameter?
- From: Felix
- Re: MFC-DLL with CString as parameter?
- From: Joseph M . Newcomer
- MFC-DLL with CString as parameter?
- Prev by Date: Re: Dialogbased App: add Automation later?
- Next by Date: Re: How do I delete a folder through code?
- Previous by thread: Re: MFC-DLL with CString as parameter?
- Next by thread: Re: MFC-DLL with CString as parameter?
- Index(es):
Relevant Pages
|
Loading