skinframework error under vb6 using wininet.dll. |
Post Reply |
Author | |
zanoh
Newbie Joined: 09 April 2008 Location: Mexico Status: Offline Points: 5 |
Post Options
Thanks(0)
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. 20080409_201333_Error_SkinFrame.zip |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Think it will work with 12.0 release - I can't reproduce it.
Please download beta eval version (http://www.codejock.com/downloads) and check if it works.
Thanks.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
zanoh
Newbie Joined: 09 April 2008 Location: Mexico Status: Offline Points: 5 |
Post Options
Thanks(0)
|
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. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
What OS version do you have ? |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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 |
|
zanoh
Newbie Joined: 09 April 2008 Location: Mexico Status: Offline Points: 5 |
Post Options
Thanks(0)
|
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. |
|
zanoh
Newbie Joined: 09 April 2008 Location: Mexico Status: Offline Points: 5 |
Post Options
Thanks(0)
|
The attached file containt the screen shoot of the application when it fails and also the new example of the application failing.
20080411_204422_Desktop.zip |
|
zanoh
Newbie Joined: 09 April 2008 Location: Mexico Status: Offline Points: 5 |
Post Options
Thanks(0)
|
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 |
|
Baldur
Senior Member Joined: 22 November 2006 Location: Germany Status: Offline Points: 244 |
Post Options
Thanks(0)
|
Can you exclude wininet.dll from Skinning with ExcludeModule-Method ?
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |