|
www.msdn.com
Behind every great black man...
... is the police. - Conspiracy brother
Blog[^]
|
|
|
|
|
|
ThatsAlok wrote:
BOB,TOX really it's very difficult to type using NOSE, what about you ?
Seems that you are getting pretty good at it! I should train myself to make at least 50% less typos.
Behind every great black man...
... is the police. - Conspiracy brother
Blog[^]
|
|
|
|
|
Bob Stanneveld wrote:
I should train myself to make at least 50% less typos.
I am still struggling with it
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
These articals do not enough information to use CSemaphore
Thanks in advance
|
|
|
|
|
|
hcmuns wrote:
These articals do not enough information to use CSemaphore
do you know google ? msdn ? codeproject search engine ?
if you're not satisfied, do it yourself.
we are here to help, not to replace suss:
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
when the controls are fixed in the control panel and when the dpi settings are changed those controls whose positoins are fixed wont move to the correct position and i need the dpi value in the code to fix it can any one of u give a solution plz
|
|
|
|
|
Friends,
What is the proper way to call a function if we have its pointer. I am using the following two methods and both are working:
(*add) ( 2, 3 ) ;
(add) ( 2, 3 ) ;
Please tell me which of the above is correct way and what is the difference in both of these calling conventions.
Imtiaz
|
|
|
|
|
Check here[^]
<bold>- Nilesh
<italics>"Reading made Don Quixote a gentleman. Believing what he read made him mad" -George Bernard Shaw
|
|
|
|
|
just use add(2, 3); as if you had a simple function name. this is because function names are in fact addresses to the function...
int OneFunction(int p1, int p2) {
return ((p1 > p2) ? p1 : p2);
}
typedef int (*MyFunc)(int, int);
struct TStruct {
myFunc m_Func;
} tVar;
tVar.m_Func = OneFunction;
int i = tVar.m_Func(1, 2);
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
toxcct wrote:
tVar.m_Func = OneFunction;
seems you code using CamelCases
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
ThatsAlok wrote:
seems you code using CamelCases
means ?
i understand now...[^]
hum, in fact, it was just an example, and as it is hard to type with the nose, i did as fast as i could...
(very hard to type Shift+T without enabling "Assist functionnalities..." )
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
toxcct wrote:
means ?
CamelCases Notation:-
When you declare Variable something like this:-
int IntVar; // Not Capital I and V
Hungarian Notation
When type of variable also prefix with the variable:-
int ivar;
float fvar;
char cvar;
char* pstrvar
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
I code using Hungarian Camels..
int iVar;<br />
char* pStrVar;<br />
DWORD dwSomeValueOrOther;
etc...
|
|
|
|
|
Blake Miller wrote:
I code using Hungarian Camels..
Me TOO
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
toxcct wrote:
hum, in fact, it was just an example, and as it is hard to type with the nose, i did as fast as i could...
thats why I am late in replying
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
ThatsAlok wrote:
seems you code using CamelCases
I think you mean Pascal case.
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
|
|
|
|
|
DavidCrow wrote:
I think you mean Pascal case.
Yes, You are right !
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
i have created a .dll component and i want to call in my main exe appliacation. how i will do it.
|
|
|
|
|
jananjoy wrote:
.dll component
Are you creating a ATL/COM based DLL or RAW Win32/MFC based DLL, Please clarify, as procedure for loading is Different
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
First u load library function with argument as path to that dll.
with using that handle u can access functions which are exporting from dll
with regards........
Kiran Kumar Singani
|
|
|
|
|
Does anybody knows how to get the XP key with C++ (console or windows)?
thanX
|
|
|
|
|
Only if it's in the registry. Why do you want it ? The PC you're running has it already, and you can't use it elsewhere, even if you wanted to.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
May I use Synchronization Objects like CSemaphore for synchronization function not to be threads ?
Thanks in advance
|
|
|
|