-
October 10th, 2009, 05:19 PM
#1
LoadLibrary("*.dll") vs LoadLibraryA(".dll")
hey,
I am programming an ansi C application that needs to load a .dll.
My line of code is the next:
hCodigo = LoadLibrary("zlib1.dll");
when I try to run the program that way it doesnt find the dll, I started searching and find that exists LoadLibraryA, the program works using that function,
but why it doesnt work with LoadLibrary("dll")??
also, are there any differences in those functions?
I know that the last A is for Ansi, this is the only i found about LoadLibrary, hehe.
Btw, I read somewhere that i should use _T("dll") but that didnt work.
the dll is in both folders system and system32.
Thanks,
65dos
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|