Click here to Skip to main content
15,913,944 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Wsock32 Proxy DLL Causes Access Violation [modified] Pin
Cloather210-May-07 19:52
Cloather210-May-07 19:52 
GeneralRe: Wsock32 Proxy DLL Causes Access Violation Pin
James R. Twine11-May-07 12:06
James R. Twine11-May-07 12:06 
QuestionHow to pass an array to a COM method accept a VARIANT * Pin
songll10-May-07 8:26
songll10-May-07 8:26 
AnswerRe: How to pass an array to a COM method accept a VARIANT * Pin
James R. Twine10-May-07 8:48
James R. Twine10-May-07 8:48 
GeneralRe: How to pass an array to a COM method accept a VARIANT * Pin
CPallini10-May-07 9:00
mveCPallini10-May-07 9:00 
QuestionREGISTRY KEY: How to read/write Pin
J_E_D_I10-May-07 8:02
J_E_D_I10-May-07 8:02 
AnswerRe: REGISTRY KEY: How to read/write Pin
James R. Twine10-May-07 8:53
James R. Twine10-May-07 8:53 
QuestionRe: REGISTRY KEY: How to read/write Pin
J_E_D_I10-May-07 15:25
J_E_D_I10-May-07 15:25 
Dear James,

Thanks for the help.

I've looked up the RegCreateKeyEx function on MSDN, as you have suggested. I have tried to copy the code present in the second coloured box at (http://msdn2.microsoft.com/en-us/library/aa363634.aspx) into my c++ code, but I am sure I am either missing something crucial or inserting it in the wrong location, since it is returning a thousand errors when I try to compile it!

Not sure what I am doing wrong. Consider that I am a real beginner. My code is all written in c++ using VS2005 and Win32 application.

My code looks like that:

<code>#include "stdafx.h"
#include <ctime>
#include <math.h>
#include <fstream>
#include <string>
#include <iostream>
using namespace std;
#include <iomanip>
using std::setprecision;

int _tmain(int argc, _TCHAR* argv[])
{

// my code

return 0;

}</code>

Thank you!

J_E_D_I

AnswerRe: REGISTRY KEY: How to read/write Pin
Richard Andrew x6410-May-07 18:11
professionalRichard Andrew x6410-May-07 18:11 
GeneralRe: REGISTRY KEY: How to read/write Pin
J_E_D_I12-May-07 7:27
J_E_D_I12-May-07 7:27 
AnswerRe: REGISTRY KEY: How to read/write Pin
ThatsAlok16-May-07 22:36
ThatsAlok16-May-07 22:36 
QuestionSelectively delete in multi column List Control Pin
ldsdbomber10-May-07 5:57
ldsdbomber10-May-07 5:57 
AnswerRe: Selectively delete in multi column List Control Pin
David Crow10-May-07 7:36
David Crow10-May-07 7:36 
AnswerRe: Selectively delete in multi column List Control Pin
Mark Salsbery10-May-07 7:38
Mark Salsbery10-May-07 7:38 
GeneralRe: Selectively delete in multi column List Control Pin
ldsdbomber11-Jun-07 3:08
ldsdbomber11-Jun-07 3:08 
GeneralRe: Selectively delete in multi column List Control Pin
ldsdbomber11-Jun-07 3:13
ldsdbomber11-Jun-07 3:13 
GeneralRe: Selectively delete in multi column List Control Pin
ldsdbomber11-Jun-07 3:14
ldsdbomber11-Jun-07 3:14 
GeneralRe: Selectively delete in multi column List Control Pin
Mark Salsbery11-Jun-07 6:43
Mark Salsbery11-Jun-07 6:43 
GeneralRe: Selectively delete in multi column List Control Pin
ldsdbomber11-Jun-07 23:05
ldsdbomber11-Jun-07 23:05 
GeneralRe: Selectively delete in multi column List Control Pin
Mark Salsbery12-Jun-07 6:46
Mark Salsbery12-Jun-07 6:46 
Questioncomparison between string and int Pin
prithaa10-May-07 5:07
prithaa10-May-07 5:07 
AnswerRe: comparison between string and int Pin
led mike10-May-07 5:18
led mike10-May-07 5:18 
AnswerRe: comparison between string and int Pin
David Crow10-May-07 5:54
David Crow10-May-07 5:54 
GeneralRe: comparison between string and int Pin
prithaa11-May-07 23:53
prithaa11-May-07 23:53 
AnswerRe: comparison between string and int Pin
Nelek13-May-07 20:07
protectorNelek13-May-07 20:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.