Search:

Type: Posts; User: johnd

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    990

    Boy that was a quick reply! I have not tryed...

    Boy that was a quick reply!

    I have not tryed put yet but write does not work and I can see it writes J@somejunk to the destination file with a hex editor.

    J..
  2. Replies
    3
    Views
    990

    Howto Print \0 to a File

    I have a requirement to pad out some data in a binary file with the null charactor '\0' added every second or thrid charactor. Try as I may I cannot prevent the app from ignoring the null...
  3. Replies
    1
    Views
    1,171

    reference, struct & vectors

    I am trying to pass a reference to struct based vector but keep getting an error "C2923:'std::vector' : 'InstalledApps' is invalid as template argument '#1', type expected"

    See my attempt below,...
  4. Replies
    9
    Views
    9,648

    Many thanks for the helpful information. I...

    Many thanks for the helpful information.

    I have tryed the following code. It does insert the company name into the exe, but also padded the file out with PADDXXPADDEDXX right to the end of the...
  5. Replies
    9
    Views
    9,648

    After researching the Win API and finding on no...

    After researching the Win API and finding on no fucntion to do this, that is exactly what I tried.

    It does not work however as the file is checksummed and complains - "Not a valid win32...
  6. Replies
    9
    Views
    9,648

    Modifying info on Exe & Dll's

    Could anyone point me to some code on altering fields such as "Company Name" & "File version" for PE format files.

    I am looking to set this information to overcome some short coming in an...
  7. Replies
    4
    Views
    4,154

    I dont have anything close to CeditThing. I have...

    I dont have anything close to CeditThing. I have 3 classes App, DLG and a custom class I created myself.

    I tried your other suggestions but they did not work. Also GetLastError() returns 0 on the...
  8. Replies
    22
    Views
    3,790

    Thats it!! I put the extern line in the...

    Thats it!!

    I put the extern line in the dialog*.h file and its working.

    I understood what you said about removing static before, but thought it best that I submit the project in its original...
  9. Replies
    22
    Views
    3,790

    Here it is. It contains the relevant code to show...

    Here it is. It contains the relevant code to show the problem.

    THX
  10. Replies
    1
    Views
    1,220

    create form in vc++6

    How do I create a form/window/page like Control Panel>Network page?

    I am trying to display a page to users to gather address book information and would also like to display a drop down list...
  11. Replies
    4
    Views
    1,080

    Many of our users visit customer sites. Most of...

    Many of our users visit customer sites. Most of the time they have to login to the customers network.

    The problem is that most of our customers automate delivery of software through an exe run in...
  12. Replies
    4
    Views
    1,080

    Do I have to use a dll? I was hoping to use a...

    Do I have to use a dll? I was hoping to use a windowless exe.

    I am going to use this to block an exe attempting to install software on workstations.


    Thanks,
    John D..
  13. Replies
    4
    Views
    1,080

    Detect & stopping exe's

    Could anyone give me any pointers as to which functions I could use to detect an executable starting and then killing it on NT4 / W2K ?

    I have read the docs but am not which one to use.
    ...
  14. Replies
    12
    Views
    8,664

    Fair Enough

    Thats a fair enough comment. My back was against the wall at the time of posting. I needed to get something up and running very quickly.

    Now that I have some spare time I'll be reading up on...
  15. Replies
    12
    Views
    8,664

    Thanks

    Using

    #include "stdafx.h"
    #include "afxinet.h"
    #include <fstream>
    using namespace std;

    has worked!! Im getting 3 warnings however

    LINK : warning LNK4089: all references to...
  16. Replies
    12
    Views
    8,664

    Ok, Tried that as well with the same result. ...

    Ok, Tried that as well with the same result.

    the reason i was using namespace std; was to get around the original problem.

    error C2065: 'ofstream' : undeclared identifier.

    Am I doing...
  17. Replies
    12
    Views
    8,664

    Thanks for the reply. I tried; #include...

    Thanks for the reply.

    I tried;

    #include <fstream.h>
    #include <stdafx.h>
    #include <afxinet.h>

    as well but still have the same problem.
  18. Replies
    12
    Views
    8,664

    Forgot to mention

    I am using VC++6 on NT4, with the latest service pack for VC & NT4

    THX,
    John D..
  19. Replies
    12
    Views
    8,664

    using namespace error

    Hello,

    When I try to complie the following code i get :-

    "error C2871: 'std' : does not exist or is not a namespace"
    &
    "error C2065: 'ofstream' : undeclared identifier"


    #include...
Results 1 to 19 of 19