I am working on goldmine integration in C# program and I am running into issues.
I have this code and it is throwing an error, I don't know what I am doing wrong.
public static string updateContact(Contact contact)
lC1WA = GMW_DB_Open("Contact1");
lC2WA = GMW_DB_Open("Contact2");
lCSWA = GMW_DB_Open("ContSupp");
//If all files are opened OK...
if (lC1WA != IntPtr.Zero && lC2WA != IntPtr.Zero && lCSWA != IntPtr.Zero)
IntPtr nvc = GMW_DB_Seek(lC1WA, contact.lastName.ToUpper());
//Perform the seek
if (nvc != IntPtr.Zero)
GMW_DB_Replace(lC1WA, "Company", "zzzzzzz", (IntPtr)20);
lresult = GMW_Execute("UFreContact", lC1WA);
Thank you for your help