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

    ...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( & (...
  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!!

    ..."KEYBOARD\tKey:%d\t%s",wParam,(LPSTR)szType); hDC = GetDC(hwndMain); TabbedTextOut(hDC, 1, nLineHeight * KEYBOARDINDEX, (LPSTR)szFilterLine[KEYBOARDINDEX], strlen(szFilterLine[KEYBOARDINDEX]), 0, NULL, 1); ReleaseDC(hwndMain, hDC); } // We looked at the message...
  13. AndyHollywood

    Background output

    ..."KEYBOARD\tKey:%d\t%s",wParam,(LPSTR)szType); hDC = GetDC(hwndMain); TabbedTextOut(hDC, 1, nLineHeight * KEYBOARDINDEX, (LPSTR)szFilterLine[KEYBOARDINDEX], strlen(szFilterLine[KEYBOARDINDEX]), 0, NULL, 1); ReleaseDC(hwndMain, hDC)...
  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

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