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...
...really be: 16:33:51.023
this makes it difficult for me later ....why would it be doing this?
This is the timing code that i am using:
//Global
/*Timer Elements*/
struct _timeb timebuffer;
char *timeline;
//In the function
//Timer Elements
_ftime( &timebuffer );
timeline = ctime( & (...
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
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
...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, "Andrew/n");
/*DLL...
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.