|
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
|
|
|
|
|
Yes you can use that, It would always be in current thread context.
<bold>- Nilesh
<italics>"Reading made Don Quixote a gentleman. Believing what he read made him mad" -George Bernard Shaw
|
|
|
|
|
hcmuns wrote:
synchronization function not to be threads
Could you elaborate that? Currently I think that you want to use synchronization objects in a single threaded application, which is (in most cases) not necessary.
Behind every great black man...
... is the police. - Conspiracy brother
Blog[^]
|
|
|
|
|
I would like to use in my class
|
|
|
|
|
Hello,
I suppose that you use them in a multithreaded application. In that case you should use them whenever multiple threads can access the same data at the same time!
Behind every great black man...
... is the police. - Conspiracy brother
Blog[^]
|
|
|
|
|
I would like to use in my class
|
|
|
|
|
Hi,
I am using memory mapped file for communicating between two processes.
I write the information by one process onto the memory mapped file. If
the process is shutdown after writing the information. Can the other
process read the information in the memory mapped file ?
i.e. Will the memory-mapped file persist after the process which created
the memory-mapped file is closed ?
Thanks
|
|
|
|
|
If I remember correctly, the MM-File should be open until it's closed manually. That is by one of the processes. Windows however, will close the file (not delete it I think) if no valid handles are pointing to the file. So if you store a handle to the MM-File you should have no problem
Behind every great black man...
... is the police. - Conspiracy brother
Blog[^]
|
|
|
|
|
Nilesh K. wrote:
No, it would get lost.
Hello Sir,
I have never worked in memory mapped file, though i know it's use for interprocess communication.
If one appliction close after writing into memory mapped file, how the data get lost when other applcation still has a valid handle to the MEMORY MAPPED file!, if it so then it's great drawback for INTERPROCESS Data Transfer!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
It will remain as long as a single active process has the file opened and mapped into memory.
|
|
|
|
|
hi,
I want to ask if a DLL is unloaded, will the memory mapfile its referring to loses?
Thanks
|
|
|
|
|
Yes, if the load count of the DLL goes to zero, or there is no longer any process referencing the DLL, it will be unloaded.
|
|
|
|
|
I have manage to convert a DICOM image into a raw image..that is to say without its header.Now how can i view the pixel value of this raw image in binary form?
|
|
|
|