Click here to Skip to main content
14,539,164 members

ATL / WTL / STL

 
QuestionHow to Disable open drop down Pin
yaswanthdasari24-Oct-17 21:36
Memberyaswanthdasari24-Oct-17 21:36 
SuggestionRe: How to Disable open drop down Pin
Richard MacCutchan24-Oct-17 22:44
mveRichard MacCutchan24-Oct-17 22:44 
GeneralRe: How to Disable open drop down Pin
yaswanthdasari25-Oct-17 0:38
Memberyaswanthdasari25-Oct-17 0:38 
AnswerRe: How to Disable open drop down Pin
Daniel Pfeffer25-Oct-17 1:11
professionalDaniel Pfeffer25-Oct-17 1:11 
GeneralRe: How to Disable open drop down Pin
yaswanthdasari25-Oct-17 23:50
Memberyaswanthdasari25-Oct-17 23:50 
QuestionHow To Add a Dll TO MFC Application in visual Studio Pin
Member 1347149317-Oct-17 21:50
MemberMember 1347149317-Oct-17 21:50 
QuestionRe: How To Add a Dll TO MFC Application in visual Studio Pin
Richard MacCutchan17-Oct-17 21:58
mveRichard MacCutchan17-Oct-17 21:58 
AnswerRe: How To Add a Dll TO MFC Application in visual Studio Pin
Member 1347149317-Oct-17 22:09
MemberMember 1347149317-Oct-17 22:09 
i had tried this:
#import "mcl_gen.dll" in my .h file
and i have written this piece of code in my .cpp file:

"
typedef int (*ConnectByAddressfuncPtr)(short Addr);

HINSTANCE LoadME;
LoadME = LoadLibrary("mcl_gen.dll");

// Check to see if the library was loaded successfully
if (LoadME != 0)
printf("LoadMe library loaded!\n");
else
printf("LoadMe library failed to load!\n");

ConnectByAddressfuncPtr LibMainConnectByAddress;

LibMainConnectByAddress = (ConnectByAddressfuncPtr)GetProcAddress(LoadME,"ConnectByAddress");

int x = LibMainConnectByAddress(0x01);

"

"ConnectByAddress" is a function in .dll file
when i run the code although the dll file is being loaded but i get this error:
Unhandled exception at 0x770115ee in fdll.exe: 0xC0000005: Access violation.
GeneralRe: How To Add a Dll TO MFC Application in visual Studio Pin
Richard MacCutchan17-Oct-17 22:12
mveRichard MacCutchan17-Oct-17 22:12 
GeneralRe: How To Add a Dll TO MFC Application in visual Studio Pin
Member 1347149317-Oct-17 22:29
MemberMember 1347149317-Oct-17 22:29 
GeneralRe: How To Add a Dll TO MFC Application in visual Studio Pin
Richard MacCutchan17-Oct-17 22:45
mveRichard MacCutchan17-Oct-17 22:45 
AnswerRe: How To Add a Dll TO MFC Application in visual Studio Pin
Jochen Arndt17-Oct-17 22:44
professionalJochen Arndt17-Oct-17 22:44 
GeneralRe: How To Add a Dll TO MFC Application in visual Studio Pin
Member 1347149317-Oct-17 23:13
MemberMember 1347149317-Oct-17 23:13 
GeneralRe: How To Add a Dll TO MFC Application in visual Studio Pin
Jochen Arndt17-Oct-17 23:29
professionalJochen Arndt17-Oct-17 23:29 
GeneralRe: How To Add a Dll TO MFC Application in visual Studio Pin
Richard MacCutchan18-Oct-17 0:16
mveRichard MacCutchan18-Oct-17 0:16 
GeneralRe: How To Add a Dll TO MFC Application in visual Studio Pin
Member 1347149318-Oct-17 0:58
MemberMember 1347149318-Oct-17 0:58 
QuestionRe: How To Add a Dll TO MFC Application in visual Studio Pin
Richard MacCutchan18-Oct-17 1:18
mveRichard MacCutchan18-Oct-17 1:18 
GeneralRe: How To Add a Dll TO MFC Application in visual Studio Pin
Jochen Arndt18-Oct-17 1:40
professionalJochen Arndt18-Oct-17 1:40 
AnswerRe: How To Add a Dll TO MFC Application in visual Studio Pin
Michael Haephrati22-Oct-17 2:22
mvaMichael Haephrati22-Oct-17 2:22 
Questionusing /clr switch for ATL application raises an exception when the application is terminating. Pin
Vijjuuu.23-Aug-17 0:00
MemberVijjuuu.23-Aug-17 0:00 
QuestionGetUsbDrive letter error Pin
Member 101933363-Aug-17 0:27
MemberMember 101933363-Aug-17 0:27 
QuestionRe: GetUsbDrive letter error Pin
Richard MacCutchan3-Aug-17 1:18
mveRichard MacCutchan3-Aug-17 1:18 
AnswerRe: GetUsbDrive letter error Pin
Member 101933363-Aug-17 2:26
MemberMember 101933363-Aug-17 2:26 
GeneralRe: GetUsbDrive letter error Pin
Richard MacCutchan3-Aug-17 2:28
mveRichard MacCutchan3-Aug-17 2:28 
GeneralRe: GetUsbDrive letter error Pin
Member 101933363-Aug-17 2:36
MemberMember 101933363-Aug-17 2:36 

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.