Click here to Skip to main content
15,913,722 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalthe problem to use OpenDriver in DLL Pin
gdzfy10-Jul-03 21:43
gdzfy10-Jul-03 21:43 
GeneralRe: the problem to use OpenDriver in DLL Pin
Ryan Binns10-Jul-03 22:38
Ryan Binns10-Jul-03 22:38 
GeneralRe: the problem to use OpenDriver in DLL Pin
gdzfy11-Jul-03 2:15
gdzfy11-Jul-03 2:15 
GeneralRe: the problem to use OpenDriver in DLL Pin
Ryan Binns11-Jul-03 2:37
Ryan Binns11-Jul-03 2:37 
GeneralRe: the problem to use OpenDriver in DLL Pin
gdzfy11-Jul-03 2:49
gdzfy11-Jul-03 2:49 
GeneralRe: the problem to use OpenDriver in DLL Pin
Ryan Binns11-Jul-03 2:59
Ryan Binns11-Jul-03 2:59 
GeneralRe: the problem to use OpenDriver in DLL Pin
gdzfy11-Jul-03 3:11
gdzfy11-Jul-03 3:11 
GeneralRe: the problem to use OpenDriver in DLL Pin
Ryan Binns11-Jul-03 3:20
Ryan Binns11-Jul-03 3:20 
gdzfy wrote:
yes,i had passed the correct registry entry (or DLL file name) as the first parameter.but why to pass NULL as the
second?


The second parameter tells Windows which registry key the registry key in the first parameter is located in. If you pass NULL, is uses the default: Drivers32. If you pass in the DLL file name for the first parameter, then the second parameter is ignored.

gdzfy wrote:
In fact ,i only try to rewrite the simple application to a dll.when i step to debug the dll,i found the problem is that OpenDriver() fail ,but i hadn't changed the argument the former application use

So the application worked, and you copied the code exactly, but now it doesn't work?

Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

GeneralRe: the problem to use OpenDriver in DLL Pin
gdzfy11-Jul-03 3:30
gdzfy11-Jul-03 3:30 
GeneralRe: the problem to use OpenDriver in DLL Pin
Ryan Binns11-Jul-03 4:16
Ryan Binns11-Jul-03 4:16 
GeneralRe: the problem to use OpenDriver in DLL Pin
gdzfy11-Jul-03 4:19
gdzfy11-Jul-03 4:19 
GeneralSocket question Pin
georgiek5010-Jul-03 13:44
georgiek5010-Jul-03 13:44 
GeneralRe: Socket question Pin
valikac10-Jul-03 13:52
valikac10-Jul-03 13:52 
GeneralRe: Socket question Pin
georgiek5010-Jul-03 13:57
georgiek5010-Jul-03 13:57 
GeneralRe: Socket question Pin
georgiek5010-Jul-03 14:18
georgiek5010-Jul-03 14:18 
GeneralRe: Socket question Pin
Ryan Binns10-Jul-03 17:43
Ryan Binns10-Jul-03 17:43 
GeneralRe: Socket question Pin
Trollslayer11-Jul-03 1:48
mentorTrollslayer11-Jul-03 1:48 
GeneralProgrammatically burning a CD Pin
Martin Hinchy10-Jul-03 12:33
Martin Hinchy10-Jul-03 12:33 
GeneralRe: Programmatically burning a CD Pin
John M. Drescher10-Jul-03 12:42
John M. Drescher10-Jul-03 12:42 
GeneralRe: Programmatically burning a CD Pin
Michael Dunn10-Jul-03 13:27
sitebuilderMichael Dunn10-Jul-03 13:27 
GeneralRe: Programmatically burning a CD Pin
PenguinSource28-Jul-03 2:52
PenguinSource28-Jul-03 2:52 
GeneralRe: Programmatically burning a CD Pin
Ryan Binns10-Jul-03 17:45
Ryan Binns10-Jul-03 17:45 
QuestionHow many lines? Pin
Scozturk10-Jul-03 9:16
professionalScozturk10-Jul-03 9:16 
AnswerRe: How many lines? Pin
David Crow10-Jul-03 10:05
David Crow10-Jul-03 10:05 
AnswerRe: How many lines? Pin
John R. Shaw10-Jul-03 11:15
John R. Shaw10-Jul-03 11:15 

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.