Print Page | Close Window

skinframework error under vb6 using wininet.dll.

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=10167
Printed Date: 20 June 2024 at 8:25am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: skinframework error under vb6 using wininet.dll.
Posted By: zanoh
Subject: skinframework error under vb6 using wininet.dll.
Date Posted: 09 April 2008 at 8:14pm
Hi,
skinframework error under vb6 using wininet.dll.

It only fails after compile.

I have an application that crash 35% of the time when I try to connect with the wininet.dll apis. this happend only under .exe and not when it run from the vb6 interface.

example code.

    If hConnection <> 0 Then
        InternetCloseHandle hConnection
    End If
'never fails here.
    hOpen = InternetOpen("My VB Test", 0, vbNullString, vbNullString, 0)
'here is where it crash.
    hConnection = InternetConnect(hOpen, "ftp.microsoft.com", 0, _
    "anonymous", "user@domain.com", 1, 0, 0)
    If hConnection = 0 Then
        Debug.Print "Error in connection " & DisplayError(Err.LastDllError)
        Exit Sub
    Else
    End
        MsgBox "Connected!", , "SimpleFtp"
        Option3.Enabled = False
        Option4.Enabled = False
    End If

the attached file contain the full degub code under vb6.

uploads/20080409_201333_Error_SkinFrame.zip - 20080409_201333_Error_SkinFrame.zip



Replies:
Posted By: Oleg
Date Posted: 10 April 2008 at 1:37am
Hi,
 
Think it will work with 12.0 release - I can't reproduce it.
Please download beta eval version ( http://www.codejock.com/downloads - http://www.codejock.com/downloads ) and check if it works.
 
Thanks.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: zanoh
Date Posted: 10 April 2008 at 2:11pm
We already try the demo version but still does not work, did you try a few times the "connect" boton?.

Also a good way to make it fail is running the application and as soon as it open press the "enter" key.

Just try 5 or 10 times and you will se the error.

Please let me know if there is any suggest.



Posted By: Oleg
Date Posted: 11 April 2008 at 1:10am

What OS version do you have ?



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Oleg
Date Posted: 11 April 2008 at 1:25am
What do see when it crash?
 
Maybe problem in "End" statement you have that just close application?
try to comment it:
 
 
 If hConnection = 0 Then
        Debug.Print "Error in connection " & DisplayError(Err.LastDllError)
        Exit Sub
    Else 
        MsgBox "Connected!", , "SimpleFtp" 
    End If


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: zanoh
Date Posted: 11 April 2008 at 2:59pm
The "end" was just for fast close the application and be able to open it again and continue degub until it crash.

It crash under any windows version 2K,XP, Vista. I will upload a new application this afternoon so it will be easy to apreciate the error.

Also I will post the crash screen.


Posted By: zanoh
Date Posted: 11 April 2008 at 8:45pm
The attached file containt the screen shoot of the application when it fails and also the new example of the application failing.


uploads/20080411_204422_Desktop.zip - 20080411_204422_Desktop.zip


Posted By: zanoh
Date Posted: 11 April 2008 at 10:40pm
This is the windows vista reports. does not include to much information but at least it detect that the codejock ocx fails.

Please let me know if you want we run an specific tool on my computer.

Product
SkinControls

Problem
Stopped working

Date
4/11/2008 8:35 PM

Status
Not Reported

Problem signature
Problem Event Name:     APPCRASH
Application Name:     SkinControls.exe
Application Version:     11.2.0.1
Application Timestamp:     48001d56
Fault Module Name:     CODEJO~2.OCX
Fault Module Version:     11.2.2.0
Fault Module Timestamp:     475fba83
Exception Code:     c0000005
Exception Offset:     0002132b
OS Version:     6.0.6001.2.1.0.768.3
Locale ID:     1033
Additional Information 1:     b9cc
Additional Information 2:     c7acaa0df42edd251f16fbc7fa98e32f
Additional Information 3:     6ad6
Additional Information 4:     18d3b4d01983fc2046ad89584d16a195



Posted By: Baldur
Date Posted: 27 June 2008 at 12:54pm
Can you exclude wininet.dll from Skinning with ExcludeModule-Method ?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net