|
-
Sep 14th, 2006, 03:41 PM
#1
Thread Starter
Lively Member
Problem with IJL15.DLL
I have a problem with IJL15.DLL...
My declarations are ;
VB Code:
Private Declare Function ijlInit Lib "ijl15.dll" (jcprops As Any) As Long
Private Declare Function ijlFree Lib "ijl15.dll" (jcprops As Any) As Long
Private Declare Function ijlRead Lib "ijl15.dll" (jcprops As Any, ByVal ioType As Long) As Long
Private Declare Function ijlWrite Lib "ijl15.dll" (jcprops As Any, ByVal ioType As Long) As Long
Private Declare Function ijlGetLibVersion Lib "ijl15.dll" () As Long
Private Declare Function ijlGetErrorString Lib "ijl15.dll" (ByVal code As Long) As Long
I Open my DLL in the application path;
VB Code:
Private Sub WriteJPGLib()
On Error Resume Next
If modJPG.InstalledOK = False Then
' IJL15.DLL isn't installed. Wait! I have it in my resource file!
' I'm going to write the Intel JPG handler in the Application's path
' There's no need to put it in the system or system32 directory... it'll work here
b = -1
TargetDLL = App.Path
If Right(TargetDLL, 1) <> "\" Then TargetDLL = TargetDLL & "\"
TargetDLL = TargetDLL & "ijl15.dll"
b = FileLen(TargetDLL)
If b <= 0 Then
Dim a As Long
a = FreeFile
Open TargetDLL For Output As #a
Print #a, StrConv(LoadResData("INTEL_JPG", "CUSTOM"), vbUnicode);
Close #a
End If
End If
End Sub
But when i call the library as;
VB Code:
Public Function LoadJPG(ByRef cDib As cdibSection, ByVal sFile As String) As Boolean
Dim tj As JPEG_CORE_PROPERTIES_VB
Dim lR As Long
lR = ijlInit(tj)
If lR = IJL_OK Then
It gives error saying that it can not find ijlInit.dll ?? although it is exist allready in the app.path!!!!!!!
I need Help
Sometimes you feel that you can not live without people
-
Sep 15th, 2006, 03:11 AM
#2
Re: Problem with IJL15.DLL
Register the Dll at your Pc using the regsvr32, click on the start run and wirte regsvr32 dll(path) at the rum winodow
-
Sep 15th, 2006, 03:03 PM
#3
Thread Starter
Lively Member
Re: Problem with IJL15.DLL
Error in reading it skakti
Sometimes you feel that you can not live without people
-
Sep 16th, 2006, 12:54 AM
#4
Re: Problem with IJL15.DLL
 Originally Posted by Marina-Jo
Error in reading it shakti
What type of error is dll is registered on your pc by you or not ?
-
Sep 16th, 2006, 03:33 AM
#5
Thread Starter
Lively Member
Re: Problem with IJL15.DLL
it is not of me, my friend.
mmmm... ok Shakti, forget.
Sometimes you feel that you can not live without people
-
Sep 16th, 2006, 03:36 AM
#6
Re: Problem with IJL15.DLL
 Originally Posted by Marina-Jo
it is not of me, my friend.
mmmm... ok Shakti, forget.

I am not understand marina, Did u get the solution ,or what u want to say, i do not understand
-
Sep 17th, 2006, 04:35 AM
#7
PowerPoster
Re: Problem with IJL15.DLL
Hi Marina .. if your friend doesnt have the DLL on her PC then it wont work without installation .. registering. .
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
|