Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: AndyHollywood
  • Order by date
  1. AndyHollywood

    JDesktopPane JPanel Trouble

    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...
  2. AndyHollywood

    Transaction Control Oracle 9i Functiosn etc..

    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
  3. AndyHollywood

    Transaction Control Oracle 9i Functiosn etc..

    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...
  4. AndyHollywood

    Saving an object

    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
  5. AndyHollywood

    debug information

    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
  6. AndyHollywood

    Unresolved Externals

    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...
  7. AndyHollywood

    no leading zero's when outputting time

    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...
  8. AndyHollywood

    command line arguements

    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
  9. AndyHollywood

    command line arguements

    sorry here it is: int WINAPI WinMain (HINSTANCE hInst, HINSTANCE HPrevInstance, LPSTR lpszCmdLine, int nCmdShow)
  10. AndyHollywood

    command line arguements

    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
  11. AndyHollywood

    I'm stumped as half of it works!!

    sorry i should have said the code fracment is the keyboard function that output to the screen and file!
  12. AndyHollywood

    I'm stumped as half of it works!!

    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...
  13. AndyHollywood

    Background output

    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...
  14. AndyHollywood

    outputting to a text file in the background

    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...
  15. AndyHollywood

    Background Monitoring

    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...
  16. AndyHollywood

    Time stamping

    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
  17. AndyHollywood

    Debug Assertaion Failure

    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
  18. AndyHollywood

    Debug Assertaion Failure

    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...
  19. AndyHollywood

    Exporting a vriable from an app

    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
  20. AndyHollywood

    Exporting a vriable from an app

    I've got rid of the finsWindow function and thanks to dave, i now have it working with a shared data segment. Cheers Again for all your help Andy

Part and Inventory Search

Back
Top