SS3D2.VBX And Win95 GPF

SS3D2.VBX And Win95 GPF

Running applications written in VB3 in the WIN95 OS is not always aclean conversion. This code would work fine in Windows for Workgroups 3.11,but would GPF in WIN95. SS3D2.VBX, which is from Sheridan Software andcontains SSCombo and SSList, among others. I got a GPF crash from Win95when I placed the SSCombo on top of the SSIDXTAB.VBX upon exit. The workaroundis to type in the Form_Unload event:

 Dim rc as integerrc = setparent(sscombo1.hwnd, form1.hwnd)

The workaround makes the combo a child of the form, not of the indextab, during the unload. In addition to, add in the General Declarations:

 Declare Function Setparent Lib "User.exe" _	(Byval hwndchild as integer, byval _	hwndparent as integer) as integer. 
See also  5 Strategies for Supercharging Your CRM

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist