Click here to Skip to main content
15,896,606 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: #Region Pin
Joel Lucsy10-Dec-04 4:58
Joel Lucsy10-Dec-04 4:58 
GeneralDetailed information about the error codes from LoadLibrary Pin
SteQve8-Dec-04 7:01
SteQve8-Dec-04 7:01 
Generalstatic background and WS_CLIPCHILDREN Pin
Cyrus Dang8-Dec-04 6:26
Cyrus Dang8-Dec-04 6:26 
GeneralRe: static background and WS_CLIPCHILDREN Pin
alex.barylski8-Dec-04 11:41
alex.barylski8-Dec-04 11:41 
GeneralRe: static background and WS_CLIPCHILDREN Pin
Cyrus Dang8-Dec-04 11:55
Cyrus Dang8-Dec-04 11:55 
Generalexpanding all tree items of html help Pin
includeh108-Dec-04 6:13
includeh108-Dec-04 6:13 
GeneralIssue with GetProcAddress (Resolved) Pin
Daniel Gow8-Dec-04 5:59
Daniel Gow8-Dec-04 5:59 
GeneralRe: Issue with GetProcAddress Pin
A T I F8-Dec-04 20:58
A T I F8-Dec-04 20:58 
GetProcAddress return the pointer to function of the call you are trying to make and in your case it will be returning address to pointer of cdEnumDeviceNext. I don;t know about what was being done there but you should have a declaration of pointer to function of 'cdEnumDeviceNext' something as follows

<br />
typedef cdError (CALLBACK* LPFNcdEnumDeviceNext)(cdHEnum, pSourceInfo);<br />


and then you go like this..

<br />
hLib = LoadLibrary("CDSDK.dll");<br />
<br />
LPFNcdEnumDeviceNext NextDevice = NULL;<br />
NextDevice = (LPFNcdEnumDeviceNext)GetProcAddress(hLib,"cdEnumDeviceNext");<br />
// instead of NextDevice = (cdEnumDeviceNext)GetProcAddress(hLib,"cdEnumDeviceNext");<br />
<br />
pSourceInfo= new cdSourceInfo;<br />
err = NextDevice(hEnum, pSourceInfo);<br />
//err = cdOpenSource( &SSrcInfo, &hEnumDevice);<br />
<br />
FreeLibrary(hLib);<br />


I hope you understand and that I have not made it more difficult for you...
GeneralRe: Issue with GetProcAddress Pin
Daniel Gow9-Dec-04 2:19
Daniel Gow9-Dec-04 2:19 
GeneralRe: Issue with GetProcAddress Pin
A T I F9-Dec-04 18:35
A T I F9-Dec-04 18:35 
GeneralRe: Issue with GetProcAddress Pin
Daniel Gow11-Dec-04 13:04
Daniel Gow11-Dec-04 13:04 
QuestionNewbie Ques: How to get all Files and Directorys in a Directory? Pin
RedDragon2k8-Dec-04 5:28
RedDragon2k8-Dec-04 5:28 
AnswerRe: Newbie Ques: How to get all Files and Directorys in a Directory? Pin
BlackDice8-Dec-04 5:55
BlackDice8-Dec-04 5:55 
AnswerRe: Newbie Ques: How to get all Files and Directorys in a Directory? Pin
alex.barylski8-Dec-04 11:45
alex.barylski8-Dec-04 11:45 
QuestionHow to change SW_SHOWDEFAULT Pin
mcgahanfl8-Dec-04 4:50
mcgahanfl8-Dec-04 4:50 
AnswerRe: How to change SW_SHOWDEFAULT Pin
David Crow8-Dec-04 5:09
David Crow8-Dec-04 5:09 
General'Find' algorithm for vector using pointer to class object Pin
BlackDice8-Dec-04 4:06
BlackDice8-Dec-04 4:06 
GeneralRe: 'Find' algorithm for vector using pointer to class object Pin
Jack Puppy8-Dec-04 15:01
Jack Puppy8-Dec-04 15:01 
GeneralRe: 'Find' algorithm for vector using pointer to class object Pin
BlackDice9-Dec-04 2:42
BlackDice9-Dec-04 2:42 
GeneralRe: 'Find' algorithm for vector using pointer to class object Pin
Jack Puppy9-Dec-04 13:46
Jack Puppy9-Dec-04 13:46 
GeneralCListCtrl and Ado RecordSet Pin
shiraztk8-Dec-04 2:40
shiraztk8-Dec-04 2:40 
GeneralRe: CListCtrl and Ado RecordSet Pin
David Crow8-Dec-04 2:45
David Crow8-Dec-04 2:45 
GeneralRe: CListCtrl and Ado RecordSet Pin
shiraztk8-Dec-04 3:02
shiraztk8-Dec-04 3:02 
GeneralRe: CListCtrl and Ado RecordSet Pin
David Crow8-Dec-04 3:29
David Crow8-Dec-04 3:29 
GeneralNTGraph2D and VC++ .NET Pin
doneirik8-Dec-04 2:32
doneirik8-Dec-04 2: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.