Hello
I have a Jpanel which has some graphics being drawn in it, just lines etc..
I have a JDesktopPane which has INternal Frames in it, and i want the JPanel to be like a background on the JDesktopPane, how would i go about doing this?
Cheers in advance, is been foxing me for days this...
Oh wow, worked a treat, makes my function look a little stupid.
Thank you very much.
So will this be done as transaction? what if it was caleld at the same time and 2 of the same postcodes were enterede at the same time!? or is that somethigni should combat in my application?
Andy
Hello
I'm having a wee problem with Oracle Stored Procedure/Functions
I was using SQL Server and Transaction Control in that was relativly easy. However, i have now had to move the DB over to Oracle 9i.
Basically i have a postcode table, which should have unique postcodes in it, and an ID...
I have an array which contains a vector in each element. And i need to be able to save the entire contents of it to a file, and then next time the program loads have it re-create the array and its contents.
HOw would i g oabout doing this without reading every element in and out?
Cheers
Andy
Currently to debug all my programs I am using message boxes, and these suprisingly enough are annoying me a little!
ho do i output into the debug windows inside VC++? or into a windows like you can in Java using system.out...etc...
Cheers
Andy
Hello
I'm having probs linking a dll with my app, it keep son giving me unresolved externals:
Compiling...
authenticate32.cpp
Linking...
authenticate32.obj : error LNK2001: unresolved external symbol __chkesp
LINK : error LNK2001: unresolved external symbol _WinMainCRTStartup...
I am outputting time in this format:
KeyDOWN:16,Thu Jan 03 16:33:51.284 2002
but on certain lines where it outputs the seconds.milliseconds the leading zero..if there is one is sometimes removed! e.g.
it will output: 16:33:51.23
when it should really be: 16:33:51.023
this makes it difficult...
if your still interested, i managed to do it by:
if (0 == lstrcmpiA(lpszCmdLine, "-a"))
seems to work for just one argument, havent tried with anymore! if you want to know the results let me know!
cheers for the help
Andy
Hello
I'm having trouble getting my win32 app to act on command line arguements!
I just want it to run a set of commands if the arguement is set to -a
what is a simple way of doing this?!
cheers in advance
Andy
I am trying to output to the screen and a text file, the outputting to the scren works even if the window is not in focus, but the out put to the text file only works while the window that i output to is in focus?! whats going on?
LRESULT CALLBACK KeyboardFunc (int nCode, WPARAM wParam, LPARAM...
Why would my program output to a text file when the window is in focus, but not when another window has the focus?
the following is in a dll and if the function that is giving me probs:
LRESULT CALLBACK KeyboardFunc (int nCode, WPARAM wParam, LPARAM lParam )
{
HDC hDC;
//Timer...
My program outputs to a text file and updates its window whie it is in focus, but when another windows has focus it no longer updates the text file, only the screen. I don't know why this is, and hoped some one here could shed some light!.
http://www.uea.ac.uk/~u9945296/Downloads/proj.rar
the...
The app I'm writing: http://www.uea.ac.uk/~u9945296/Downloads/proj.rar
appears to be updateing the hook information (keyboard hook in particular)in the window, but when when the focus is switched to another windows, it does not update the text files it is outputting to! why would this be...
I am trying to add a time stamp to a stream that is outputting to text file:
fprintf(pDEBUG, "DEBUGFILTER\tCalled %d times \n",++Called);
how would i go about getting a very very accurae stamp into this stream?
cheers in advance
Andy
oh yeah..sorry
Its in:
File: fprintf.c
Line: 56
Expression: str !=NULL
and while debugging the dll it happens when it trys to execute the follwoing line:
fprintf(pKBLog, "Andrew/n");
Hope that helps
Andy
Does anybody know why I would get a debug assertion failure when i run my program? It seems to happen when when i try to output to a text file with the following code;
FILE *pKBLog;
/*DLL ATTACH*/
pKBLog = fopen("d:\\logs\\_kblog.txt", "w"); /* Open log */
fprintf(pKBLog...
Well i was caching it like you said and that worked fine, but now i have the shared data segment working properly i no longer need it!
cheers for the links to the msdn articles
thanks again
Andy
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.