Solved

about ConvertHexStringToDWORD function !

Posted on 2000-02-21
3
225 Views
Last Modified: 2008-02-01
how can I use ConvertHexStringToDWORD function.
This function is described in MSDN but I can not use it because
the compiler doesn't recognize this function.
When I scan all fills in the visual studio directory, this function is not found.

Help.
0
Comment
Question by:mike_marquet
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 5

Expert Comment

by:Wyn
ID: 2542358
Try to find lnktool.cpp
0
 
LVL 86

Accepted Solution

by:
jkr earned 20 total points
ID: 2542382
Why don't you simply use

#include <stdlib.h>

DWORD dw;
char* pszHex="0xabe75340";
char* pc;

dw = (DWORD) strtoul ( pszHex, &pc, 16);

?
0
 

Author Comment

by:mike_marquet
ID: 2542527
To jkr :

I didn't know about strtoul function.

Thanks.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question