Run-time error '49' Bad DLL calling convention in vb6

Post here messages if you have any problems with working of Enigma Protector
Post Reply
ubindia
Posts: 3
Joined: Tue Feb 22, 2022 2:27 am

Run-time error '49' Bad DLL calling convention in vb6

Post by ubindia »

Hello,
I am using vb6. I got this message in three ways.
1. I am using my own dll file inside protected application. When registered for 1st time and start the app, it shows. After one or two times start again the app doesn't show this message.
2.If application privilege not set 'Run as administrator' then also shows this message but when it is run in administrator mode it solved.
3. but my major problem I am facing when I updated 7.0 and using its enigma_ide.dll file for testing without protecting, it shows this message. I have copied the file enigma_ide.dll as well as enigma_ide64.dll into my app directory as well as into the windows\system32 directory too. I am using windows 10 64bit. I have tested in the running in code as well as compiling the executable also. Also tried to run the app in administrator privilege. I am also running vb6 in administrator privilege.
Please give me a solution for point 1. and 3.
Attachments
Run-time error '49'.jpg
Run-time error '49'.jpg (60.11 KiB) Viewed 5901 times
Enigma
Site Admin
Posts: 2939
Joined: Wed Aug 20, 2008 2:24 pm

Re: Run-time error '49' Bad DLL calling convention in vb6

Post by Enigma »

Hi, as for #3, can you please connfirm:
1. Problem happens when the file is not protected?
2. After protection problem gone, right?
3. Please let me know what Enigma API functions do you use inside your application?
ubindia
Posts: 3
Joined: Tue Feb 22, 2022 2:27 am

Re: Run-time error '49' Bad DLL calling convention in vb6

Post by ubindia »

1. Problem happens when the file is not protected?
Ans: Yes
2. After protection problem gone, right?
Ans: Yes
3. Please let me know what Enigma API functions do you use inside your application?
Ans : EP_RegKeyStatus, EP_RegShowDialog, EP_RegLoadAndCheckKey, EP_RegKeyDays these functions are using in my application.
Enigma
Site Admin
Posts: 2939
Joined: Wed Aug 20, 2008 2:24 pm

Re: Run-time error '49' Bad DLL calling convention in vb6

Post by Enigma »

We moved this discussion in emails.
Post Reply