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 Chriss Miller 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: *

  1. dex1123

    Copying Dialog problem

    gosth98, I don't actually think you got me on this one. I am asking you to point out the general idea of your app because there may be a way for the OS to give you the name of the file directly, not by using hand-crafted techniques and tricks. Actually the file name in the copy dialog is a label...
  2. dex1123

    how can i write bytes on other process's address?

    23925, I am not sure what exactly you are into doing... but Windows (and most OSs) work in protected mode which means that a process memory protection scheme is implemented on the CPU level which will not allow you to write wherever you want in memory while being in user level of OS. In order to...
  3. dex1123

    How to write a driver for virtual disk?

    Hi, elimli. Take a look at this: http://www.tek-tips.com/gviewthread.cfm/lev2/4/lev3/33/pid/713/qid/768526 A well-defined problem is half solved.
  4. dex1123

    How to write a driver for virtual disk?

    Hi, elimli. Take a look at this thread: thread713-768526 A well-defined problem is half solved.
  5. dex1123

    Copying Dialog problem

    Hello, gosth98. Could you point out what should your app be doing. I suspect there would be an easier way to do what you want than the one you've chosen. Probably you want to do the so-called shell extension. But you should be more specific on the purpose of your app rather than on what you...
  6. dex1123

    KILL and Removing a registry entry and file

    Hello, ch0s3n. I am not in Visual Basic programming but probably some hints can be of help to you. I don't know if 'kill' or 'Delete' is the sub that you use in VB to delete files. Since this is a WinAPI forum I can tell you that you can use the DeleteFile api call which probably 'kill' or...
  7. dex1123

    new to mfc and windows programmig

    Hey, vitellozzo. You should probably post the part of your code that does the search in order for somebody to pick your algorithm errors if any available. Since you say you are new to MFC, what kind of programming have you been practising before? Someone may point you to algorithms written in a...
  8. dex1123

    Developing Drivers Where to start

    Hey, cyberbiker. I didn't mean to make you quit this task. Great regrets. You can always think it over. People learn new things constantly. Beginnings are always tense. regards Ivan
  9. dex1123

    Developing Drivers Where to start

    Hi, cyberbiker. Actually writing a driver for any OS is not as simple as having some sample code for such. Windows works with the so called VxDs (VDDs under NT) or virtual device drivers. These are programs which operate in the ring 0 level of the OS which means they are allowed to do anything...
  10. dex1123

    Communicating between applications

    Hi, Griffyn. Windows messages are rather simple to implement. There is a predefined constant in Windows.pas called WM_USER. Choosing a message ID consists of the following: const my_msg_id = WM_USER + 1; Not advanced at all. Any value below WM_USER is reserved by the OS for internal usage so...
  11. dex1123

    Hello there. I have the following s

    Thanks for the reply but my main purpose is to change the background color of the items which leads to brush color change. I tried doing it only in specific cases for specific items but this way it makes all the items in the lbox equivalently styled. What I need here is some kind of...
  12. dex1123

    interbase 6.5 server abnormally terminates

    I would be very grateful if anyone can point out something on the following problem I have met several times. Interbase 6.5 is spontaneously restarting itself in heavy-load conditions and the number of attachments is increasing to numbers like 200-300 having opened only 2-3 real sessions to the...
  13. dex1123

    Hello there. I have the following s

    Hello there. I have the following situation. I have an owner-drawn listbox and I change the color of every item according to some rule. The problem is when I do have even two differently styled items in the list, I get monstrous flickering. Is there a way to prevent this and make the items not...
  14. dex1123

    Serial Port Software Registers access in Win98

    Can anyone direct me on some resource to soft registers serial port access in Win98. I am trying to make a port of a DOS EEPROM programmer software but I think direct port acccess under Windows is not working the way I expect it to. I'll be very grateful if you can provide an example. Thanks in...
  15. dex1123

    How to create my own Dial-up dialer?

    I am creating a web browser and I would like it to take the information for the Dial-up connection and dial the ISP on its own. How should I do that? Thanks in advance
  16. dex1123

    How to prevent an application from loading more than once?

    Check the FindWindow API function in your MSDN documentation. You can use this one to check if another window with the same title as yours is active at the moment. Hope this helps. I will explain no further because it is rather simple to use. dex
  17. dex1123

    Retrieving local IP?

    Thanks, pete. I just thought that localhost always points to the active IP of the system but obviously I was wrong. dex
  18. dex1123

    Retrieving local IP?

    Hello!<br><br>I wrote this small function but it always returns &quot;127.0.0.1&quot;. I would like to be able to get my dynamically assigned IP when I connect to the net. What's wrong with this code?<br><br>char* GetLocalIP(void)&nbsp;&nbsp;<br>{<br> WORD wVerReq = MAKEWORD(1, 1);<br> WSADATA...
  19. dex1123

    Copying Text from CHtmlCtrl

    I haven't worked with CHtmlCtrl and I am not sure how exactly it is implemented but I've successfully used the SendMessage API function. All you have to do is write something like this: SendMessage(win_handle, WM_COPY, 0, 0) and you should have your text copied in clipboard. win_handle must be...
  20. dex1123

    CryptoAPI problem. Help!

    Let's say: I declare a variable of type HCRYPTPROV hProv; and I get an undeclared identifier 'HCRYPTPROV'. Any CryptoAPI function returns that result (CryptGenKey(), CryptAcquireContext())...

Part and Inventory Search

Back
Top