Click here to Skip to main content
15,912,329 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: a Yes or No Question Pin
lahom15-Apr-08 15:44
lahom15-Apr-08 15:44 
GeneralRe: a Yes or No Question Pin
Stephen Hewitt15-Apr-08 16:01
Stephen Hewitt15-Apr-08 16:01 
JokeRe: a Yes or No Question Pin
cp987615-Apr-08 16:47
cp987615-Apr-08 16:47 
GeneralRe: a Yes or No Question Pin
Stephen Hewitt15-Apr-08 16:50
Stephen Hewitt15-Apr-08 16:50 
GeneralHooks , SendInput , keyb_event .... just don't cut the mustard.. Pin
Bakaneko15-Apr-08 13:11
Bakaneko15-Apr-08 13:11 
GeneralRe: Hooks , SendInput , keyb_event .... just don't cut the mustard.. Pin
Randor 16-Apr-08 5:34
professional Randor 16-Apr-08 5:34 
GeneralRe: Hooks , SendInput , keyb_event .... just don't cut the mustard.. Pin
Bakaneko16-Apr-08 11:44
Bakaneko16-Apr-08 11:44 
GeneralDLL variable being reset Pin
Alan Balkany15-Apr-08 11:23
Alan Balkany15-Apr-08 11:23 
I'm trying to share a C++ DLL between a C++ application and a C# application, but a DLL variable is being reset between invocations. Can anyone suggest what I may be doing wrong?

1. The C++ app calls a DLL function.
2. Then the C++ app starts a C# app (with a system () call) that sets a variable to a nonzero value in the same (?) DLL.
3. The C# app terminates.
4. Then the original C++ app looks at the DLL variable and finds it has been magically "reset" to its original zero value. (?!)

I'm assuming there's only ONE instance of the DLL, which is loaded into memory in Step 1. The DLL variable SHOULD BE nonzero in Step 4, but it's not. Any ideas what's going wrong? Thanks!
GeneralRe: DLL variable being reset Pin
CPallini15-Apr-08 12:09
mveCPallini15-Apr-08 12:09 
GeneralRe: DLL variable being reset Pin
Alan Balkany16-Apr-08 5:25
Alan Balkany16-Apr-08 5:25 
QuestionOpenSSL encryption/decryption Pin
Dr. Kelwin15-Apr-08 10:07
Dr. Kelwin15-Apr-08 10:07 
AnswerRe: OpenSSL encryption/decryption Pin
led mike15-Apr-08 10:26
led mike15-Apr-08 10:26 
QuestionRe: OpenSSL encryption/decryption [modified] Pin
Dr. Kelwin15-Apr-08 12:30
Dr. Kelwin15-Apr-08 12:30 
QuestionWhat is the control ID for File Name edit box in CFileDialog under Vista? Pin
Jason Liu15-Apr-08 7:49
Jason Liu15-Apr-08 7:49 
AnswerRe: What is the control ID for File Name edit box in CFileDialog under Vista? Pin
Jim Crafton15-Apr-08 8:12
Jim Crafton15-Apr-08 8:12 
GeneralRe: What is the control ID for File Name edit box in CFileDialog under Vista? Pin
Jason Liu15-Apr-08 8:27
Jason Liu15-Apr-08 8:27 
GeneralRe: What is the control ID for File Name edit box in CFileDialog under Vista? Pin
Jim Crafton15-Apr-08 9:24
Jim Crafton15-Apr-08 9:24 
AnswerRe: What is the control ID for File Name edit box in CFileDialog under Vista? Pin
JudyL_MD15-Apr-08 10:39
JudyL_MD15-Apr-08 10:39 
AnswerRe: What is the control ID for File Name edit box in CFileDialog under Vista? Pin
David Crow15-Apr-08 10:46
David Crow15-Apr-08 10:46 
GeneralOT - At the summit! Pin
Nibu babu thomas15-Apr-08 11:26
Nibu babu thomas15-Apr-08 11:26 
GeneralRe: OT - At the summit! Pin
David Crow15-Apr-08 17:00
David Crow15-Apr-08 17:00 
GeneralRe: What is the control ID for File Name edit box in CFileDialog under Vista? Pin
Jason Liu15-Apr-08 19:25
Jason Liu15-Apr-08 19:25 
AnswerRe: What is the control ID for File Name edit box in CFileDialog under Vista? Pin
Nibu babu thomas15-Apr-08 11:21
Nibu babu thomas15-Apr-08 11:21 
Generalwrite to console or output Pin
duta15-Apr-08 7:19
duta15-Apr-08 7:19 
GeneralRe: write to console or output Pin
David Crow15-Apr-08 7:23
David Crow15-Apr-08 7:23 

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.