C language > Beginner questions
Why my DLL require "pocrt.dll"?
(1/1)
David Strutz:
Pelles C 4.5
Writing a DLL like
--- Code: ---#define WIN32_LEAN_AND_MEAN /* speed up */
#include <windows.h>
#include <tchar.h>
#include <winsock.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
;int WINAPI serverSetup(long,long,long)
;int WINAPI clientSetup(long,long,long)
//blablablub...
--- End code ---
If there is no "pocrt.dll" on target computer, my dll doesnt work and a Messagebox like "pocrt.dll not found" appears.
What is my fault?
David Strutz:
Ah! I see, using i.e. strcat requires pocrt.dll.
Is there a way to put pocrt.dll into my dll?
JohnF:
--- Quote from: David Strutz on June 12, 2008, 12:13:53 AM ---Ah! I see, using i.e. strcat requires pocrt.dll.
Is there a way to put pocrt.dll into my dll?
--- End quote ---
No.
Why are you not using crt.lib - no external DLL will be required.
John
David Strutz:
Thank you - it works fine!
Navigation
[0] Message Index
Go to full version