If the parameter of function is LPCTSTR, how can I pass a variable typed LPSTR to it ?
Andrew
http://www.experts-exchange.com/Programming/System/Windows__Programming/Q_10122487.html
when i want to call the CDaoRecordset::FindFist(lpszFilter)!becuase the lpszFilter is COleDateTime;so i use the below code:
......
COleDateTime time;
time.SetDateTime(2000,9,17,12,0,0);
CSt...
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_20183785.htm...
Zones:
Windows MFCDate Answered: 10/18/2003 Grade: A Views: 0
have a question regarding sending data through TCP/IP. I created a simple tcp/ip chat program where one copy of the same prog. is made a server and other copy of it is the client, and I'm and to...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20684344.html
Zones:
C++Date Answered: 01/25/2004 Grade: A Views: 0
Hello.
I am making an application where I am including two projects in one. First is a managed C++ dll creator and the second is a c# test application using the above as a reference.
...
http://www.experts-exchange.com/Programming/Languages/C_Sharp/Q_20948675.html
Zones:
C#Date Answered: 08/09/2004 Grade: B Views: 71
Ah hello.
I asked a previous question similar to this at http:Q_22030193.html, but have since come across this issue that am not sure why works the way it does. Consider this code, please:
c...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_22036831.html
Zones:
C++Date Answered: 10/25/2006 Grade: A Views: 0
Hi Folks,
I'm trying to concatenate two LPCTSTR parameters into a CString, and I'm having few problems.
void __stdcall Test(LPCTSTR InValue1, LPCTSTR InValue2)
{
CString Buffer;
Buffer = (CSt...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_10143778.html
Zones:
C++Date Answered: 05/13/1999 Grade: C Views: 55
Take a look at this sample code:
HANDLE fh;
msgId = 10;
char wavFile[20];
strcpy(wavFile, "msg");
strcat(wavFile, msgId);
strcat(wavFile, ".wav");
fh = CreateFile((LPCTSTR)wavFile,
...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_10191188.html
Zones:
C++Date Answered: 09/01/1999 Grade: C Views: 0
I have written a Dll in C, which calls a function in an ActiveX Dll(written in VB). The C interface to this ActiveX function requires some parameters to be passed in as BSTR *.
The function in ...
http://www.experts-exchange.com/Programming/Languages/C/Q_10227735.html
Zones:
CDate Answered: 11/02/1999 Grade: A Views: 17
I have ole enabled container which has active-x.When i click the GUI of Active-x control, the control inturn should fire event passing a string value to the container.Now i have created the custom ...
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_20182255.htm...
LPCTSTR m_pszExeName; // I have this, its the exe name
char buf[128]; // I want to add this onto it it has a name in it
------------------
I want to concat a char buffer(up to 128 bytes) ont...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20529149.html
Zones:
C++Date Answered: 02/28/2003 Grade: A Views: 0