Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6010041
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T02:03:34+00:00 2026-05-23T02:03:34+00:00

I seem to be having an issue when it comes to calling C# code

  • 0

I seem to be having an issue when it comes to calling C# code from PowerBuilder, but it only affects some computers.

The program itself is a simple program that allows you to send an E-mail. The application has been written in PowerBuilder 11.2, while the SMTP part has been written in C#/C++ which is created in a Mail.dll file.

When the PowerBuilder application runs, it works 100% on almost all the computers at my work. There are a select few where it crashes at the following line

cmail mail = CREATE cmail

But as I said, it is only on a few machines. All machines are Dell Desktops, running Windows 7 64-bit with 2.0GB Ram.

The DLL file is placed at C:\Program Files (x86)\Sybase\PowerBuilder 11.0\, and that same path has been added to the PATH variable.

Are there any tips I could go on to attempt to figure out what could be wrong? My belief is that some machines cannot find the DLL even though the file path is in the system PATH, and that the computers are practically identical.

Thank you.

EDIT: Here is the error that it is throwing at us:

Application Terminated.

Error: Bad runtime function reference at line 11 in clicked even of object cb_send of w_email

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T02:03:35+00:00Added an answer on May 23, 2026 at 2:03 am

    Ended up finding out what the problem was. The problem was associated with the building of the .dll through DEBUG mode.

    If a .dll is in DEBUG mode, it uses a special version of the .NET Framework that is only available from VisualStudio 20xx.

    Simply changing it to RELEASE build allowed this to function on all computers.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This may seem like a silly question, but we are having an issue debugging
I'm having some issue with embedding Traditional Chinese characters from the Arial Unicode MS
Seem to be having an issue with std::auto_ptr and assignment, such that the object
Hi I seem to be having an issue trying to align an H1 tag
I am having an issue that I can't seem to figure out. Hopefully somebody
i'm having an issue with creating a query in oracle which doesnt seem to
I am having a strange issue that I can't seem to resolve. Here is
I seem to be having a very frustrating time with an inherited class calling
This may be something common and trivial, but I seem to be having trouble
I'm building a Curl web automation app and am having some issue with not

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.