|
Hi Rajesh,
it displays some junk characters... in my application, it was showing some vertical lines...
|
|
|
|
|
So, if it doesn't display question marks, it could be as simple as that the machine is not having the language pack installed. Have you tried Michael Schubert's suggestion? I didn't suggest it right away to ensure that you weren't seeing question marks instead.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
but one thing is confusing me alot rajesh...
i have two views for my application..say x and y.(different views)...x is created in runtime...i will create y.. based on y, x will be created actually....i get the inputs from xml file for x view..say font details, bgcolor details etc., i changed font to arial unicode ms everywhere but still its not showing arabic characters alone..
in y view, its showing arabic characters and in another view (x),its showing junk characters..
Thanks,
Rakesh.
|
|
|
|
|
Well, I'm not sure. I've never worked with Arabic characters, but have you checked if it's got anything to do with setting the "reading direct order"? (Arabic is right to left).
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
I think you have to install the language and font support in Windows:
Control Panel -> Regional and Language Options -> Languages -> Install files for complex script and right-to-left languages
|
|
|
|
|
i think your machine doesn't contains the Arabic font, please install and try.
|
|
|
|
|
wat is a clipping region?
|
|
|
|
|
See, for instance here.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Hi all,
I already managed to connect to the dataase-MySQL:-select and insert the data in the database.
But, my problem is, how am i going to put the data into the list.
Let say when I'm doing the selecting, i got 20 records. And each record is contain 4 fields.
How am I going to set the data to
(field1, field2, field3, field4)
Thanks.
---
res = stmt ->executeQuery("SELECT a, b, c, d from log");
while (res->next()){
res->getString(1);
res->getString(2);
res->getString(3);
res->getString(4);
}
|
|
|
|
|
|
hi,
i dont understand.
mysql website?
|
|
|
|
|
From ur question, what i understood is that, you want to set a data to the a row of the table. So i suggested the mysql website,
If my understand is wrong then please explain ur question.
|
|
|
|
|
Hi,
Tq for your reply.
ACtually, I have one table : log. And it consist 4 fields.. Currently I'm having 20 records..
What I want to do is to have a struct / linked list..
So when I display the data, it will display like
-(field1, field2, field3, field4)
|
|
|
|
|
izyani wrote: What I want to do is to have a struct / linked list..
So when I display the data, it will display like
-(field1, field2, field3, field4)
Why bother with a struct/list when you can display the data straight from the record set?
Are you using MFC?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Uhm...What is the question?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
wat is the difference between device context and graphics device interface?
|
|
|
|
|
See Wikipedia entry[^]
Taken from Above Link:
The Graphics Device Interface (GDI) is a Microsoft Windows application programming interface and core operating system component responsible for representing graphical objects and transmitting them to output devices such as monitors and printers.
GDI is responsible for tasks such as drawing lines and curves, rendering fonts and handling palettes. It is not directly responsible for drawing windows, menus, etc.; that task is reserved for the user subsystem, which resides in user32.dll and is built atop GDI.
A Device Context (DC) is used to define the attributes of text and images that are output to the screen or printer. The actual context is maintained by GDI. An HDC, which is a handle to the structure, is obtained before output is written and released after the elements have been written.
-Sarath.
Rate the answers and close your posts if it's answered
|
|
|
|
|
The device context is a GDI-managed structure containing information about the device. GDI contains a number of structures which you cna use to use generate graphical output for display, printers or other devices.
http://msdn.microsoft.com/en-us/library/aa925824.aspx[^]
|
|
|
|
|
hi,
does anyone know about .ptf extension file..(ptf stands for portable transcript file)... i wanna use files of that type in my application... can someone enlighten me the ptf concepts...i tried googling but dint work very well for me..i wanna know the technical details behind this file format...
can anyone teach me??
i will be grateful to u..
pls forgive me if the post is irrelevant in this forum...
Thanks,
Rakesh.
|
|
|
|
|
What application creates a PTF file?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Hi All
i am useing _ConnectionPtr and _RecordsetPtr for connection and get information from mysql databases.i have a problem to get values when i am useing "Select * from table".How can i get table information.
_ConnectionPtr pConn = NULL;
_bstr_t strCon("Driver={MySQL ODBC 5.1 Driver};Database="";User=root; Password=root;Option=3;");
HRESULT hr = S_OK;
CoInitialize(NULL);
hr = pConn.CreateInstance((__uuidof(Connection)));
if(FAILED(hr))
{
AfxMessageBox("Error instantiating Connection object\n");
}
hr = pConn->Open(strCon,"root","root",0);
if(FAILED(hr))
{
AfxMessageBox("Error Opening Database object using ADO _ConnectionPtr \n");
}
::_RecordsetPtr rs;
rs = pConn->Execute(_bstr_t("use Databases"), 0, adCmdText);
rs = pConn->Execute(_bstr_t("Select * from tatblename"), 0, adCmdText);
Plz help me
|
|
|
|
|
I don't know who in the living frock is marking your questions as "Good" (apparently none of your questions are that awesome to be marked as a good questions). I've noticed this a few times and I wonder if you have a split personality (another login) to "help yourself"?
Remember - the ones likely to provide you an useful answer do not care about if or not the query is marked as good.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Plz don't blame
(another login) to "help yourself"
Thanks for comment.
|
|
|
|
|
It was only a doubt that I had, so I expressed it instead of keeping it on my mind. Not that I'm blaming you for anything, and I'm glad you've clarified it.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|