Advertisement

1 - 10 of 38 containing alltags:("lpctstr") (0.001 seconds)
If the parameter of function is LPCTSTR, how can I pass a variable typed LPSTR to it ? Andrew
Zones: Windows ProgrammingDate Answered: 01/28/1999 Grade: A Views: 8
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...
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...
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.   ...
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...
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...
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,               ...
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 ...
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 ...
Zones: Windows MFC, Microsoft ProgrammingDate Answered: 10/18/2003 Grade: A Views: 9
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...
Zones: C++Date Answered: 02/28/2003 Grade: A Views: 0