Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Create from Usage not working very well
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

tomkulaga
Senior Member

25 Posts

Posted - May 18 2015 :  5:36:06 PM  Show Profile  Reply with Quote
Using this as an example

m_pSwapChain1->Present1(0,0, m_newVarToCreate);

Now "m_newVarToCreate" does not yet exist, when i "Alt Shift C" to create from usage, it determines the type of "m_newVarToCreate" to be a bool, even though this functions takes a different data type for that parameter.

https://msdn.microsoft.com/en-us/library/windows/desktop/hh446797%28v=vs.85%29.aspx

Can it be made such that VA can determine from the function what type it should create?

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - May 18 2015 :  6:12:54 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clean description of the problem. We're planning to improve this at some point:

case=68153
Go to Top of Page

tomkulaga
Senior Member

25 Posts

Posted - May 18 2015 :  9:44:35 PM  Show Profile  Reply with Quote
Thanks very much.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000