Click here to Skip to main content
13,762,666 members

ATL / WTL / STL

 
QuestionHow to Disable open drop down Pin
yaswanthdasari24-Oct-17 22:36
memberyaswanthdasari24-Oct-17 22:36 
SuggestionRe: How to Disable open drop down Pin
Richard MacCutchan24-Oct-17 23:44
protectorRichard MacCutchan24-Oct-17 23:44 
GeneralRe: How to Disable open drop down Pin
yaswanthdasari25-Oct-17 1:38
memberyaswanthdasari25-Oct-17 1:38 
AnswerRe: How to Disable open drop down Pin
Daniel Pfeffer25-Oct-17 2:11
professionalDaniel Pfeffer25-Oct-17 2:11 
GeneralRe: How to Disable open drop down Pin
yaswanthdasari26-Oct-17 0:50
memberyaswanthdasari26-Oct-17 0:50 
QuestionHow To Add a Dll TO MFC Application in visual Studio Pin
Member 1347149317-Oct-17 22:50
memberMember 1347149317-Oct-17 22:50 
QuestionRe: How To Add a Dll TO MFC Application in visual Studio Pin
Richard MacCutchan17-Oct-17 22:58
protectorRichard MacCutchan17-Oct-17 22:58 
AnswerRe: How To Add a Dll TO MFC Application in visual Studio Pin
Member 1347149317-Oct-17 23:09
memberMember 1347149317-Oct-17 23: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 23:12
protectorRichard MacCutchan17-Oct-17 23:12 
GeneralRe: How To Add a Dll TO MFC Application in visual Studio Pin
Member 1347149317-Oct-17 23:29
memberMember 1347149317-Oct-17 23:29 
GeneralRe: How To Add a Dll TO MFC Application in visual Studio Pin
Richard MacCutchan17-Oct-17 23:45
protectorRichard MacCutchan17-Oct-17 23:45 
AnswerRe: How To Add a Dll TO MFC Application in visual Studio Pin
Jochen Arndt17-Oct-17 23:44
mvpJochen Arndt17-Oct-17 23:44 
GeneralRe: How To Add a Dll TO MFC Application in visual Studio Pin
Member 1347149318-Oct-17 0:13
memberMember 1347149318-Oct-17 0:13 
GeneralRe: How To Add a Dll TO MFC Application in visual Studio Pin
Jochen Arndt18-Oct-17 0:29
mvpJochen Arndt18-Oct-17 0:29 
GeneralRe: How To Add a Dll TO MFC Application in visual Studio Pin
Richard MacCutchan18-Oct-17 1:16
protectorRichard MacCutchan18-Oct-17 1:16 
GeneralRe: How To Add a Dll TO MFC Application in visual Studio Pin
Member 1347149318-Oct-17 1:58
memberMember 1347149318-Oct-17 1:58 
QuestionRe: How To Add a Dll TO MFC Application in visual Studio Pin
Richard MacCutchan18-Oct-17 2:18
protectorRichard MacCutchan18-Oct-17 2:18 
GeneralRe: How To Add a Dll TO MFC Application in visual Studio Pin
Jochen Arndt18-Oct-17 2:40
mvpJochen Arndt18-Oct-17 2:40 
AnswerRe: How To Add a Dll TO MFC Application in visual Studio Pin
Michael Haephrati22-Oct-17 3:22
mvpMichael Haephrati22-Oct-17 3:22 
Questionusing /clr switch for ATL application raises an exception when the application is terminating. Pin
Vijjuuu.23-Aug-17 1:00
memberVijjuuu.23-Aug-17 1:00 
QuestionGetUsbDrive letter error Pin
Member 101933363-Aug-17 1:27
memberMember 101933363-Aug-17 1:27 
QuestionRe: GetUsbDrive letter error Pin
Richard MacCutchan3-Aug-17 2:18
protectorRichard MacCutchan3-Aug-17 2:18 
AnswerRe: GetUsbDrive letter error Pin
Member 101933363-Aug-17 3:26
memberMember 101933363-Aug-17 3:26 
GeneralRe: GetUsbDrive letter error Pin
Richard MacCutchan3-Aug-17 3:28
protectorRichard MacCutchan3-Aug-17 3:28 
GeneralRe: GetUsbDrive letter error Pin
Member 101933363-Aug-17 3:36
memberMember 101933363-Aug-17 3: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.


Advertise | Privacy | Cookies | Terms of Service
Web05-2016 | 2.8.181112.3 | Last Updated 16 Oct 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid