Click here to Skip to main content
15,908,264 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionStatic Member Initialization Issue [Solved] Pin
Skippums11-Feb-10 7:56
Skippums11-Feb-10 7:56 
AnswerRe: Static Member Initialization Issue Pin
Stuart Dootson11-Feb-10 8:45
professionalStuart Dootson11-Feb-10 8:45 
GeneralRe: Static Member Initialization Issue Pin
Skippums11-Feb-10 9:23
Skippums11-Feb-10 9:23 
GeneralRe: Static Member Initialization Issue Pin
Stuart Dootson11-Feb-10 9:37
professionalStuart Dootson11-Feb-10 9:37 
GeneralRe: Static Member Initialization Issue Pin
Emilio Garavaglia11-Feb-10 21:04
Emilio Garavaglia11-Feb-10 21:04 
GeneralRe: Static Member Initialization Issue Pin
Skippums11-Feb-10 9:45
Skippums11-Feb-10 9:45 
GeneralRe: Static Member Initialization Issue Pin
Yannick Le Thanh26-Apr-10 22:10
Yannick Le Thanh26-Apr-10 22:10 
QuestionProper way to add item to ListCtrl Pin
Manmohan2911-Feb-10 7:33
Manmohan2911-Feb-10 7:33 
AnswerRe: Proper way to add item to ListCtrl Pin
Richard Andrew x6411-Feb-10 7:40
professionalRichard Andrew x6411-Feb-10 7:40 
GeneralRe: Proper way to add item to ListCtrl Pin
Manmohan2911-Feb-10 7:48
Manmohan2911-Feb-10 7:48 
AnswerRe: Proper way to add item to ListCtrl Pin
David Crow11-Feb-10 7:49
David Crow11-Feb-10 7:49 
QuestionMemory allocated between two checkpoints by a process Pin
BadJerry11-Feb-10 7:30
BadJerry11-Feb-10 7:30 
QuestionMulti Monitor Configuration in MFC/C++ Pin
krishna Srihsam11-Feb-10 7:22
krishna Srihsam11-Feb-10 7:22 
AnswerRe: Multi Monitor Configuration in MFC/C++ Pin
Emilio Garavaglia11-Feb-10 21:15
Emilio Garavaglia11-Feb-10 21:15 
AnswerRe: Multi Monitor Configuration in MFC/C++ Pin
normanS11-Feb-10 22:35
normanS11-Feb-10 22:35 
QuestionNeed to extract non-exported function of DLL Pin
glitteringsound11-Feb-10 7:22
glitteringsound11-Feb-10 7:22 
AnswerRe: Need to extract non-exported function of DLL Pin
Richard MacCutchan11-Feb-10 9:48
mveRichard MacCutchan11-Feb-10 9:48 
AnswerRe: Need to extract non-exported function of DLL Pin
Saurabh.Garg11-Feb-10 17:21
Saurabh.Garg11-Feb-10 17:21 
QuestionC++ application with dll in C:\WINDOWS\system32 problem Pin
chan1111-Feb-10 4:12
chan1111-Feb-10 4:12 
Hi there,

I have given this application that includes a dll and ini file that has to be in system32 folder in Windows machine and another VB application that uses the dll and ini to display the activities of the application. there is also another application that is Linux based and runs on Ubuntu to have just one server I want to install and run the application on the Linux based server by using Vine virtual machine. My problem is that I am not sure how I can change the C++ application code to read the dll and ini files from another folder (i.e. C:\Application) rather than Windows32 folder. Here is what the application have in config class (of course the original programmer didn't provide any comments or documents and the application is more than 15000 lines of code):

.h:
#ifndef __CfgClass_H__
#define __CfgClass_H__

#include <windows.h>
#include <windowsx>
#include "stdafx.h"

.cpp:

memset( CfgFilePath, '\0', MAX_PATH );
if( GetSystemDirectory( tmpFile, MAX_PATH )== 0 )
{
return;
}
wsprintf( CfgFilePath, "%s\\Application.ini", tmpFile );

Any help will be appreciated.

Regards,

Chan
AnswerRe: C++ application with dll in C:\WINDOWS\system32 problem Pin
Richard Andrew x6411-Feb-10 7:37
professionalRichard Andrew x6411-Feb-10 7:37 
GeneralRe: C++ application with dll in C:\WINDOWS\system32 problem Pin
chan1111-Feb-10 8:21
chan1111-Feb-10 8:21 
QuestionDAO - Constraint Syntax Error! Pin
A&Ms11-Feb-10 3:23
A&Ms11-Feb-10 3:23 
QuestionHow do I use SetElementProperty with CDHtmlDialog? Pin
BigRedBetta11-Feb-10 3:03
BigRedBetta11-Feb-10 3:03 
QuestionWant to paste a file programatically (using C++) that's available in the clipboard Pin
PankajB11-Feb-10 1:55
PankajB11-Feb-10 1:55 
AnswerRe: Want to paste a file programatically (using C++) that's available in the clipboard Pin
Code-o-mat11-Feb-10 4:14
Code-o-mat11-Feb-10 4:14 

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.