Click here to Skip to main content
15,504,830 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to encrypt .exe? Pin
James R. Twine13-Feb-06 9:03
James R. Twine13-Feb-06 9:03 
Question[Message Deleted] Pin
fearless stallion13-Feb-06 3:10
fearless stallion13-Feb-06 3:10 
AnswerRe: How can I get the Number of My Applications Running on a Network(LAN)? Pin
Andre xxxxxxx13-Feb-06 3:58
Andre xxxxxxx13-Feb-06 3:58 
GeneralRe: How can I get the Number of My Applications Running on a Network(LAN)? Pin
fearless stallion13-Feb-06 19:59
fearless stallion13-Feb-06 19:59 
GeneralRe: How can I get the Number of My Applications Running on a Network(LAN)? Pin
ThatsAlok14-Feb-06 20:48
ThatsAlok14-Feb-06 20:48 
GeneralRe: How can I get the Number of My Applications Running on a Network(LAN)? Pin
fearless stallion19-Feb-06 19:38
fearless stallion19-Feb-06 19:38 
Questionwin32 mci sound routines Pin
Waldermort13-Feb-06 3:09
Waldermort13-Feb-06 3:09 
QuestionLoadlibrary returns error 182 Pin
Spykraft13-Feb-06 2:55
Spykraft13-Feb-06 2:55 
Am trying to access a C++ win32 DLL (32bit) from an .exe project by dynamically loading the DLL as under;
Handle THandle;
errval Integer;
Handle=LoadLibrary("C:\\my folder\\testdll.dll");
if( Handle == NULL )
cout<<GetLastError()<<endl;;

I found that Handle is always set to 0, even if I try putting in the full path.
GetLastError is returning 182 which I believe is an Invalid Ordinal.


Anyone got any idea why LoadLibrary might be returning this error? It looks to
me as if there's something wrong with the DLL.
Also when I tried to load the DLL manually in the registry by typing the following under Start Menu->Run

regsvr32 C:\my folder\testdll.dll

Nothing happens, the command just gets back to the last window open.
Any ideas?


AnswerRe: Loadlibrary returns error 182 Pin
David Crow13-Feb-06 4:19
David Crow13-Feb-06 4:19 
AnswerRe: Loadlibrary returns error 182 Pin
James R. Twine13-Feb-06 9:06
James R. Twine13-Feb-06 9:06 
QuestionHow to show VC++ created waveforms on Browser Pin
RamL13-Feb-06 1:43
RamL13-Feb-06 1:43 
AnswerRe: How to show VC++ created waveforms on Browser Pin
khan++13-Feb-06 2:15
khan++13-Feb-06 2:15 
GeneralRe: How to show VC++ created waveforms on Browser Pin
RamL13-Feb-06 2:55
RamL13-Feb-06 2:55 
GeneralRe: How to show VC++ created waveforms on Browser Pin
khan++13-Feb-06 3:02
khan++13-Feb-06 3:02 
QuestionTooltips for statusbar Pin
Owner drawn13-Feb-06 0:46
Owner drawn13-Feb-06 0:46 
AnswerRe: Tooltips for statusbar Pin
toxcct13-Feb-06 1:47
toxcct13-Feb-06 1:47 
GeneralRe: Tooltips for statusbar Pin
Owner drawn13-Feb-06 1:50
Owner drawn13-Feb-06 1:50 
GeneralRe: Tooltips for statusbar Pin
toxcct13-Feb-06 1:52
toxcct13-Feb-06 1:52 
GeneralRe: Tooltips for statusbar Pin
Owner drawn13-Feb-06 1:54
Owner drawn13-Feb-06 1:54 
AnswerGot it ! Pin
Owner drawn13-Feb-06 2:05
Owner drawn13-Feb-06 2:05 
QuestionHow to handle CFileException in Window CE.NET Pin
birajendu13-Feb-06 0:24
birajendu13-Feb-06 0:24 
AnswerRe: How to handle CFileException in Window CE.NET Pin
James R. Twine13-Feb-06 9:01
James R. Twine13-Feb-06 9:01 
QuestionHow to regain the lost database connection in MFC? Pin
SanjaySMK13-Feb-06 0:14
SanjaySMK13-Feb-06 0:14 
QuestionAdd .lib Pin
sunit513-Feb-06 0:11
sunit513-Feb-06 0:11 
AnswerRe: Add .lib Pin
toxcct13-Feb-06 0:21
toxcct13-Feb-06 0:21 

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.