Welcome
Welcome to ctl32

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, <a href="/profile.php?mode=register">join our community today</a>!

toolinfo error

ctl32 related questions

toolinfo error

Postby rkaye on 06 Aug 2009, 15:28

HI Carlos,

I've just started to try out these classes and had successfully implemented the balloon tip in several of my forms using the original "production" release. Today I updated to the latest release version from the site and something has now broken for me. When the balloon tip class is instantiated, I am getting an error 43 when it attempts to add the oToolInfo object. Can you offer any guidance?

Thanks,

rk
rkaye
 
Posts: 4
Joined: 06 Aug 2009, 15:17

Re: toolinfo error

Postby rkaye on 06 Aug 2009, 19:43

Hi Carlos,

I reverted to the prior version and it works. I was able to determine that the older version uses different code for the protected AllocMem function. The version that works has this:

Return apiHeapAlloc(apiGetProcessHeap(), HEAP_ZERO_MEMORY, m.pnLength)

The version that fails on me returns a 0, which results in the AddObject failing. The AllocMem method appears to be commented out in the latest version of ctl32_structures.prg. I hope this is helpful.
rkaye
 
Posts: 4
Joined: 06 Aug 2009, 15:17

Re: toolinfo error

Postby rkaye on 05 Oct 2009, 09:09

Hi Carlos,

I saw your message this morning. Welcome back.

I've basically worked out my problem which came down to making sure I was using the correct version of everything. I will say that the order that libraries and procedures are loaded is critical. In particular, the handling (or mishandling) of the vfp2c32.fll (not your code, I know) can cause all kinds of C5 fun. Having said that, I've got things relatively stable in my production environment.
rkaye
 
Posts: 4
Joined: 06 Aug 2009, 15:17


Return to ctl32 general

Who is online

Users browsing this forum: No registered users and 0 guests