Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Programming Registre

Status
Not open for further replies.

sikarius

Programmer
Dec 11, 2001
63
ES
Hi everybody !!

I have a little problem. I'm trying to program a little app that modify the win registre. I built a win32 console application but when i try to open a key i obtain the next error code:

(2):This function only is valid in Win32 Mode.

I have to made a GDI application to use the registre functions?

Thanks
Certifications:
CCNA, MCP

In Progress:
CCNP - Routing
 
To use the Win32 API registry functions you have compile your program as a WIN32 application (it won't work as a DOS console application).
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top