I currently I have a problem that when I run my code, it stops at an exception at line 3467 in the xstring system file. Here is a few screenshots of it:
.
I figured it had to do something to do with loading the file or the file is corrupted. Something is wrong with how it parses. Here is the link to my Github page. I used the tmxlite parser to load the file, here is also a link to the tmxlite Github page. Thanks so much! Sorry if this is a dumb question. I really have not programmed C++ for long, and done it without proper training. This is the tmx file link
I am so sorry for those who looked at this. It turns out I needed to edit my tmx files to include the tsx files and add the tsx files to the project. I am so sorry if I made anyone look for the answer when all I had to do was just use the resources in front of me. Thanks to underscore_d for telling me make it into a MCVE, leading me to find the answer. All this time... Sorry anyone whose time I wasted.
Related
I'm struggling with getting the Xbox Live sign-in working for my game. Everything else is ready to go and this is now the final blocker.
Looking at the MSDN documentation page - here, it looks like it should be trivial. However, I'm not using CX/CPP, merely CPP / winrt and therefore, I'd expect to use Microsoft.Xbox.Live.SDK.WinRT.UWP rather than Microsoft.Xbox.Live.Sdk.UWP.
In my project, I've added the link, but it's then not clear what I'm meant to do next. I was expecting to then have the C++ headers be created automatically but I can't see anything being built. Does anyone either:
Know the equivalent code to use to do sign in in the CPP/WinRT world?
Know that it can't be done / I should use a different approach?
Any help gratefully received. Apologies if this is Cpp/winrt 101. I've been using the templates from MS Blogs / Chuck W and so everything else has 'just worked' and so I'm probably missing something obvious.
Thanks
Steve
I've wanted to ask a few questions here before I post a bug report. (Also the lines between VSCode and Extension are blurred for me as I never know which to report the problem to)
Question #1: Is there a way for me to force breadcrumbs to update? Sometimes on a new file it is unable to find the C++ symbols contained in that file. Also if you were to change the location of the code by say tabbing it to the bottom the of page, VSCode breadcrumbs would send you to the old location. GIFS below:
Unable to find some C++ symbols:
Sending to old location: (I saved the document after moving the location which didn't help breadcrumbs)
Question #2: Do you have to enable symbol highlighting for breadcrumbs? What I am referring to is when I focus over a class it doesn't highlight the whole class just where it was declared.
Whats happening:
What I was expecting to happen:
Thank you for reading.
These are problems with the c++ tool's extensions implementation of the breadcrumbs feature. Please try filing issues against that extension.
Looks like this issue already tracks some of what you describe
Firstly, this might be duplicate question but due to time limitation, i couldn't search throughly. I wish to download a file that was uploaded using paperclip. My code to download is below:
def download_digital
#photo = Photo.find(params[:photo])
send_file #photo.image.path,
filename: #photo.image_file_name,
type: #photo.image_content_type,
disposition: 'attachment',
x_sendfile: true
puts "-----------Downloded----------"
end
When this is called, i get
Sent file /Users/c193/Documents/***/***/***/public/assets/photos/298/original/Wedding_2.jpeg (0.1ms)
-----------Downloaded----------
This makes it clear that the file is obtained. However, the file is not being actually downloaded. I dont know what i'm missing. I'm a newbie so any guidance will be helpful .
P.S: Also sorry for a duplicate question (in case; time limitation and no clue what to search). Thank You in advance.
I don't know if what is found the problem was actually is the problem but so far i have come to the conclusion that the use of ajax was what was creating an issue. In the console i got that the file is downloaded but it was not actually getting downloaded. I am posting a new question for the same. If anyone has an explanation for such behaviour, please post a comment regarding this. Thanx :)
This is related to the question I posted here, but I hadn't gotten much visibility for that question so I wanted to ask in a more general way. I have a Qt 4.7 project that utilizes QFtp functionality. Until very recently we were using this with an FTP server that was vsftpd. Everything worked fine with it then. However, several days ago we moved the server to a new computer. All the contents are identical, but now it uses pure-ftpd instead of vsftpd. Since the move, none of my QFtp code works properly. Is there any known problems that arise when trying to use QFtp with this type of FTP server? I can't find anything helpful online, and it's rather frustrating not being able to find anything wrong with the code and yet having it not work. If anyone knows anything about this and could please share, I'd appreciate it a lot. Thanks!
So I think I just figured something out... I had it run QFtp::list to go through the ftp and retrieve directories, then use list() again on those to retrieve the files in those subdirectories. Our subdirectories to get files out of had spaces in the name, eg "My Directory". Apparently, the vsftpd we were using before could handle this with no problem, but the pure-ftpd can't handle spaces in the directory names. When I switch it to something like "MyDirectory" or "My_Directory", the pure-ftpd works fine. I couldn't find anything online about this difference, but apparently it's there, because that fixed the issue I was having.
Actually I don't know if this question has already been answered because I don't know where is the "real" problem. Here is the context: I have C++ .NET code that I'm trying to port from MSVS2005 to MSVS2010, that is from .NET 2.0 to .NET 4.0. When entering in the method InitializeComponent() for one of the forms created at startup, I get a first-chance exception System.Resources.MissingManifestResourceException' occured in mscorlib.dll when calling resources->ApplyResources( this->MyControl, L"MyControl" ).
The additional information is:
Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "MyForm.resources" was correctly embedded or linked into assembly "MyAssembly" at compile time, or that all the satellite assemblies required are loadable and fully signed.
It worked perfectly when compiled with MSVS2005.
MSVS2010 converted all the solution automatically without problem.
The .resx files are there.
Since I have no clue about the source of the problem I cannot say more. I will be more than happy to give you more info if you try to help me.
Thanks in advance for your help.
Dominique
Make sure your resx file and the namespace of the component are the same.
I've seen it before where the resx gets compiled as SomeFoo.MyForm.resources where the form is in SomeFoo.Forms.MyForm
OK, Daniel's suggestion push me toward the solution.
I looked at the properties for the .resx files in the project. All files contained no "Resource Logical Name" buth the .resx and the .fr.resx files which where the ones that could be used on my computer.
I erased the entries for the virtual file names and everything works fine since then.
Thank you!