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 bkrike 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: shanlon
  • Content: Threads
  • Order by date
  1. shanlon

    adding a LARGE_INTEGER to a ComboBox

    How do i display a variable of size LARGE_INTEGER in a listctrl. What i'm doing at the moment is adding 32bit integers to the listctrl by using sprintf to store the int in a string which i then pass to the function CListCtrl::SetItemText. This works fine but i cannot sprintf a LARGE_INTEGER to a...
  2. shanlon

    How to create app that doesn't show screen output

    Is there an option in VC++ to create an application that just does some function without displaying a screen.. i want to run this application on a server from a client machine and then have it disappear without the user having to 'press any key to continue' as is the case with creating a Win32...
  3. shanlon

    sending data over sockets in MS VisualC++

    it's an easy task to send a string from one machine to another using sockets. At the moment i'm using CAsyncSocket to do this and it works fine... How would one send data such as a structure that is eg 1MB big? Sending strings seems to be simple because they are not terribly long so you can...
  4. shanlon

    MFC Dialogs and Header Files

    I've recently made a simple GUI that i want to add extra code to. I don't want to add the code directly to a button click event ..instead i would prefer if the specific onbuttonclick function called another function to do the work. This other function is in a different Cpp file that is added to...
  5. shanlon

    How to refresh drive information in Windows2000

    Can anyone tell me how to get Windows2000 to refresh it's hard disk information. I have an application that will disable a particular hard drive.. the only problem is that Explorer still has the drive listed as a visible drive.. ie the icon for this drive is still displayed. It is also...
  6. shanlon

    How to Reboot..????

    Does anyone out there know how to reboot a machine from within a program. I just want to perform some basic task and then automatically reboot.. i don't need control to return to the calling function after reboot either.. just end the program and restart. There is info in MSDN but this would...
  7. shanlon

    How to use VirtualAlloc!

    I've recently being trying to use various functions from Platform SDK in my application.. such as CreateFile, ReadFile etc. MSDN warns that any input and output buffers must be aligned on addresses in memory that are integer multiples of the volume's sector size. It recommends using VirtualAlloc...
  8. shanlon

    What partition belongs to what physical drive??

    Can anyone tell me how to find out what partitions belong to what physical drives. I've thought about manually reading the bootsectors of each drive to see their volume labels and then comparing them all thus finding out which partitions belong together. Eg D:\ bootsector might have same vol...
  9. shanlon

    CreateFile problem!

    Could anyone tell me what is wrong with the following piece of code: HANDLE hDriver; hDriver = CreateFile("\\\\.\\E:", GENERIC_READ, FILE_SHARE_READ,0,OPEN_EXISTING,0,0); The problem is with the string as far as i know because when i call the ReadFile function...
  10. shanlon

    Printing __int64;

    How does a person print an variable that is __int64 big.. using printf with the %d conversion character will print __int8, __int16 and __int32 but not the __int64. I know it all depends on whether the compiler supports __int64 sized variables but i presume it must since i don't get an error when...
  11. shanlon

    Source for IDEA Encryption

    Does anyone have source code for IDEA encryption??? The simpler the format the better ... i have already various .DLL files and .LIB files but this is just a bit too complex for me. A C++ file or 2 and header files is really what i'm after. Nothing I have is complete and i don't have the...
  12. shanlon

    Executing Programs on a Server from a Client

    When folders are shared across a network it is possible for a client to gain access to these folders and any executables within. If these executables are for example installation files and you run them, they install on your client machine and not on the server. The OS is MS Server.. either 2000...
  13. shanlon

    Calling a Program on a Server from a Client.

    When folders are shared across a network it is possible for a client to gain access to these folders and any executables within. If these executables are for example installation files and you run them, they install on your client machine and not on the server. Does anyone know how i might do...
  14. shanlon

    Using Interrupts in Win2000

    I'm trying to use various interrupts in Win2000 (using Borland C 4.51). The interrupts are int25/int26(absolute disk read/write). However i can't use them because I get a protection error.. ok.. i now realise that Windows will not allow me to use these ints because of something called protected...

Part and Inventory Search

Back
Top