Results 1 to 7 of 7

Thread: Problem with IJL15.DLL

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2006
    Posts
    118

    Problem with IJL15.DLL

    I have a problem with IJL15.DLL...
    My declarations are ;

    VB Code:
    1. Private Declare Function ijlInit Lib "ijl15.dll" (jcprops As Any) As Long
    2. Private Declare Function ijlFree Lib "ijl15.dll" (jcprops As Any) As Long
    3. Private Declare Function ijlRead Lib "ijl15.dll" (jcprops As Any, ByVal ioType As Long) As Long
    4. Private Declare Function ijlWrite Lib "ijl15.dll" (jcprops As Any, ByVal ioType As Long) As Long
    5. Private Declare Function ijlGetLibVersion Lib "ijl15.dll" () As Long
    6. Private Declare Function ijlGetErrorString Lib "ijl15.dll" (ByVal code As Long) As Long

    I Open my DLL in the application path;

    VB Code:
    1. Private Sub WriteJPGLib()
    2. On Error Resume Next
    3. If modJPG.InstalledOK = False Then
    4.     ' IJL15.DLL isn't installed. Wait! I have it in my resource file!
    5.     ' I'm going to write the Intel JPG handler in the Application's path
    6.     ' There's no need to put it in the system or system32 directory... it'll work here
    7.     b = -1
    8.     TargetDLL = App.Path
    9.     If Right(TargetDLL, 1) <> "\" Then TargetDLL = TargetDLL & "\"
    10.     TargetDLL = TargetDLL & "ijl15.dll"
    11.     b = FileLen(TargetDLL)
    12.     If b <= 0 Then
    13.         Dim a As Long
    14.         a = FreeFile
    15.         Open TargetDLL For Output As #a
    16.         Print #a, StrConv(LoadResData("INTEL_JPG", "CUSTOM"), vbUnicode);
    17.         Close #a
    18.         End If
    19.     End If
    20. End Sub

    But when i call the library as;
    VB Code:
    1. Public Function LoadJPG(ByRef cDib As cdibSection, ByVal sFile As String) As Boolean
    2. Dim tj As JPEG_CORE_PROPERTIES_VB
    3. Dim lR As Long
    4.  
    5.    lR = ijlInit(tj)
    6.    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

  2. #2
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    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

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jul 2006
    Posts
    118

    Re: Problem with IJL15.DLL

    Error in reading it skakti
    Sometimes you feel that you can not live without people

  4. #4
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Smile Re: Problem with IJL15.DLL

    Quote 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 ?

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Jul 2006
    Posts
    118

    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

  6. #6
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Thumbs up Re: Problem with IJL15.DLL

    Quote 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

  7. #7
    PowerPoster
    Join Date
    May 2006
    Posts
    2,988

    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
  •  



Click Here to Expand Forum to Full Width