Search:
Type: Posts; User: pdk5
Search:
Search took 0.03 seconds.
-
February 6th, 2022, 09:23 AM
sorry it was my mistake, they also defined new class in the m_pCurrentService also.. it looks like something wrong in design (it is there in two places)..getting updated one place..accessed somewhere...
-
February 6th, 2022, 09:04 AM
Thanks a lot kaud, for looking into this and helping me
Yes, it is reference (its legacy code)
FiveGServiceParams& TGService::Get5gParams()
{
return m_5gParams;
}
-
February 6th, 2022, 07:13 AM
Hello,
I have a function:
void FiveGServiceGeneralPage::SaveValues()
{
FiveGServiceParams& fivegParams = m_pCurrentService->Get5gParams();
-
January 17th, 2022, 11:59 AM
Thanks a lot kaud, there was function i could call to get the output array. And that i passed and now it works ok !!.
-
January 17th, 2022, 06:38 AM
thanks a lot kaud. But the function im calling (RenderNewSimOutput) is legacy
in my case, iOutIndex will just be "0", as its just one pixel
bool...
-
January 17th, 2022, 06:22 AM
i.e true, because output can be int or float..
if out is int, rfp.piOut is used
if float rfp.pfOut is used
in our case it is float..(not array)
-
January 17th, 2022, 05:58 AM
Thanks a lot kaud..
Im seeing somewhere else in legacy code, (for getting int value)
int iVal = 0;
OnePixel<int> iraster(&iVal);
RenderFuncParams rfp;...
-
January 17th, 2022, 04:51 AM
Thanks a lot kaud. Yes, i will check with my collegues about this.
But now, Im facing issue further on: somehow, the passed reinterpret cast pointer is not able to be written
Actually, i am...
-
January 15th, 2022, 05:54 AM
Thankyou very much kaud !!!. Yes it compiled like magic :)
I was some short break and now back to work and i feel like i have forgotten little bit c++ i knew..
thanks a lot again.. i am sorry...
-
January 15th, 2022, 04:26 AM
Hello.
I have another circular dependency issue, so was trying to handle by changing the variable access, to pointer type.
But the pointer is for templated class.
Basically i had
...
-
January 6th, 2022, 03:43 AM
Thankyou very much kaud. As per your advice i have used optional now
(sorry for the delay response,)
-
January 2nd, 2022, 02:40 PM
May be otherway is pass it function param as reference and return a bool (to tell if its valid )!!!
-
January 2nd, 2022, 02:39 PM
@Victor thanks a lot for the response.
Yes, i.e what was discussed during design. It makes it easier, to check if it is valid, by checking if its null_ptr !
Also makes it consistent with the...
-
January 2nd, 2022, 11:28 AM
Thanks a lot kaud. I think most probably this issue is now resolved :) . I had included "simulator.h" in the FWAInfo.h. As I had moved all function definitions, into the .cpp, I could remove that .h....
-
January 1st, 2022, 01:45 PM
Hi Kaud,
Sorry i didnot have time to look further into this issue. Just to simplify the issue
I have added a new file called FWAInfo.h which has two classes: FWAPoint and CFWAInfo
Now in the...
-
December 26th, 2021, 06:06 AM
Thanks a lot kaud. Btw, I created the FWA.cpp and moved most of functions there. Now this issue is resolved.
But it would be helpful, if we have any tools to show the inclusion order .. (when the...
-
December 26th, 2021, 04:21 AM
Thanks a lot Victor and kaud.
Actually, that function i was adding was not used as of now (so commented out) and moved on. But now facing similar issue.
I never had this kind of file inclusion...
-
December 24th, 2021, 06:52 AM
Hello,
I added a new class in the c++ header file and included in existing file. And it works ok, as expected :).
I also have #pragma once in the new header file.
Now I want to include in...
-
June 11th, 2021, 02:50 AM
I dont have any documents regarding this, so need to go through this and find out whats happening.
and i was thinking, if they had used vectors it would have been implemented.
-
June 10th, 2021, 12:00 PM
Hello,
Im trying to understand the following legacy code:
Not sure why the following array indexing is made so complicated.
Could some experts explain help me understand the logic behind
...
-
Just to add some more inputs, when googling i found the following articles: (Not explored them yet). May be if anybody knows about these articles, will be helpful to post here:...
-
Thankyou Victor for looking into this. As of now I have not tried to redirect. But i can try and update.
-
Hello,
As you already helped me to plot a chart in python calling it in c++.
the current output is into the console.
Now I want to explore the option of moving the output plot into MFC window...
-
Hello,
First of all thanks a lot for this forum, for helping me . Very helpful and much appreciated.
Just to keep my progress updated, now I can pass the array from c++ to python and plot.
...
-
Thanks Arjay, yes I remember i had to debug one module in our project sometime back due to historical reasons. It can still be debugged, except some variables maynot be visible being optimised.
...
|
Click Here to Expand Forum to Full Width
|