Click here to Skip to main content
15,908,166 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with dll... Pin
regnwald16-Feb-09 18:44
regnwald16-Feb-09 18:44 
GeneralRe: Problem with dll... Pin
CPallini16-Feb-09 21:34
mveCPallini16-Feb-09 21:34 
GeneralRe: Problem with dll... Pin
CPallini16-Feb-09 21:44
mveCPallini16-Feb-09 21:44 
AnswerRe: Problem with dll... Pin
Richard Andrew x6416-Feb-09 16:37
professionalRichard Andrew x6416-Feb-09 16:37 
GeneralRe: Problem with dll... Pin
Member Ártemis16-Feb-09 23:04
Member Ártemis16-Feb-09 23:04 
GeneralRe: Problem with dll... Pin
Richard Andrew x6417-Feb-09 2:00
professionalRichard Andrew x6417-Feb-09 2:00 
GeneralRe: Problem with dll... Pin
Member Ártemis17-Feb-09 4:56
Member Ártemis17-Feb-09 4:56 
GeneralRe: Problem with dll... Pin
Richard Andrew x6417-Feb-09 12:33
professionalRichard Andrew x6417-Feb-09 12:33 
Change your code so that it reads as follows:

HINSTANCE myDll = LoadLibrary((LPCWSTR)"Testing.dll");

DWORD Error = GetLastError();

if (myDll)
   Console::Writeline("Dll Loaded");
else
   Console::Writeline("Dll Not Loaded");


Put a breakpoint at the line that says "Not Loaded."

When the program breaks, inspect the value of the variable Error.

That will be the Windows error code for what went wrong. Post the Error code here, and maybe we can help you figure it out.
GeneralRe: Problem with dll... Pin
Member Ártemis17-Feb-09 23:46
Member Ártemis17-Feb-09 23:46 
QuestionConvert const string& to CByteArray ? Pin
mmayur16-Feb-09 5:27
mmayur16-Feb-09 5:27 
AnswerRe: Convert const string& to CByteArray ? Pin
CPallini16-Feb-09 8:05
mveCPallini16-Feb-09 8:05 
GeneralRe: Convert const string& to CByteArray ? Pin
mmayur16-Feb-09 8:46
mmayur16-Feb-09 8:46 
GeneralRe: Convert const string& to CByteArray ? Pin
CPallini16-Feb-09 9:46
mveCPallini16-Feb-09 9:46 
GeneralRe: Convert const string& to CByteArray ? Pin
mmayur16-Feb-09 10:02
mmayur16-Feb-09 10:02 
GeneralRe: Convert const string& to CByteArray ? Pin
CPallini16-Feb-09 10:51
mveCPallini16-Feb-09 10:51 
GeneralRe: Convert const string& to CByteArray ? Pin
mmayur16-Feb-09 11:27
mmayur16-Feb-09 11:27 
GeneralRe: Convert const string& to CByteArray ? Pin
mmayur17-Feb-09 9:15
mmayur17-Feb-09 9:15 
AnswerRe: Convert const string& to CByteArray ? Pin
frx9616-Feb-09 16:29
frx9616-Feb-09 16:29 
Questionneed a minor help in my program [modified] Pin
tksrules16-Feb-09 4:20
tksrules16-Feb-09 4:20 
GeneralRe: need a minor help in my program Pin
Perspx16-Feb-09 4:26
Perspx16-Feb-09 4:26 
QuestionRe: need a minor help in my program Pin
David Crow16-Feb-09 6:18
David Crow16-Feb-09 6:18 
AnswerRe: need a minor help in my program Pin
tksrules16-Feb-09 6:22
tksrules16-Feb-09 6:22 
GeneralRe: need a minor help in my program Pin
David Crow16-Feb-09 6:39
David Crow16-Feb-09 6:39 
GeneralRe: need a minor help in my program Pin
tksrules16-Feb-09 6:42
tksrules16-Feb-09 6:42 
JokeRe: need a minor help in my program Pin
CPallini16-Feb-09 11:01
mveCPallini16-Feb-09 11:01 

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.