Click here to Skip to main content
15,887,434 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Any free zip/unzip library... Pin
Tim Smith25-Nov-02 2:21
Tim Smith25-Nov-02 2:21 
GeneralRe: Any free zip/unzip library... Pin
Stephane Rodriguez.25-Nov-02 3:04
Stephane Rodriguez.25-Nov-02 3:04 
GeneralSMTP server Pin
viliam25-Nov-02 0:17
viliam25-Nov-02 0:17 
GeneralRe: SMTP server Pin
Vasudevan Deepak Kumar25-Nov-02 0:53
Vasudevan Deepak Kumar25-Nov-02 0:53 
GeneralRe: SMTP server Pin
viliam25-Nov-02 1:01
viliam25-Nov-02 1:01 
GeneralRe: SMTP server Pin
Daniel Turini25-Nov-02 1:16
Daniel Turini25-Nov-02 1:16 
GeneralRe: SMTP server Pin
Vasudevan Deepak Kumar25-Nov-02 1:24
Vasudevan Deepak Kumar25-Nov-02 1:24 
GeneralADO conn.Open and L macro Pin
devvvy25-Nov-02 0:00
devvvy25-Nov-02 0:00 
to open a connection...

hr = pConn->Open(L"Provider=sqloledb; Data Source=127.0.0.1; Initial Catalog=realtime", L"sa", L"sa", NULL);

however, this time, i need to concatenate my connection string:

this->m_pszConn = new char[nLenConn+1];
strcpy(this->m_pszConn, this->m_pszProvider);
strcat(this->m_pszConn, this->m_pszDataSource);
strcat(this->m_pszConn, this->m_pszInitialCat);

how can I convert m_pszConn to Unicode? This is what the "L" macro does right? from char* to Unicode? And is "L" a macro by the way?

I can't do this:

pConn->Open( L m_pszConn, ....);

Thanks.

norm
GeneralRe: ADO conn.Open and L macro Pin
Christian Graus25-Nov-02 1:28
protectorChristian Graus25-Nov-02 1:28 
Generalactivex property initialisation Pin
Debs24-Nov-02 23:58
Debs24-Nov-02 23:58 
GeneralRe: activex property initialisation Pin
Heath Stewart25-Nov-02 2:38
protectorHeath Stewart25-Nov-02 2:38 
QuestionOne resource in more than one project? Pin
Anonymous24-Nov-02 22:38
Anonymous24-Nov-02 22:38 
AnswerRe: One resource in more than one project? Pin
Stephane Rodriguez.25-Nov-02 0:05
Stephane Rodriguez.25-Nov-02 0:05 
AnswerRe: One resource in more than one project? Pin
dima_t25-Nov-02 0:39
dima_t25-Nov-02 0:39 
AnswerRe: One resource in more than one project? Pin
KarstenK25-Nov-02 3:06
mveKarstenK25-Nov-02 3:06 
QuestionHow to write a Code Generator similar to Visual Studio Pin
aninddroy24-Nov-02 22:34
aninddroy24-Nov-02 22:34 
AnswerRe: How to write a Code Generator similar to Visual Studio Pin
Simon.W25-Nov-02 1:31
Simon.W25-Nov-02 1:31 
GeneralClosing already running instance Pin
suresh_sathya24-Nov-02 22:32
suresh_sathya24-Nov-02 22:32 
GeneralRe: Closing already running instance Pin
Roman Fadeyev24-Nov-02 23:33
Roman Fadeyev24-Nov-02 23:33 
GeneralRe: Closing already running instance Pin
suresh_sathya25-Nov-02 0:50
suresh_sathya25-Nov-02 0:50 
QuestionHow to use a DirectShow sample filter ? Pin
manio24-Nov-02 21:00
manio24-Nov-02 21:00 
AnswerRe: How to use a DirectShow sample filter ? Pin
Stephane Rodriguez.25-Nov-02 0:07
Stephane Rodriguez.25-Nov-02 0:07 
GeneralRe: How to use a DirectShow sample filter ? Pin
manio25-Nov-02 15:23
manio25-Nov-02 15:23 
GeneralRe: How to use a DirectShow sample filter ? Pin
Stephane Rodriguez.26-Nov-02 6:50
Stephane Rodriguez.26-Nov-02 6:50 
GeneralPorting from a NT to a '98 Pin
BlackRider24-Nov-02 20:43
BlackRider24-Nov-02 20:43 

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.