|
Archy_Yu wrote: MAN group
My mind is clearly in the gutter. When I first read this phrase, I thought of something rather different
|
|
|
|
|
My fault,My spelling mistake,sorry.
make a friend?
my MSN emeil is :
archy_yu@sina.com
contact me?
|
|
|
|
|
Hi,
I am installing Driver through code and doing uninstalltion properly; but when i check the eventviwer i found following message
"Depending upon consistancy in code, it is judged that file's image hash is not valid. This file is currupted either due to
unauthorized changes or there is an error due to invalid hash in disk device"
Operating system : Windows Vista
Please reply me if any body can give solution.
Pavan
pavan
|
|
|
|
|
|
khaliloenit wrote: how can i do it?
By using the registry API or the CRegKey class.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
can you explain more please ?
|
|
|
|
|
khaliloenit wrote: can you explain more please ?
Do you want me to Google something up for you? I provided you with a link to the API and the name of a class. What more do you require?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
send me codez sir, plz plz urgentz...
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
I'm not having any luck with that. Sorry.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Thank you Sir.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Ok, thanks for your try 
|
|
|
|
|
That's because you misspelled "codez".
|
|
|
|
|
CPallini wrote: send me codez sir, plz plz urgentz...
www.cpallini.freeproducts.com[^]
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|
|
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
See Registry Wrapper Class (CRegistry)[^].
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|
|
But here there isn't any idea how to enumurate the subkeys!!! just of values of keys 
|
|
|
|
|
You need to little work for do it.
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|
|
|
But in the first page it is specific to VB code programming and me i want C plus plus code 
|
|
|
|
|
They're all Win32 API calls. They're easier to use from C++ than from VB. If you can't work out how to enumerate registry keys from that example, then you'd best start practising burger flipping.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Hai!
I have an byte array. Now i need to display this data as an bitmap image in my dialog (in embedded Visual C++)?
Is it possible, if possible How can i do it ?
Thanks!
|
|
|
|
|
You probably have to convert your (probably) raw data to a bitmap.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
|
It's a two-step process:
- First, You must know what is the data format of your raw image.
- Then, you have to actually create the Windows Bitmap.
If you have a look at the source code of my "Plain C resampling DLL" [^] then you may have a clue on how the second step is performed.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
This is related error to a C std function strtoul.
This problem started coming up when I migrated from VS 2003 to VS 2008.
While building c code I am getting the following error:
############################################################################
libcmtd.lib(strtol.obj) : error LNK2005: strtoul already defined in test.lib(string.obj)
c:\xyz.exe : fatal error LNK1169: one or more multiply defined symbols found
*** Error code 1169
clearmake: Error: Build script failed for
"c:\xyz.exe "
############################################################################
This error tells us that while building the libcmtd.lib it got the definition of the strtoul function in the test.lib
The std strtoul function is defined in the file strtol.c which is a standard file like stdio.h.
I have also customized definition of this function defined in my project.
While building the code my project references the customized code and not the std function
I want to use the standard strtoul function.
The customized strtoul is not be removed completey as some files need to reference the customized strtoul while some part will refer the original strtoul.
Any solution for it ?
Why is the VS2008 linker using the customized function instead of using the standard one.
What the difference between VS2003 and VS2008 which is causing the error.
|
|
|
|