chevron-thin-right
chevron-thin-left
brand
cancel-circle
search
youtube-icon
google-plus-icon
linkedin-icon
facebook-icon
twitter-icon
toolbox
download
check
linkedin
phone
twitter-old
google-plus
facebook
profile-male
chat
calendar
profile-male
Products
Isolator for C++
Isolate ++
Isolator for .NET
Suggest
Isolate
Smart Runner
Coverage – Part of Typemock Isolator Complete .NET
Isolator for Build Server
Download
C++
.NET
Pricing
Resources
Documentation
Isolator++
Isolator
Learning Center
Tutorials
Webinars
Articles
Case Studies
Partners
Blog
Support
C++ Community
.NET Community
Premium Support
Products
Isolator for C++
Isolate ++
Isolator for .NET
Suggest
Isolate
Smart Runner
Coverage – Part of Typemock Isolator Complete .NET
Isolator for Build Server
Download
C++
.NET
Pricing
Resources
Documentation
Isolator++
Isolator
Learning Center
Tutorials
Webinars
Articles
Case Studies
Partners
Blog
Support
C++ Community
.NET Community
Premium Support
Menu
Search
Remember
Register
Typemock Q&A
Ask a question
All Activity
Questions
Hot!
Unanswered
Tags
Users
Ask a Question
The Unit Testing Company
Development Resources
Knowledge Base
Welcome to Typemock Community! Here you can ask and receive answers from other community members. If you liked or disliked an answer or thread: react with an up- or downvote.
Related questions
InvalidCastException when passing fake to constructor
Fake global function with enum type argument? (Isolator++)
Error on ExpectAndReturn when passing table from dataset
ReSharper 5.0 Unit Test Runner Fails when Isolator Enabled
Mocking a private function in a base class, VB.NET
CString Output in Fake Fails When Passing Into Function
0
votes
auto pit = FAKE<P>();
CString busdate("20140902");
WHEN_CALLED(pit->GetBusDate()).ReturnPtr(&busdate);
auto testdate = pit->GetBusDate(); // Works fines
func( pit );
void func( const P* pit ){
auto testdate = pit->GetBusDate(); // Fails here
}
asked
Sep 3, 2014
by
things
Report User
(
680
points)
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
5
Answers
0
votes
Support has suggest that I try setting the environment variable "IPP_PDB_PATH" to C:Windowssymbolsdll.
It can also be done at the beginning of the test using winapi function like this:
SetEnvironmentVariable(L"IPP_PDB_PATH", L"C:\Windows\symbols\dll");
answered
Sep 9, 2014
by
things
Report User
(
680
points)
Please
log in
or
register
to add a comment.
0
votes
Not sure if the previous response worked for anybody, but I was finally able to resolve this by ensuring that the test project and CUT have the same character set. In VS, go to properties>configuration properties> character set
answered
Sep 9, 2014
by
things
Report User
(
680
points)
Please
log in
or
register
to add a comment.
0
votes
Thank you for the update :D
answered
Sep 10, 2014
by
alex
Report User
(
17k
points)
Please
log in
or
register
to add a comment.
0
votes
Hi all,
On each of the buildagents that I use (Windows Server 2012 R2 with TFS 2013 U2) I receive the following error when I try to run my TypeMock-enabled builds. Could someone indicate where to look for a possible solution? I am using the latest 7.5.6 version.
answered
Oct 28, 2014
by
saba
Report User
(
140
points)
Please
log in
or
register
to add a comment.
0
votes
Hi saba,
This is an I++ question, please reopen your question in .NET forum and add the error message.
answered
Oct 28, 2014
by
Bar
Report User
(
3.3k
points)
Please
log in
or
register
to add a comment.
...
×
Choose the product type:
WINDOWS
LINUX DEB
LINUX RMP
×