|
Thanks for the good advice,
I need to know the API's to be able to modify exe resources programmatically,
using visual c++ manually does not solve my problem.
A simple example of the stuff I need to do:
The program I am writing "Program B" needs to take user input, for example:
"This is my String" is entered into an Edit ctrl.
A string resource with a value of "This is my String" then needs to be created
in "Program A"(ProgA.exe). So when "Program A"(ProgA.exe) is executed it is able to display "This is my String" in a msg box/window etc...
I will look into the API's you have told me about, I think they will be a great help.
Once again, Many thanks.
|
|
|
|
|
|
how to set width and height of button in VC++?
|
|
|
|
|
|
|
It is spam and you are advertising a product you will charge for without asking permission let alone paying.
The vote level will show you what has happened.
|
|
|
|
|
Visual C++ 6 or Embedded Visual C++ support the notion of a source browser, should it be enabled. It's quite useful and allows rapid navigation across the project for a variety of things. Does anyone know if there is a command line interface for it?
I would like to be able to ask the browser (or any other tool for that matter): please list for me all of my classes and their member functions. Please sort by class name, public then private methods.
Any one have any suggestions? I could do this years ago on a mini. True, I didn't have visual editting, but the command line / text output was valuable for custom processing....
Charlie Gilley
Will program for food...
Whoever said children were cheaper by the dozen... lied.
My son's PDA is an M249 SAW.
My other son commutes in an M1A2 Abrams
|
|
|
|
|
Bonjours
I wish to add a add in in exel XP 2002 with Windows SP2.
For that I have three file has to install:
1 fichier.lgc has to install in \ Windows \ applog
First problem I do not find this repertory hidden under same XP SP2 with the good options to select in Windows to explore. Thus I have to arrange this file in \ Windows \ appPatch and in \ Windows \ Prefetch in the place and the problem comes from I think.
1 fichier.xll has to install in \ office \ xlstart
1 fichier.ppp has instaler in \ office \ xlstart
And when the double click on the fichier.xll for the throw the error message is as follows “WinRT Driver not installed”.
Thus my questions are is this normal that I do not find the file \ Windows \ applog under win XP SP2 and how to install WinRT driver. Or then where to arrange my fichier.xll which must normally be in the repertory \ Windows \ applog
Thank you has all in advance for your assistance.
|
|
|
|
|
anyone can teach me and explain this code below cleary:
<br />
void sort_arr(const char *p_array[]){<br />
int comp_val, low_index, hi_index;<br />
const char *tmp;<br />
<br />
for(low_index = 0;p_array[low_index] != 0 &&p_array[low_index+1] != 0;low_index++){<br />
<br />
for(hi_index = low_index+1;p_array[hi_index] != 0;hi_index++){
<br />
comp_val=strcmp(p_array[hi_index],p_array[low_index]);<br />
if(comp_val >= 0)
continue;<br />
<br />
tmp = p_array[hi_index];<br />
p_array[hi_index] = p_array[low_index];<br />
p_array[low_index] = tmp;<br />
}<br />
}<br />
}
~~~@@@###EZRA###@@@~~~
|
|
|
|
|
this is one type of sorting...it is bubble sorting ....there are various types of sorting algorithn ...u may search on net .... u give the desired output and explaination of what is the logic behind it
Yes U Can ...If U Can ,Dream it , U can do it ...ICAN
|
|
|
|
|
EzraYap wrote: for(hi_index = low_index+1;p_array[hi_index] != 0;hi_index++){ // I wonder why
// hi_index is
//needed.
It's the loop control variable.
EzraYap wrote: if(comp_val >= 0) // why need to compare this?
To know whether or not two items need to be swapped.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Here's the deal. I am developing an internet multiplayer game. The game has many regional variations, rules and scoring systems. Rather than hardcode all this information into the program, I have built in a script parser, so now all users need to do is write a scripted extension to the game. The script will then parse data from the exe checking the validity of a game and/or returning a score.
The thing I'm worried about is users hacking these scripts for their own benefit. I could create and embed a hash key into the script and send this across the network, but even that could be modified. Any thoughts on this?
|
|
|
|
|
Hi
How to get inside Active X control ID assigned by user at dialog template ??
Any suggestions or links would be a great help.
Thanks
The happiest of people don't necessarily
have the best of everything;
they just make the most of everything
that comes along their way.
|
|
|
|
|
If you can get a window handle, you can get use getdlgitemid....
Iain.
|
|
|
|
|
This is not reliable. For example what about windowess controls. Also even if the control has a HWND is may not be a child of the dialog - when ATL hosting code is used this be the case for example.
Steve
|
|
|
|
|
Sir,
I want to create a new option called password on right click at file and folder in the Window explorer programically using VC++ 6.0.
please help.
Thanks
|
|
|
|
|
|
See here[^] maybe its some helpful for you
|
|
|
|
|
Hello,
I have a floating point variable:
float fMyFloat;
How do I round it too a desired number of decimal places?
Thanks,
BP
-- modified at 14:38 Saturday 30th September, 2006
|
|
|
|
|
u use %.2f format specifier in place of %f
float fMyFloat;
printf("%.2f",fMyFloat);
|
|
|
|
|
Sir,
I want to do the sane thing in vc++ I mean i don't want to use printf .I mean i have to round a float variable .Can i know a function that do this functionality.
Thanks
|
|
|
|
|
|
First you have to decide what kind of rounding you’re after. There are four common ways rounding can be performed:
- Towards +ve infinity.
- Towards -ve infinity.
- Towards 0.
- Away from 0.
Towards +ve infinity:
In this mode we choose the closest number that’s higher. For example, if rounding to the nearest integer:
1.6 -> 2
-1.6 -> -1
Towards -ve infinity:
In this mode we choose the closest number that’s lower. For example, if rounding to the nearest integer:
1.6 -> 1
-1.6 -> -2
Towards 0:
In this mode we chose the closet number in the direction of zero. For example, if rounding to the nearest integer:
1.6 -> 1
-1.6 -> -1
Towards 0:
In this mode we chose the closet number in the direction away from zero. For example, if rounding to the nearest integer:
1.6 -> 2
-1.6 -> -2
For simplicity I’ll only consider the “Towards +ve infinity” mode. If you want to round a double or float to the closest integer code like this will do it:
int n = double_val+0.5;
To a double to the nearest tenth:
double n = floor(double_val*10.0+0.5)/10.0;
To a double to the nearest hundredth:
double n = floor(double_val*100.0+0.5)/100.0;
Steve
|
|
|
|
|
|
use floor and ceil
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[ ]--
[My Current Status]
Link2006 wrote:Let's take it outside of CP
Jeremy : Please don't.I would love to see this.I'm making the popcorn already.
|
|
|
|