Licensed Installation acts like demo

9 views
Skip to first unread message

Bill Smith

unread,
Jul 27, 2010, 12:38:37 AM7/27/10
to Com1 Software DLL Development
I downloaded and installed the X12 parser using setup.exe. I accepted
the default location. I ran the app and entered the code given by the
download page.

I'm trying to use it from C# (VS2008 Pro) with the following code
(console app running in debug mode):

using System.Runtime.InteropServices;
using System;
using System.Xml;
using System.Collections.Generic;
using System.Collections;
using System.IO;

class PInvoke1App
{
[DllImport(@"c1d0m471.dll")]
static extern string C1COMMAND0(string strCaptiona);
[DllImport(@"c1d0m471.dll")]
//static extern string C1COMMAND2(string command, string
outputType, string source);
static extern string C1COMMAND5(string strCaptiona, string
strCaptionb, string strCaptionc, string strCaptiond,
string strCaptione, string strCaptionf);

public static void Main()
{
string ret = C1COMMAND0("GETDLLVERSION");
Console.WriteLine("Return Value: " + ret);
string inFile = "C:\\mdonline835sample.835";
string outFile = "test1";
string options = "OW";

string result = C1COMMAND5("PARSE", "csv", inFile, outFile,
options, "");
}
}

I get this output:

Return Value: 1.16G-16

Then I get a usually get the standard demo popup about the window not
showing in the licensed mode. but right now I'm getting

"Sorry, the trial version of this product has reached its daily
limit."

It seems clear that the install thinks it's a demo version still --
what do I need to do? I've tried referencing the DLL where it was
installed, copying the DLL into the same directory as my exe and
copying my exe into the directory where the DLL was install -- all
have the same behavior. I can run the app in the install directory
(c1d0f472.exe) with no problem and no prompts.

Thanks,
Bill

infor...@com1software.com

unread,
Jul 27, 2010, 7:36:29 AM7/27/10
to com1-software-...@googlegroups.com

Bill,

I will look into it and will let you know shortly

Thanks
Dave

infor...@com1software.com

unread,
Jul 27, 2010, 9:10:44 AM7/27/10
to com1-software-...@googlegroups.com
Bill,

Just wanted to update you.

I do see a problem and will have it fixed for you shortly

Thanks
Dave


On 26 Jul 2010 at 21:38, Bill Smith wrote:

Reply all
Reply to author
Forward
0 new messages