Click here to Skip to main content
15,887,313 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DLL with a callback Pin
Richard MacCutchan16-Apr-21 4:33
mveRichard MacCutchan16-Apr-21 4:33 
GeneralRe: DLL with a callback Pin
Bodo240716-Apr-21 4:46
Bodo240716-Apr-21 4:46 
GeneralRe: DLL with a callback Pin
Richard MacCutchan16-Apr-21 5:32
mveRichard MacCutchan16-Apr-21 5:32 
Questionmac desing: Pin
prasad 202114-Apr-21 23:09
prasad 202114-Apr-21 23:09 
AnswerRe: mac desing: Pin
Richard MacCutchan14-Apr-21 23:12
mveRichard MacCutchan14-Apr-21 23:12 
AnswerRe: mac desing: Pin
Dave Kreskowiak15-Apr-21 4:35
mveDave Kreskowiak15-Apr-21 4:35 
AnswerRe: mac desing: Pin
David Crow15-Apr-21 5:39
David Crow15-Apr-21 5:39 
QuestionEACCES when not running under VS debugger Pin
ForNow11-Apr-21 10:10
ForNow11-Apr-21 10:10 
Hi
I have a C DLL that processes data for a MFC C++ program. It happens to be my FTP folder where files are received from FTP. when I step thru the code under the VS debugger everything runs fine
I make a breakpoint in the MFC code and when after getting the ProcAddress I go into the function.

So how do I know what the problem is when I don't run under the VS debugger, well I have a SEH (handler that pops up with a messagebox and I attach the debugger and observe the rc from _sopen_s that fails)

I decided to put a MessageBox in when it fails (in the DLL) and upon entry to the DLL as well, in the hope that I can then attach the debugger and get a better idea but the messagebox fails to appear I do re-link the MFC program as well

I went as far a deleting the .lib TO ensure I was picking it up while linking the MFC program and I got a link error so I know its picking the .lib of the DLL

I am running both the (VS Debugger and the MFC program in administrator mode)
AnswerRe: EACCES when not running under VS debugger Pin
Richard MacCutchan11-Apr-21 21:27
mveRichard MacCutchan11-Apr-21 21:27 
GeneralRe: EACCES when not running under VS debugger Pin
ForNow12-Apr-21 1:34
ForNow12-Apr-21 1:34 
GeneralRe: EACCES when not running under VS debugger Pin
Richard MacCutchan12-Apr-21 1:52
mveRichard MacCutchan12-Apr-21 1:52 
GeneralRe: EACCES when not running under VS debugger Pin
ForNow12-Apr-21 2:02
ForNow12-Apr-21 2:02 
Questionuse of dependent type name must be prefixed Pin
_Flaviu1-Apr-21 7:02
_Flaviu1-Apr-21 7:02 
AnswerRe: use of dependent type name must be prefixed Pin
Greg Utas1-Apr-21 8:00
professionalGreg Utas1-Apr-21 8:00 
GeneralRe: use of dependent type name must be prefixed Pin
_Flaviu1-Apr-21 8:25
_Flaviu1-Apr-21 8:25 
GeneralRe: use of dependent type name must be prefixed Pin
Greg Utas1-Apr-21 10:50
professionalGreg Utas1-Apr-21 10:50 
GeneralRe: use of dependent type name must be prefixed Pin
_Flaviu1-Apr-21 19:34
_Flaviu1-Apr-21 19:34 
GeneralRe: use of dependent type name must be prefixed Pin
Greg Utas2-Apr-21 3:02
professionalGreg Utas2-Apr-21 3:02 
AnswerRe: use of dependent type name must be prefixed Pin
Richard MacCutchan2-Apr-21 0:51
mveRichard MacCutchan2-Apr-21 0:51 
QuestionTo print two index in a sentence Pin
Eugene Low31-Mar-21 21:08
Eugene Low31-Mar-21 21:08 
AnswerRe: To print two index in a sentence Pin
Richard MacCutchan31-Mar-21 21:16
mveRichard MacCutchan31-Mar-21 21:16 
GeneralRe: To print two index in a sentence Pin
Eugene Low31-Mar-21 22:04
Eugene Low31-Mar-21 22:04 
GeneralRe: To print two index in a sentence Pin
Richard MacCutchan31-Mar-21 23:49
mveRichard MacCutchan31-Mar-21 23:49 
AnswerRe: To print two index in a sentence Pin
CPallini1-Apr-21 0:09
mveCPallini1-Apr-21 0:09 
Questionhelp me Pin
Member 1512893231-Mar-21 4:09
Member 1512893231-Mar-21 4:09 

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.