Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Skin Framework
  New Posts New Posts RSS Feed - skinframework error under vb6 using wininet.dll.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

skinframework error under vb6 using wininet.dll.

 Post Reply Post Reply
Author
Message
zanoh View Drop Down
Newbie
Newbie


Joined: 09 April 2008
Location: Mexico
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote zanoh Quote  Post ReplyReply Direct Link To This Post Topic: skinframework error under vb6 using wininet.dll.
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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) and check if it works.
 
Thanks.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
zanoh View Drop Down
Newbie
Newbie


Joined: 09 April 2008
Location: Mexico
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote zanoh Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 11 April 2008 at 1:10am

What OS version do you have ?

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
zanoh View Drop Down
Newbie
Newbie


Joined: 09 April 2008
Location: Mexico
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote zanoh Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
zanoh View Drop Down
Newbie
Newbie


Joined: 09 April 2008
Location: Mexico
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote zanoh Quote  Post ReplyReply Direct Link To This Post 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.


20080411_204422_Desktop.zip
Back to Top
zanoh View Drop Down
Newbie
Newbie


Joined: 09 April 2008
Location: Mexico
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote zanoh Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
Baldur View Drop Down
Senior Member
Senior Member


Joined: 22 November 2006
Location: Germany
Status: Offline
Points: 244
Post Options Post Options   Thanks (0) Thanks(0)   Quote Baldur Quote  Post ReplyReply Direct Link To This Post Posted: 27 June 2008 at 12:54pm
Can you exclude wininet.dll from Skinning with ExcludeModule-Method ?
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.