rproffitt 2,706 https://5calls.org Moderator

Again, while the SYNTAX may appear correct I find myself in Visual Studio setting a debgu break on the LOC and examining the variables.
OR printing the variables to a debug output.

You might be trying to avoid checking that.

WHY IT MATTERS. Because during execution some of the variables are results from prior calls. If a prior call returned say a NULL then execution could contine until it hit this specific LOC. LOC = Line Of Code.

Also you have to other issue of an outdated Visual Studio. I could not find documentation on this so it's best at this point to file a ticket.

BONUS: My current VS is 2022 Pro which I picked off Woot for 50 USD. I find my time is worth keeping that current.

Mr.M 123 Future Programmers

I've recreated a new project and it now doing the same thing. I will have to try creating it on a different pc just to see if the issue is with my pc or.

Sagar_panchal 0 Newbie Poster

Hi everyone,

I recently switched my app from a paid-only model to a free trial in order to encourage more installs. The app provides features like AI lead quality scoring, quote-to-order conversion, BI dashboard, and customer chat – mainly focused on helping merchants better manage quote requests.

However, even after offering a free trial and running Shopify App Store PPC campaigns, I'm still not seeing the expected increase in installs or engagement. It’s been difficult to identify whether the issue is technical (e.g., listing optimization, app performance) or more related to marketing/discovery.

A few questions I’m hoping to get input on:
Could the earlier paid-only model have impacted my app’s ranking or visibility even after switching to free trial?
Are there known technical factors (e.g., metadata, listing structure, reviews, etc.) that might hinder discovery on the App Store?
Has anyone had success with third-party marketing channels (outside of Shopify PPC) for re-engaging past users or reaching new ones?
Any tips on what early indicators I should track to troubleshoot app store performance?
I'm open to constructive feedback and insights from other developers or partners who’ve faced similar challenges. If this isn't the right category for this question, I apologize and would appreciate being pointed in the right direction.

Thanks in advance!

Inamullah_1 -4 Newbie Poster

Great tutorial—thanks for sharing! Just a few quick additions: Starting with Android 13 (API 33), apps must request permission for POST_NOTIFICATIONS at runtime, while older versions allow notifications by default. It’s best to check the Android version before requesting this permission to avoid unnecessary prompts. Also, remember to handle the result in onRequestPermissionsResult() and inform users if permission is denied. Don’t forget to create a notification channel (for Android 8+) before showing notifications—otherwise, they won’t appear. For better UX, request permission only when notifications are actually needed, not at app launch. If the user has been denied permanent authorisation, you can guide them to the app settings using an intent. Thanks again—beneficial content!

Salem commented: beneficial content! - unlike this AI resummary garbage -4
rproffitt 2,706 https://5calls.org Moderator

For clarity. By "correct" you would be printing those variables to the debug output and not just looking at the syntax. If you only look at the LOC then that's a sin tax.

rproffitt 2,706 https://5calls.org Moderator

Remember I can't check that your declarations are correct for the variables you are passing.

-> File a ticket to their support.

Mr.M 123 Future Programmers

I've checked even with the NCR document it's correct. Page 57 of the document you are referring to has just one code on my end

rproffitt 2,706 https://5calls.org Moderator

I'm checking page 57 of https://www.cencenelec.eu/media/CEN-CENELEC/AreasOfWork/CEN%20sectors/Digital%20Society/CWA%20Download%20Area/XFS/16926-1.pdf

Your next tasks are to verify each of the passed parameters are valid.

Mr.M 123 Future Programmers

This is very strange, if I change this code hResult = WFSExecute( hService, WFS_CMD_CDM_DISPENSE, &tDispense, TWO_MINUTES, &lpResult);

To hResult = 0;// WFSExecute( hService, WFS_CMD_CDM_DISPENSE, &tDispense, TWO_MINUTES, &lpResult);

The project does run successful but if I remove 0;// the errors are returned which the first one says missing) before ; but it is there, if I add it again it return 103 errors and complain of the ) that I've added.

Mr.M 123 Future Programmers

I've checked every line but still, I even commented out the entire code but the problem still persist.

What I've just noticed is that when I connect my laptop to an internet connection once Avast AV shows on screen then this error comes.

I have to restart the entire computer and disconnect it from the internet then it will run proper.

rproffitt commented: Stranger things. That's a new one on me that a COMPILE fails if the Internet is connected! +17
natashasturrock 0 Newbie Poster Banned

Hey! You’re on the right path — I’ve done this in a few custom .NET development projects using ASP.NET Core with SQL Server. The idea of using a web service to handle login and registration is solid and keeps things clean.

Here’s what usually works:

Create a stored procedure in SQL Server that takes the email and password as parameters, hashes the password, and checks for a match in the Users table.

In your ASP.NET Core API, create a POST endpoint that calls this stored procedure using SqlCommand.

The API should return a success response if a matching user is found, or an unauthorized message if not.

I recommend hashing passwords with SHA-256 at minimum, or better, use salted hashes with something like PBKDF2 or bcrypt.

If you want, I can send over a simple registration flow too — just let me know!

usmanmalik57 12 Junior Poster in Training

OpenAI and Anthropic are two AI giants delivering state-of-the-art large language models for various tasks. In a previous article, I compared OpenAI GPT-4o and Anthropic Claude 3.5 sonnet models for text classification tasks. That article was published almost a year ago. Since then, both OpenAI and Anthropic have released state-of-the-art models in o3 and Claude 4 opus, respectively.

In this article, I compare the performance of OpenAI o3 and Claude 4 opus for zero-shot text classification and summarization tasks.

So, let's begin without ado.

Installing and Importing Required Libraries

The following script installs OpenAI and Anthropic Python libraries along with the other modules required to run codes in this article.

!pip install anthropic
!pip install openai
!pip install rouge-score
!pip install --upgrade openpyxl
!pip install pandas openpyxl

The script below imports the required libraries.

import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
from itertools import combinations
from collections import Counter
from sklearn.metrics import hamming_loss, accuracy_score
from rouge_score import rouge_scorer
import anthropic
from openai import OpenAI

from google.colab import userdata
OPENAI_API_KEY = userdata.get('OPENAI_API_KEY')
ANTHROPIC_API_KEY = userdata.get('ANTHROPIC_API_KEY')
Text Classification Comparison

Let's first compare o3 and Claude 4 opus for text classification. We will predict the sentiment of tweets in the Twitter US Airline dataset from Kaggle.

The following script imports the dataset into a Pandas dataframe.

## Dataset download link
## https://www.kaggle.com/datasets/crowdflower/twitter-airline-sentiment?select=Tweets.csv

dataset = pd.read_csv(r"/content/Tweets.csv")
print(dataset.shape)
dataset.head()

Output:

img1.png

The text column contains a tweet's text, while the airline_sentiment column …

Mr.M 123 Future Programmers

I've managed to find the problem but I don't know how to fix this because what it complains with is there.

error c2143: syntax error : missing ')' before ';'

Here's the code it's points to.

hResult = WFSExecute( hService, WFS_CMD_CDM_DISPENSE, &tDispense, TWO_MINUTES, &lpResult);

rproffitt commented: A missing ) or ; could be on a preceding line +17
WendyDolan -2 Newbie Poster

hey I’m actually exploring something similar with ASP.NET and user validation, though i am on a newer version. but the core idea should be the same using a web service to handle login and registration logic sounds super practical. would also love to see an example if anyone has a simple one to share, especially using SQL Server with stored procedures maybe?

Reverend Jim 5,259 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

I have to say that I have had both terrible and outstanding results from MS support techs. It all depends on who you get.

rproffitt commented: Microsoft doctor said "Did you turn it off and on again?" +17
rproffitt 2,706 https://5calls.org Moderator

Wrong person to ask. But it was 2 decades ago and Microsoft's support was nothing better than "did you turn it off and on again?"
This on a ERP deployment and frankly a failure in my view because it increased the amount of time we spent on the project.
Not to mention downtime as we waited for fixes and server responses times in the minutes per transaction.

Because of that experience I go "Meh" when a company has that badge.

Mason_8 0 Newbie Poster

I've been reading about the Microsoft Solutions Partner program and wanted to ask the community is it actually worth pursuing for an IT company

It looks like Microsoft has set certain performance and certification requirements that companies need to meet in order to qualify. They have categories like Infrastructure, Data & AI, Business Applications, and more.

Some people say it's just a marketing badge. Others claim it offers real benefits such as early access to Microsoft tools, better technical support, and more trust from clients.

I'd like to hear from others here:

Have you worked with or for a Microsoft Solutions Partner?

Did it make a noticeable difference in project delivery or customer experience?

WendyDolan -2 Newbie Poster

This is something I’ve been wondering about too. The wording around “applicable” s-maxage overriding stale-if-error is kinda vague. From what I’ve seen, s-maxage just sets how long a shared cache (like a CDN or proxy) can consider the response fresh — so I think if the resource is still within s-maxage, then stale-if-error wouldn’t even kick in, right?

But yeah, if s-maxage expires and stale-if-error is set, I’d expect the CDN to serve the stale copy if there’s an error upstream… unless that’s what they mean by it being “overridden”? idk it’s definitely not super clear.

Would love if someone with real-world experience on this with Cloudflare could chime in — does CF actually respect stale-if-error once s-maxage has passed and Always Online is disabled?

Dani 4,675 The Queen of DaniWeb Administrator Featured Poster Premium Member

The trick with AI is to give it very short bits of code to write at a time. If you ask it to write an entire mini-program that does X, it inevitably gets quite a few bits wrong, left out, etc. But if you ask it to write pseudocode first, and then for each individual method/function call, you carefully explain what you want it to do, what parameters should be passed in and out, and what should be processed, then it is able to follow clear instructions and save you time writing it yourself. It’s honestly all about the prompts.

rproffitt 2,706 https://5calls.org Moderator

Given the antipathy towards AI here, all I can share is if you put "i want to add Crosshair , a vertical and horizontal line to view the value of the axis
is this available for charts in vb.net 2017." into a chatgpt session, you'll find a solution in about 20 seconds.

PM312 commented: Thank you very much. got the perfect code in much simple way. this is the first time i have used chatgpt and it will be useful in future +0
rproffitt 2,706 https://5calls.org Moderator

Sorry but I only have VS2008 and VS2022 now. But for a real-time crosshair that moves with the mouse, showing its position along the X and Y axis I asked ChatGPT and it appears to only need less than 20 lines of code that respond to Chart1_MouseMove().

PM312 commented: Thanks , but i dint find any code on Google for vb.net but available for other languages\platforms . Any ling you can provide it will be helpful. +5
PM312 47 Junior Poster in Training

i want to add Crosshair , a vertical and horizontal line to view the value of the axis
is this available for charts in vb.net 2017.

chart_2.png

Eckert 0 Newbie Poster Banned

Hi! That sounds like an amazing project you're working on. Making it easier to run AI models directly on phones is a big step forward, and I’d definitely be interested in testing it out. I’m planning to explore mobile AI apps, especially in the video editing and content creation space. Even if the models run a bit slower, having everything work offline is a huge plus.

Would love to stay updated and give feedback as your SDK develops. Count me in!

Dani 4,675 The Queen of DaniWeb Administrator Featured Poster Premium Member

I feel like that's part of the UI that would be very different depending upon the context. For example, what would the message look like? This is meant to just be a backend utility function.

john_111 88 Junior Poster in Training

You should display a message acknowledging the upload was successful or that it failed (and why it failed), and perhaps it's new name.

SCBWV 71 Junior Poster

IDK about ASP, but in desktop apps you can call LockWindowUpdate in user32 to pause the update until after the treeview has been populated.

Dani 4,675 The Queen of DaniWeb Administrator Featured Poster Premium Member

Visual Studio 2008?

Yes, the OP specified they are using VS 2008.

Also 12 years late.

Not only not against the rules, but also not discouraged on DaniWeb. That's the beauty of forums that live on for decades.

Reverend Jim 5,259 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Two possible ways to handle this:

  1. Populate the tree in a separate thread
  2. Only populate sub-nodes as required to view

You can do option 2 by putting the "populate directly under this node" code in the event that gets triggered when you select a node.

kinvieb 0 Newbie Poster

Hi,
My first and quick point of view is that if you have a chart with such a big amount of data points, there might not be a need to show all individual data points. For the axis values, you may just choose to show points at a given interval, to avoid the congestion. For the data labels, you can choose to show labels at particular points (like maxima, minima, etc.) or any predefined values set by the purposes of the study.
Best regards
Kinvieb

Volochain1 0 Volochain MLM Software

When displaying extensive MLM (Multi-Level Marketing) hierarchies using TreeView in ASP.NET, performance issues often arise due to the sheer volume of nested nodes. Loading thousands of members at once can slow down the interface, increase page load time, and degrade user experience.

rajshah85412 30 Newbie Poster

Here is the detailed answer :

You want to:

Register new users to your website.

Validate (log in) existing users using a web service.

You will achieve this by:

Creating a SQL database to store user information.

Developing a web service in ASP.NET to handle registration and login.

Connecting the web service to your database.

Optionally consuming this service from your website front-end.

🔧 Step-by-Step Process
Step 1: Create a Database Table
Start by designing a table in SQL Server where user data will be stored. This table should include fields like:

Username

Password (you can later add encryption)

Email address

This table will be used to store and retrieve user credentials.

Step 2: Create a New ASP.NET Web Service Project
In Visual Studio 2008:

Create a new website project using the "ASP.NET Web Service" template.

This will give you a .asmx file where you will define the web service methods.

Step 3: Add a Connection to the Database
Use the web.config file to store a connection string. This allows your web service to communicate with the SQL Server database.

Step 4: Create Two Web Service Methods
Define two main methods in your service:

RegisterUser – This method accepts user details (like username, password, and email) and stores them in the database. It checks for existing usernames to avoid duplicates.

ValidateUser – This method accepts login credentials and checks if they match any record in the database. If yes, login is successful.

Step 5: Publish and Test the Service
Once …

rproffitt commented: Visual Studio 2008? Also 12 years late. -4
Dani commented: Replying to older threads is encouraged. Thanks :) +34
toneewa 115 Junior Poster

I've seen this problem before with the .rc and resource.h files, when changing icons.

Backup what you have. I remember I had to remove the resource files from the project, and the additional resource (e.g., resource1.h, resource2.h) generated headers from the project folder, when adding a new icon to replace the default.

It's probably easier to just start a new project and copy the code and redo the library with the default icon and practice your steps of replacing the icon.

I ruled it the auto-generated files everytime you delete something to cause the issue.

Does that sound familiar?

However, the compiler errors still point to some .lib or .dll file(s), function call order, and syntax error.

//Incorrect starter.h

#include "Forms1.h";

#define MY_MACRO 1 // Comment
You cannot comment after a #define or have any whitespace, tabs, spaces after.

Hope this helps. :)

PM312 47 Junior Poster in Training

I have a candlestick chart with long list (data point) on X-Axis which becomes congested when loaded.

How to show datapoint with sufficient space . Is there any container with horizontal scroll bar to display chart just like data is displayed in DataGrid view without reducing column width.
Chartcandlestick.png

Dani 4,675 The Queen of DaniWeb Administrator Featured Poster Premium Member

I realize I could have done better when coming up with a safe name. As it stands, a file uploaded that has a file name in non-Latin characters will just end up with a bunch of underscores. I’m not even sure if that suffices as a file name, but for sure there will be collisions as multiple files are attempting to be saved with the same _ name.

Dani 4,675 The Queen of DaniWeb Administrator Featured Poster Premium Member

Status update: we now use Cloudflare’s free rate limiting functionality. Back when I wrote this, Cloudflare charged for rate limiting. Note we have a Business account.

Biiim 182 Junior Poster

I felt like some fun, so I just put together an example for you using CDN's and bootstrap 5.

From what you are talking about you probably want to put some of that logic into the Javascript and not need to send a server request for each one, I usually do this kind of thing with javascript objects/arrays (eg settings['GB']['visa_req'] = false;settings['IN']['visa_req'] = true; then populate the form based on a selected country code) but it is up to you as long as you get something working. Just keep in mind that anything in Javascript can be messed around with, you need to make sure that the Server side controls the workflow - IE if a VISA is required you need to make sure the PHP checks it on the server side and don't trust the Javascript data as someone could flip it to false. I usually make arrays in PHP from a database and generate Javascript arrays from the PHP array so I don't have to make things twice, then on saving the PHP script always checks the database or PHP code for the actual value. Real users don't mess with the javascript so just be aware of possible ways of cheating the system and stop it from working but the real users will just use it as you programmed it.

I didn't include in my example an ajax request to a PHP page, my advice on that would be to print out messages at all the stages so …

Dani 4,675 The Queen of DaniWeb Administrator Featured Poster Premium Member

Here's a quick bit of code to upload a file in PHP.

rproffitt commented: I always liked little Johnny Drop Tables. +17
Dani 4,675 The Queen of DaniWeb Administrator Featured Poster Premium Member

I happily just discovered the Cache-Control rules stale-if-error and stale-while-revalidate. I came across an article on Cloudflare's site that says that those two directives are ignored if CF's Always Online feature is enabled, so I've gone ahead and disabled that. However, I'm confused by the following quote:

The stale-if-error directive is ignored if Always Online is enabled or if an explicit in-protocol directive is passed. Examples of explicit in-protocol directives include a no-store or no-cache cache directive, a must-revalidate cache-response-directive, or an applicable s-maxage or proxy-revalidate cache-response-directive.

We do use s-maxage. Does that mean that stale-if-error is always ignored? An example of something we have is this:

Cache-Control: max-age=3600, s-maxage=86400, stale-while-revalidate=3600, stale-if-error=604800, public

Given the above, when is s-maxage considered "applicable" to override stale-if-error?

Mr.M 123 Future Programmers

Thanks, I've never used Git before.

I've commented out all the code but still. What I think might be producing this problem is the resources.

I added a new item then changed the default to a new icon. But I did run the project successfully that time.

This is the only thing I suspect might be a result of this problem. How can I clean the resource file to make sure there are no broken link or something?

Dani 4,675 The Queen of DaniWeb Administrator Featured Poster Premium Member

I will also add that Git is built into almost all IDEs. It's the default version control for Visual Studio 2019 and forward. Are you still using VS 2010? There are some Git plugins for VS 2010 as well:

https://stackoverflow.com/questions/16989962/visual-studio-2010-2012-git-plugin

polcreation 0 Newbie Poster

I know that this is probably a hopeless question, but are there any automated scripts that would reliably and automagically convert my thousands upon thousands of lines of jQuery code into native Javascript?

Maybe try Haxe.org

Salem 5,265 Posting Sage

Let me clarify, the project was running fine, only started experiencing this in few weeks ago.#

https://en.wikipedia.org/wiki/Git

Start using it.

Every time you make forward progress, you make a commit.

Every time you make a mess of it, you revert to the last known good state and try again.

Mr.M 123 Future Programmers

I've tried doing the extern to all these variables but still.

Let me clarify, the project was running fine, only started experiencing this in few weeks ago.

Regarding the question about the OpenXFS project (Library) the library is here and it's linked.

What I will do is try commenting out all the code and try debugging and see if it will debug and if it does I will uncomment one line of code at a time and see if I will figure out where's the problem if it's within the code

Dani 4,675 The Queen of DaniWeb Administrator Featured Poster Premium Member

This obviously does not make sense to do if you want to create or work with a User object or something of that sort.

I realize that in my previous post I incorrectly gave the example of $user = new stdClass(); $user->nickname = 'Dani';. My intention was not to say that it was good coding practice to represent a user of the app with an object of a generic type and dynamically start setting its properties. I meant to only illustrate that syntactically it was permitted. Perhaps incorrectly, I chose to demonstrate by continuing with the same user example that was used in the tutorial.

Dani 4,675 The Queen of DaniWeb Administrator Featured Poster Premium Member

The first I agree would not make much sense to do because one would presume that the User class has its own set of getters and setters for a reason, and just creating random properties on a whim defeats the purpose of organizing and structuring your code by having the class in the first place. Nevertheless, I ran into this exact issue while trying to make the latest version of CodeIgniter 3 (which has now been deprecated in favor of CodeIgniter 4.x) compatible with PHP 8.2/8.3. As hinted above, the built-in Image_lib controller class that manipulates images does, indeed, create dynamic properties.

The second, which you say is worse, is something that I have been guilty of in the past when it comes to temporary variables that, for whatever reason, I want to be an object instead of an array. IMHO, there are two easy ways to create temporary objects:

// Create a PHP object and set 2 properties
$temp_obj = new StdClass();
$temp_obj->foo = 'bar';
$temp_obj->baz = 'bat';

// Create a PHP array with 2 elements
$temp_arr = array(
    'foo' => 'bar';
    'baz' => 'bat';
);

// Convert a PHP array to a PHP object
$temp_obj = json_decode(json_encode($temp_arr));

This obviously does not make sense to do if you want to create or work with a User object or something of that sort. However, if your code requires a quick way of creating and working with a simple object, either of these methods should suffice. Doing a cursory glance at …

toneewa 115 Junior Poster

I like the challenge, but hate when errors like these occur.

Check for a syntax error on line 2 in starter.h
starter.h(2): warning C4067: unexpected tokens following preprocessor directive - expected a newline

Hard to say without seeing code. Some cases m_hservice may require you to use the .lib file Advapi32.lib it if it isn't automatically linked. #pragma comment(lib, "Advapi32.lib")
Add what you need to the Project Properties > Linker > Input > Additional Dependencies

Check to make sure you have all your .lib files and paths included in the project.
E.g., verify the .lib or header file for _wfsversion.

You can also do Build > Clean Solution, and Rebuild. If you change the order of functions, and reuse old object files, you can run into this.

You can also use #define _CRT_SECURE_NO_WARNINGS before your header declarations to suppress those warnings.

Determine where these definitions are, and what is required for them:

unsigned short MyProjectName::m_hservice
struct _wfsversion MyProjectName::m_verSion
long MyProjectName::m_hr
unsigned long MyProjectName::m_dwRVersion

Here is an example using them.

#include <windows.h>
#include <iostream>

#pragma comment(lib, "Advapi32.lib")

struct _wfsversion {
    int major;
    int minor;
    int build;
};

class MyProjectName {
public:
    SC_HANDLE m_hservice;  
    SC_HANDLE m_hSCManager;  
    struct _wfsversion m_verSion; 
    long m_hr;  
    unsigned long m_dwRVersion;  

    MyProjectName() : m_hservice(nullptr), m_hSCManager(nullptr), m_hr(0) {
        m_verSion = { 1, 6, 10 }; 
        m_dwRVersion = (m_verSion.major << 16) | (m_verSion.minor << 8) | m_verSion.build;
    }

    bool OpenServiceHandle(const std::wstring& serviceName) {
        m_hSCManager = OpenSCManager(nullptr, nullptr, SC_MANAGER_CONNECT);
        if (!m_hSCManager) {
            m_hr = GetLastError();
            std::cerr << "Failed to open …
rproffitt 2,706 https://5calls.org Moderator

I followed the build process and when I hit OpenXFS_V0.0.0.5 I went looking for that project to see if folk were having build problems.

Where is this OpenXFS project to be found?

I worry this is from some Linux project and may not be ready for Win and VS2010.

jkon 689 Posting Whiz in Training Featured Poster

I can't get it , why anyone would want to
$user = new User(); $user->nickname = 'Dani';
if nickname is not a public property of User , or even worse
$user = new stdClass(); $user->nickname = 'Dani';
?
Why ?

wwwalker 49 Newbie Poster

When compiling no relevant libraries have been included for linker to link so the executable won't run as it can't be compiled with missing libraries.

In C and C++ code, the library header includes are at the top of the page.

E.g.:
#include <iostream>

Go through each error where code requires a library to be linked and add those includes at the top then recompile and hopefully you have linked all relevant libraries for your code to compile and a valid .exe file will be generated and be able to be open and run.

For function strncpy, you need these to be included at top of program:

#include <stdio.h>
#include <string.h>

Unreferenced local variable means they have not been declared in scope. Declare those variables like:
data
WfsVersion

Error says use strncpy_s instead of strncpy. Try doing that.

Salem 5,265 Posting Sage

1>C:\Users\mypcname\Documents\Visual Studio 2010\Projects\myprojectname\Debug\myprojectname.exe : fatal error LNK1120: 16 unresolved externals

This is why you don't have an executable file.

Example:

1>myprojectname.obj : error LNK2020: unresolved token (0A0000DF) "unsigned short MyProjectName::m_hservice" (?m_hservice@MyProjectName@@$$Q3GA)
1>starter.obj : error LNK2020: unresolved token (0A0000DB) "unsigned short MyProjectName::m_hservice" (?m_hservice@MyProjectName@@$$Q3GA)
1>home1.obj : error LNK2020: unresolved token (0A0000DB) "unsigned short MyProjectName::m_hservice" (?m_hservice@MyProjectName@@$$Q3GA)

You need to define these symbols somewhere in your code for it to compile an executable.