Does anyone know the call to broadcast a string to windows
so that another app may grab it and use it to display...
I have a service that parses a message from SQL and usually displays it to a physical display through a serial connection.. but i would like to mimic this display with bitmaps...
I think my last post got burried...
When i try to find my default printer
from a service it tells me I dont have one,
but when i try from a normal app it works fine
anyone know why?
I need to find out how to see the name of the Default Printer on my machine from a service... all I need is the name. I think there is a few ways but i dont know what they are?
Thanks
I am having difficulty figuring out how to create a text file
at this point this is what im doing
TFileStream * Comm;
try
{
Comm = new TFileStream("text.txt", fmOpenReadWrite);
}
catch(...) //if the file does not exist
{
Comm = new TFileStream("text.txt", fmCreate);
}
now when i print to...
Does anyone know how you could init const vars in a class
I tried this
IN CLASS DECLERATION
const int var1;
IN CONSTRUCTOR
const_cast<int>(var1) = 10;
but this says it cannot modify const var
I want to delete all my records in a table
so i do this
Table1->Delete(); //preparing for delete
Table1->DeleteRecords(arAll);
the last line causes an error saying cannot to this
in this context anyone have any ideas??
I am upgrading my programs from BDE to ADO and in my old programs i had the line
catch(const Exception &EDatabase)
{
MessageBox(0, EDatabase.Message.c_str(), "Error in SQL", MB_OK);
}
now that im working in 6 it says that EDatabase doesnt exist
does anyone have any ideas
Hi, im writing a program and I need to force a post from the TBDGrid. I know that you need to click else where on the grid to get the change to go the DB but i would need it to go to the DB on a complete exit of the program or tab change and so on....
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.