Salem 5,248 Posting Sage

It should be obvious by now from their posting history that the OP is a troll.

Salem 5,248 Posting Sage

Given who owns github (M$), and their location (U$A), I wouldn't trust anything commercially sensitive with them.

Why do you even need it, apart from the simple convenience of it all (that's the trap, make the honeypot sweet enough, plenty will arrive). There's not much there that can't be replicated on a server machine you physically control.

How many people have commit rights on your codebase?
Every contributor has a complete copy of the entire git repo. So even if you lost everything, you can sync with any of your peers and be back up and running to the point of your last push.

Salem 5,248 Posting Sage

And who's head is in the noose when you mess things up with my enterprise account?

Like for example, bad software gets signed with my key, or your "company" is in an embargoed jurisdiction?

If you need it, buy your own.

Salem 5,248 Posting Sage
Salem 5,248 Posting Sage
Salem 5,248 Posting Sage

@Mr.M, @Dani - you might want to delete/censor the IMEI shown in the screenshots at some point.

rproffitt commented: Is that a real issue? Example: https://www.reddit.com/r/AndroidQuestions/comments/19dwye3/accidentally_posted_pictures_of_imei_number/ +0
Salem 5,248 Posting Sage

https://www.php.net/manual/en/mysqli.select-db.php

I think the key word in all of this is "default".

You can probably do what you want, but you have to refer to each DB by it's own handle.

Using select_db is fine, if you only have one DB and you want to be lazy about referring to it.
So you make it the default DB.

But as soon as you have more than one DB, then forget about select_db and just be explicit about which DB you really want at each transaction.

Salem 5,248 Posting Sage

Your chrome is 9+ months out of date.
https://chromereleases.googleblog.com/2024/07/

rproffitt commented: Thanks for this. +0
Salem 5,248 Posting Sage

Back to the guessing games....

https://learn.microsoft.com/en-us/cpp/extensions/string-cpp-component-extensions?view=msvc-170
Lists 3 different namespaces where things called 'String' are present.

using namespace Platform;
using namespace default;
using namespace System;

Or maybe you have your own String implementation, who knows (we don't).

What version of the compiler are you using?

As a test, does this compile without error?
String^ pcname("Barney");

rproffitt commented: Not OP but tag tells c++ but not which one or code shown. I have also run into VC++ 1.5 users that I can't help with. +17
Salem 5,248 Posting Sage

Cannot convert parameter 1 from char[16] to system::String ^

You need to convert your char array to a CLI string in the first instance, before trying to pass it onto some other function expecting a CLI string.
https://learn.microsoft.com/en-us/cpp/extensions/string-cpp-component-extensions?view=msvc-170

I don't know why DaniWeb keep on crashing whenever I try to write

On my phone (in two different browsers), the thing in the rounded square is the number of open tabs.

Maybe you have an enormous number of tabs open, and you just ran out of memory.

Salem 5,248 Posting Sage

How about engaging with the responders on your other thread with basically the same topic?

https://www.daniweb.com/programming/web-development/threads/543080/how-to-implement-lazy-loading-for-faster-web-portals

Salem 5,248 Posting Sage

Use threads - lot's of threads.

Reverend Jim commented: Hah +15
Salem 5,248 Posting Sage

But because the car was made in the US I had to enter the price per US gallon whereas our gas is sold by the litre.

I'd wager the software wasn't, and the software is the same regardless of locale.

<disclaimer>
Do the same youtube "tutorials" also tell you how to do a factory reset?
A lot of tech (phones, computers etc) all start with "choose your language" then "choose your location" after a factory reset.

Or it might brick it, and you need to configure 100's of EMS settings to make the engine compliant with the market you're in.
</disclaimer>

TBH, it sounds like an annoying gimmick that isn't worth the time of day to try, let alone fix.

Reverend Jim commented: There is a button to toggle between metric and imperial but it affects only the speedometer. +0
Salem 5,248 Posting Sage

I'd rather have a phone that can make calls, texts and take UNALTERED BY AI photos.

How long before AI eff's up some key witness photo, resulting in the guilty going free or the innocent jailed?

rproffitt commented: That was the plan all along. +17
Salem 5,248 Posting Sage

Firstly, I'd suggest you edit your post to remove your real email address from the code.

https://www.php.net/manual/en/function.mail.php

Some things to try.

  1. Headers is an optional parameter, can you send without the headers parameter? Many examples I've seen suggest there should be a space after the :, as in 'From: '
  2. Sanitise your subject and/or message. You can't in general feed whatever was typed into your dialog directly into mail.

Does a very simple inline code work?
mail('my@my.address.com','Testing...','1 2 3');

Salem 5,248 Posting Sage

Guidance?

Maybe you should read your topic and post before pressing submit. That would be a starting point.

Salem 5,248 Posting Sage

For someone claiming to be an "SEO Executive", you seem remarkably inept at doing even the most basic web search.

https://duckduckgo.com/?t=ffab&q=blockchain+MVP

But then again, most of your posts look like bait for spam.

Salem 5,248 Posting Sage

But it's also in everyone's interest for AI to be trained on reliable information, if we want AI to be useful to us

Yeah, that ship slipped it's mooring when facebook appeared, drifted out to sea on the twitter tide, and promptly sank when muck took it over.

Domain specific AI's trained on the likes of https://arxiv.org/ might be worth something.

The garbage on social media just needs to be left to rot.

Salem 5,248 Posting Sage

my hard disk has been damaged, and entire project has been collapsed.

Did the disk just "stop working" one day, or has it been rotting slowly over time?
Or does "damaged" mean "I deleted the source folder". If that happened yesterday, you might have a chance. If that was months ago, most of it is probably lost for good.

In any event, the important thing is to stop using the disk immediately, and consult with the data recovery service offered by your HD manufacturer, or other well-regarded service in your area. This will not be a cheap option.

I have exe back up file to run this project and working well

I'm going to assume you're working in a business environment, where your time had a direct $ cost to the business.

Maybe a tool like this can help https://www.vb-decompiler.org/
You will not get back your source code in a form you can directly recompile. But it seems you should be able to recover a useful amount. There's a demo version to try first, so could be worth checking out.

How long would it take you to rewrite the program from scratch?
Say you cost the business $40/hr (that's a low in the west by the way). The $1600 price of the above tool is basically a week of your time.
So if a rewrite were to take "months", but having the above tool would save you at least a couple of weeks, it might …

Syed Zubair Ali commented: best, +0
Salem 5,248 Posting Sage
Reverend Jim commented: Different IP addresses, surprisingly. +0
Salem 5,248 Posting Sage

Why don't skeletons go to parties?

Because they have nobody to go with.

Salem 5,248 Posting Sage

You can do this with xargs

find . -name "*.c" | xargs -d'\n' grep -w "main"

Or if you know you want to search the same set of files many times.

find . -name "*.c" > tmp.txt
xargs --arg-file=tmp.txt grep -w "main"
xargs --arg-file=tmp.txt grep -w "void"
Lihui Zhang commented: Thank you for your improvement plan. Using xargs avoids repeatedly loading grep and running it, thus improving efficiency. +0
Salem 5,248 Posting Sage

The past, present and future walk into a bar.

It was a tense moment.

MasoodDidThat commented: Good one !! +0
Salem 5,248 Posting Sage

There are 10 kinds of people in the world.

Those that know binary, and those that don't.

Salem 5,248 Posting Sage
Salem 5,248 Posting Sage

Your app always needs to "phone home" to query the actual member status with your server.

Otherwise, someone could log in twice, delete their account in one session and merrily carry on using their 'account' in the other session.

Sure, you could use the cached version if the user is just browsing, but as soon as they attempt some 'membership required' step, you need to verify membership at that point.

Salem 5,248 Posting Sage

How big is each record?

If it's like say a customer record with maybe a dozen fields and taking up several hundred bytes of space, adding a single 32-bit timestamp isn't going to impact you.

https://en.wikipedia.org/wiki/Entity%E2%80%93relationship_model
Draw one of these for your database schema then consider which of the perimeter tables would benefit from a timestamp.

cored0mp commented: Thanks you are right again, Salem! I answered below. +2
Salem 5,248 Posting Sage

error LNK2020: unresolved token (0A0000DF) "unsigned short MyprojectName::m_hservice"

Did you add Form1.cpp to the project?

Mr.M commented: How? +8
Salem 5,248 Posting Sage

Well you still need to include Form1.h in Form1.cpp

Also, Form1.h will need changing as follows

extern DWORD m_dwRVersion;
extern HRESULT m_hr;
extern WFSVERSION m_version;
extern HSERVICE m_hservice;
extern HWND m_handleWind;
extern LPWFSRESULT m_result;
Salem 5,248 Posting Sage

Anyone who knows how I can solve this problem?

The short answer is don't put code in header files.

Declarations go in header files, definitions go in source files.

You get away with it in small projects where you only have one source file, and each header is included exactly once.

But as soon as it gets a bit more complicated, the idea falls apart.