Quantcast
Browsing all 40 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Error: A dynamic link library (DLL) initialization routine failed on electron...

I'm trying to load a custom module in electron written in D with node_dlang package, which is fine with node, but it fails within electron.the test with node, that runs just fine, goes like this:const...

View Article


show navigation buttons only on mouse over

I'm tring to do that with CSS but it isn't working. I've tried using:.swiper-button-prev { display: none;}.swiper-button-prev:hover { display: block;}but it doesn't effect at all. if I do add some rule...

View Article


Why can't I use the component directly?

I'm trying to use my component within SwiperSlide: using this directly inside it does work:<Swiper><SwiperSlide><img src="https://swiperjs.com/demos/images/nature-1.jpg"...

View Article

Why is this application being closed?

Does handling signals make the application close in anyway? my goal is to do some action when time run out but get stuck in the loop, until the user enter q or EOF is found but for some reason as soon...

View Article

Image may be NSFW.
Clik here to view.

what's the proper way to make openALPR to read plates in different angles?

I'm using openALPR library to read plate licenses but I'm having issues reading the plates in different angles, like below image. My question is: what's the proper way to do that? Image processing to...

View Article


detect change on navigator.online

How can I detect if the navigator changed your state to online/offline?something like: var oldState = navigator.onLine; window.navigator.onlinechange = function(evnt,newState) { alert('your changed...

View Article

How to know the end of int* array?

I'm making a dynamic array with int* data type using malloc(). But the problems is, how to know end of array?There no an equivalent to \0 for int* data type,so, how to do this? Pass size as out...

View Article

How to put a widget into any column inside a grid?

I'm writing by hand an application that use Gtk+. I'm using a GtkGrid to hold my GtkWidgets, but I can't put a GtkWidget into specific colum, as the second parameter of gtk_grid_attach() function says....

View Article


I can't rename filename in VS

I have a file called Default2.aspx that I'm trying rename to Default.aspx, but when I try to do it, the visual studio just rename back to Default2.aspx name. Don't give even any error message. I don't...

View Article


Cannot find namespace 'System.Data.SqlServerCe'

I did include the System.Data.SqlServerCe dll, put using System.Data.SqlServerCe; in my code, but when I open the .NET page I get: The type or namespace name 'SqlServerCe' does not exist in the...

View Article

what is best way to sort lines in RichTextBox

I'm looking for the best way to sort lines of RichTextBox, I'm using this at moment:public void SortLines(object sender, EventArgs e){ TextPointer pStart = TextInput.Document.ContentStart; TextPointer...

View Article

How do I run clean from qmake?

How do I run clean (as right click on my project name -> clean) from qmake? Is a binary utility that does the clean? I'd like to run this on release, somethig like:CONFIG(release, debug|release):...

View Article

How do I "save and restore" the context of a xterm.js instance?

In my electron application, I have an xterm.js terminal emulator, in one of my react tabs. How do I preserve the state of this terminal so that when the use go out and back the text, cursor position...

View Article


How to list all contacts of email without the Oauth API?

I'm looking for an example code how to list all contacts of gmail using C#.NET and one API.I need do it fast and no complications as using the Oauth API. The OAuth API is my last alternative.

View Article

error: pasting "." and "red" does not give a valid preprocessing token

I'm implementing The X macro, but I have a problem with a simple macro expansion. This macro (see below) is used into several macros usage examples, by including in this article. The compiler gives an...

View Article


How to remove warning: link.res contains output sections; did you forget -T?

I'm using fpc compiler and I want to remove this warning. I've read fpc's options but I can't find how to do that. Is this possible?it appear when I run command:fpc foo.pasout:Target OS: Linux for i386...

View Article

How to get Adobe Reader full path(including executable file name)?

it's possible? I need to get the full path of Adobe Reader including the executable name. I'm looking for on windows registries, the closer that I did was found the full path without executable name....

View Article


How to change the compiler of VS?

I'm using VS 2010. I have changed the settings for compiler C code instead of C++. It works fine, but the problem is MS compilers don't supports C99 standard, for this reason I'm looking for a C...

View Article

How do I get the current selected item in the TreeView from the context menu?

I need to add a Context Menu to my TreeWiew. I managed to do this with this mui.com's Menu but I don't know how to get the selected item in the tree where the user did the right click to open the...

View Article

How to the compiler translate while(foo)?

If I omit the operators from statement, something like this: while(foo) will the compiler turn it in while(foo != NULL || *foo != '\0' || foo != 0) or while(!foo) or something like this? how to it is...

View Article
Browsing all 40 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>