Click here to Skip to main content
13,793,266 members

C / C++ / MFC

 
AnswerRe: Error when printing Pin
Erich Ruth20-Apr-18 8:49
memberErich Ruth20-Apr-18 8:49 
AnswerRe: Error when printing Pin
Randor 20-Apr-18 21:26
professional Randor 20-Apr-18 21:26 
QuestionHow to use constructor list passing an array Pin
Vaclav_20-Apr-18 6:45
memberVaclav_20-Apr-18 6:45 
AnswerRe: How to use constructor list passing an array Pin
Victor Nijegorodov20-Apr-18 7:45
memberVictor Nijegorodov20-Apr-18 7:45 
GeneralRe: How to use constructor list passing an array Pin
Vaclav_20-Apr-18 9:45
memberVaclav_20-Apr-18 9:45 
GeneralRe: How to use constructor list passing an array Pin
Victor Nijegorodov20-Apr-18 12:13
memberVictor Nijegorodov20-Apr-18 12:13 
GeneralRe: How to use constructor list passing an array Pin
Vaclav_20-Apr-18 12:25
memberVaclav_20-Apr-18 12:25 
Questionlinking issue Pin
tasumisra16-Apr-18 7:51
membertasumisra16-Apr-18 7:51 
Hello All,

I have C++ dll, that has some exposed functionality using Def files, among all those CPP files there is one Cpp (Lets call it "Generator.cpp") files that dosnt gets compile normally but it is used to generate supporting C++ file that is exposed in Def files.(some how...some developer thought process, Legacy code)

the Generator.cpp looks like this
#ifdef _USRDLL
#pragma comment(linker, "/EXPORT:GenerateFiles=?GenerateFile@@YGJPAUHWND__@@PAUHINSTANCE__@@PADH@Z")
#endif

__declspec(dllexport) HRESULT __stdcall GenerateFiles(HWND hwnd,HINSTANCE hinst,LPSTR lpCmdLine,int nCmdShow)
{
/// some code to generate CPP files exposing by the DLL
}


can some body help what commandline parameter i should pass so that possible EXPORT can happen and CPP file would be generated.
vikas da

AnswerRe: linking issue Pin
Victor Nijegorodov16-Apr-18 22:39
memberVictor Nijegorodov16-Apr-18 22:39 
AnswerRe: linking issue Pin
Richard MacCutchan17-Apr-18 1:33
protectorRichard MacCutchan17-Apr-18 1:33 
QuestionHow to write more that ONE data byte into ioctl file? Pin
Vaclav_11-Apr-18 15:47
memberVaclav_11-Apr-18 15:47 
AnswerRe: How to write more that ONE data byte into ioctl file? Pin
Richard MacCutchan11-Apr-18 22:26
protectorRichard MacCutchan11-Apr-18 22:26 
AnswerRe: How to write more that ONE data byte into ioctl file? Pin
Victor Nijegorodov11-Apr-18 23:06
memberVictor Nijegorodov11-Apr-18 23:06 
AnswerRe: How to write more that ONE data byte into ioctl file? Pin
Jochen Arndt11-Apr-18 23:18
mvpJochen Arndt11-Apr-18 23:18 
GeneralRe: How to write more that ONE data byte into ioctl file? Pin
Vaclav_12-Apr-18 4:57
memberVaclav_12-Apr-18 4:57 
Questionapp is not running in debug mode Pin
Member 83893869-Apr-18 21:39
memberMember 83893869-Apr-18 21:39 
AnswerRe: app is not running in debug mode Pin
Maciej Los9-Apr-18 22:01
protectorMaciej Los9-Apr-18 22:01 
AnswerRe: app is not running in debug mode Pin
Victor Nijegorodov9-Apr-18 23:46
memberVictor Nijegorodov9-Apr-18 23:46 
GeneralRe: app is not running in debug mode Pin
Member 838938610-Apr-18 0:14
memberMember 838938610-Apr-18 0:14 
GeneralRe: app is not running in debug mode Pin
Victor Nijegorodov10-Apr-18 2:03
memberVictor Nijegorodov10-Apr-18 2:03 
QuestionInter Process Communication between C++ - C# Pin
ptr_Electron8-Apr-18 19:13
memberptr_Electron8-Apr-18 19:13 
AnswerRe: Inter Process Communication between C++ - C# Pin
Jochen Arndt8-Apr-18 22:26
mvpJochen Arndt8-Apr-18 22:26 
AnswerRe: Inter Process Communication between C++ - C# Pin
Randor 9-Apr-18 11:03
professional Randor 9-Apr-18 11:03 
AnswerRe: Inter Process Communication between C++ - C# Pin
jschell14-Apr-18 6:48
memberjschell14-Apr-18 6:48 
QuestionHow cin.get() works in loop ? Pin
Tarun Jha7-Apr-18 4:32
memberTarun Jha7-Apr-18 4:32 

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.


Advertise | Privacy | Cookies | Terms of Service
Web05 | 2.8.181207.3 | Last Updated 10 Dec 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid