|
by: Markus Hämmerli |
last post by:
I ' ll tra to convert a Cstring to char* without success.
I working in a Unicode enabled environment
this is working in Unicode
CString source = _T("TestString");
TCHAR *szSource = source.GetBuffer(0 );
but i need a char* and so this is not working
CString source = _T("TestString");
|
by: Tim Wong |
last post by:
All:
I am trying to convert a CString value to an unsigned char array.
I found some code online that will allow me to compile, but when I try
to print out...i get a whole mess.
/*Begin Code*/
CString day("01");
unsigned char testDay;
|
by: Gareth |
last post by:
I want to do the following to strings:
1) Check if first four characters are "DATA"
2) Get the middle 'word' from the following string "DATA 123 xyz" (the
middle word is variable length) - extract the "123".
3) Get the last word/number from the following string "DATA SEND 1467436267"
What functions should I use to achieve this? I'm new to C++ and finding
|
by: garrry |
last post by:
Here is the situation (in VisualC++6 environment):
1. some number is enterd into a CEdit window by user
2. the application has to obtain that number and do some calculations
with it (just like in Windows Calculator), therefore the result must
be
a numeric value(double, float, etc.), not a CString object like it
|
by: Tony Johansson |
last post by:
Hello!
We have MFC application from VC6. Assume we compile the MFC application in
VC8.
Does anything special be done to the MFC application accept remove all the
errors before being able to use .NET
for new feature.
When we want to add new feature to the application using .NET is it then
possible to use C# insted of C++?
|
|
by: Cactus |
last post by:
How to convert unsigned char* to CString:
I wrote some function:
u_char_ =55;
u_char_ =66;
u_char_ =77;
.........=ii......
Convert_to_CS(u_char_);
|
by: flyingxu |
last post by:
Hi,
I run into a cstring related link problem in VC7.
My solution has 3 projects, one MFC exe, two MFC extersion DLL.
the two MFC extersion DLL export functions which use CString as
parameters.
Everything is fine in VC6.
Now I want to upgrade the solution to VC7, but I got lots of link error
like this,
/*
WinGPC5.obj : error LNK2019: unresolved external symbol "public: static
|
by: agneya |
last post by:
Hi this is krishna
I have two download servers . If one server is busy or not find then I have to connect alternate download server. already i have example code using this we can connect download server . plz any body help me
CString strURL;
CString strPort;
CString strPath;
CString strAffiliateID;
mapURLs.Lookup(_T("DownloadServer"),strURL);
mapURLs.Lookup(_T("DownloadServerPort"),strPort);
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|