|
Hi...
I want to convert the given bytes i.e, aa543215648917 into Hexadecimal and store it in a file as it is .
Regards,
Balamurugan Periyasamy.
|
|
|
|
|
Do you receive data as binary ? Do you wish to store data as you receive, i.e. binary ? Do you know that 'hexadecimal' is just a (convenient) numeric system?
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]
|
|
|
|
|
ursbala wrote: aa543215648917
This already looks suspiciously like a hexadecimal representation of data. Care to elaborate a bit more as to what you really want to do?
|
|
|
|
|
Michael Schubert wrote: Care to elaborate a bit more as to what you really want to do?
I'm not picking on you, honest, but do you really think he can do that?
|
|
|
|
|
Hi...
I want to store the received data (i.e., in the format of aa557761254379 )
in a file as it is in this given format what i am receiving.
Please give me a solution.....
Regards,
Balamurugan P
|
|
|
|
|
Through what are you receiving it (e.g., file, COM, USB)?
"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
|
|
|
|
|
i have a dll vc++6.0. When I run in debug, release or dll run at c# ==> result ok. But when dll run at VB6.0==> error and result wrong. whish help me. thanks
|
|
|
|
|
nguyen phan wrote: error and result wrong
Which means what exactly ?
|
|
|
|
|
I need run right in VB6.0
|
|
|
|
|
Great
Common, can't you be a bit more explicit and describe what exact problem you encounter ? And saying "it doesn't work" won't help us a lot.
The only reply we can give you now is: make it work...
|
|
|
|
|
"There's a bug in my software, dear Cedric, dear Cedric,
There's a bug in my software, dear Cedric, dear Cedric."
"Then fix it, dear Nguyen, dear Nguyen,
Then fix it, dear Nguyen, dear Nguyen!"
Iain.
[I woke up silly - can you tell yet?]
In the process of moving to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!
|
|
|
|
|
Iain Clarke wrote: "There's a bug in my software, dear Cedric, dear Cedric,
There's a bug in my software, dear Cedric, dear Cedric."
I seem to recall that second like being:
"There's a bug in my software, dear Cedric, dear Cedric,
There's a bug in my software, dear Cedric, a bug."
"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
|
|
|
|
|
It's my adaptation, and I'll adapt it however I like! Grrrr.
(OK, you're exactly right, but I'm stubborn and unable to admit being wrong...)
Iain.
In the process of moving to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!
|
|
|
|
|
|
i needing advice from you. thanks
|
|
|
|
|
The please do as Cedric asks, and provide more information.
"It does not work" is useless. Would you go to your doctor and say "I'm ill"? No, you'd say "I have pain in my right knee when I go pole dancing" - that would give her something useful to work with.
"It does not work" could be anything.
My first advice would be to write an extremely simple C dll that only has one function - and that just returns a number. Then get that working with a simple VB program that uses it. Then get more ambitious once you know you can connect the two together.
C++ has name decoration which would cause you trouble - look that up on google for more information - it's not a small subject.
I wish you every success,
Iain.
In the process of moving to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!
|
|
|
|
|
|
Hi all,
i have an dialog based application i m using registry function like:
RegOpenKeyEx
RegCreateKeyEx
RegSetValueEx
RegCloseKey
RegDeleteKeyEx
but these are not working on Vista when UAC is enabled.
please tell me what can i do.
please help me for this.
thanks in advance.
To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.
|
|
|
|
|
Its probably because you're trying to open certain registry keys that a standard user doesn't have access to.
Now don't simply say that its not working.
You need to check the return value and error code.
Or at least give a little more information.
Otherwise we would only be sorry for you that its not working.
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
As superman says, it's because you're writing to registry entries you should not be writing as a "normal user".
You have two choices:
1/ Change your software to respect the different parts of the registry. If you don't already know the answer to your question you shouldn't be writing some install or other fancy software anyway
2/ Search for vista manifest elevation to get vista to ask the user if it's alright to access these keys.
Iain.
In the process of moving to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!
|
|
|
|
|
Dear All,
I have developed a project for an ActiveX. It compiles fine without any error and generates the intended OCX (e.g. MyOCX.ocx). The resource file for the project contains some custom made figures, dialog resource and string table entries.
I need to compile the same code with same resource to produce another OCX (e.g. MyOCX1.ocx) in the same compilation. At present, I am achieving this by changing the project settings in the project properties window (e.g. Preprocessor, MIDL, etc.), changing the resource by opening it in text editor (e.g. TYPELIB - MyOCX1.tlb) and IDL file for CLSID.
I would like to know if there is any other automated process for achieving the same to produce two OCXs at the same time in a single compilation process. It will be a great help for me if anyone has done this already and share the process with me.
Followings are the environments I am using:
1) OS: Windows XP SP2
2) VS 2003.
3) VC++ 7
Thanks in advance.
Rgds,
Sanjoy Jana.
|
|
|
|
|
I don't know the answer but I have seen this question repeatedly, so I did a Google search. Have you read this[^]?
|
|
|
|
|
Website under Study
You often use Virtual University of Pakistan Book Shop site (http://bookshop.vu.edu.pk) for online books purchase. Here you are required to visit this site and have a thorough analysis of it. Try to browse it completely and see all the functionalities which are provided for the students.
After carefully doing the analysis you are required to do the following tasks.
a) Write down the Business Requirements of the Site. It should be only in a paragraph or two.
b.) Write the User Requirements for only New user module as shown in the figure below.
c.) Write Functional Requirements you have identified for the above module i.e. New User Module.
|
|
|
|
|
Hey, were do think you are ? On a market ?
Do your homework yourself and stop poluting the forums with your crap...
|
|
|
|
|
Hey, McDonald's is always hiring.
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]
|
|
|
|