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..
Type: Posts; User: johnd
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..
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...
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,...
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...
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...
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...
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...
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...
Here it is. It contains the relevant code to show the problem.
THX
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...
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...
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..
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.
...
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...
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...
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...
Thanks for the reply.
I tried;
#include <fstream.h>
#include <stdafx.h>
#include <afxinet.h>
as well but still have the same problem.
I am using VC++6 on NT4, with the latest service pack for VC & NT4
THX,
John D..
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...