Issue with CreateControl after migration a workspace which was in VC6 to VS2010
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
We have migrated our workspace from VC6.0 to VS2010. There is a CreateControl api which is returning 0 after converting to VS2010. Before conversion this was working fine. What could be the reason for failure.
V K 2 wrote:
What could be the reason for failure.
At a guess, there is a bug in your code. Assuming you mean this function[^] then you can use your debugger to see what is happening. You could also check the value of
GetLastError()
on failures.Binding 100,000 items to a list box can be just silly regardless of what pattern you are following. Jeremy Likness