Converting exe to DLL

This is a discussion on Converting exe to DLL within the C++ Programming forums, part of the General Programming Boards category; I have a windows executable that I'm trying to convert to a DLL. Right now it uses cout and cin ...

  1. #1
    Registered User
    Join Date
    Aug 2005
    Posts
    80

    Converting exe to DLL

    I have a windows executable that I'm trying to convert to a DLL.

    Right now it uses cout and cin to get the user input. There are a bunch of functions in the executable. I'm new to programming and never written a DLL. From what I've figured out, I need to adjust the following:

    ofstream scrn. cout, cin,scrn.open("stdout",ios: ut), scrn<< , scrn.close(), and exit(1).

    Does this sound correct? Additionally, if anyone knows of a good beginner's tutorials on creating DLLs, it would be greatly appreciated.

  2. #2
    Unregistered User
    Join Date
    Sep 2005
    Location
    Antarctica
    Posts
    341
    input and output code should probably be inside the exe, you would have an external DLL for handling your internal algorithms. Google is a good place to find tutorials on building DLLs, though I'm sure this site has some too. You should post something like this in the windows forum.

  3. #3
    Registered User
    Join Date
    Aug 2005
    Posts
    80
    Thanks for your help. I will use your advice regarding input and out and check out the
    windows forum.

    James

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how to monitor exe and dll interactions?
    By George2 in forum C Programming
    Replies: 1
    Last Post: 10-26-2007, 04:22 AM
  2. need help converting c dll to cpp
    By *DEAD* in forum C++ Programming
    Replies: 4
    Last Post: 07-11-2007, 10:22 PM
  3. Question about Converting exe to DLL
    By jamez05 in forum C++ Programming
    Replies: 0
    Last Post: 10-17-2005, 12:02 PM
  4. Converting exe to DLL
    By jamez05 in forum Windows Programming
    Replies: 0
    Last Post: 10-11-2005, 12:17 PM
  5. dll communicating between each other
    By cloudy in forum C++ Programming
    Replies: 5
    Last Post: 06-17-2005, 02:20 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21