 |
|
 |
Do you have any idea on creating this dll from vb6 ( With Export Functions )
Jothi Murugeswaran.S
|
|
|
|
 |
|
 |
Hi
I am new to dll file. I get stuck with building a dll (C/C++) file to be call from C applications in VS.NET 2003 for my project. Does anyone know how to properly build and import it , something like extern "C" __declspec( dllexport ) int MyFunc(long parm1);. I try to do it but it just didn't work. Practical examples would be really good!! many thanks
|
|
|
|
 |
|
 |
how to create dll file in asp.net
Gayatri
|
|
|
|
 |
|
 |
Hi,
How do I send messages from my DLL to the app loading the DLL?
Thanks for an informative article
Cheers
|
|
|
|
 |
|
 |
1)How can i creat a .dll file from c code (no classes) without changing the source code (the functions)?
2)likewise how to use it at the project without changing it to?
(except for some(not dependant at the number of the functions) lines at the headers files)
|
|
|
|
 |
|
 |
I have some problem with inpout32.dll
in win32 console application project my code is:
#include "stdio.h"
#include "string.h"
#include "stdlib.h"
/* ----Prototypes of Inp and Outp--- */
void _stdcall Out32(short PortAddress, short data);
/*--------------------------------*/
/*
int main()
{
Out32(888,20);
return 0;
}
but in MFC project ,it error (i use the same code ,except
int out()
{
Out32(888,20);
return 0;
}
Linking...
thulpt1Dlg.obj : error LNK2001: unresolved external symbol "void __stdcall Out32(short,short)" (?Out32@@YGXFF@Z)
Debug/thulpt1.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
thulpt1.exe - 2 error(s), 0 warning(s)
how can i solve it ?
please help me
dnqhung
|
|
|
|
 |
|
 |
Well, i didnt tried this example, but i think the problem lies
in different definitions of the dll-call.
First it is declared as
...
int Calc(char no1,char no2)
--------^-------^
...
In the application is something expected as
...
Calc(int FirstValue,int SecondValue);
-----^------------^
...
So the problem may or may not be in different type definitions?
The compiler is looking for int/short and will only find char...
Hope i could help u.
C. Kluin
Computer Science Student of the University of Bremen.
-= Everyday is monday..I hate mondays =-
|
|
|
|
 |
|
 |
Hi all,
I used 'Empty Project'/native C++ of the VC++ .NET 2002 to do 'Build' for the .cpp and .h files of the Creation of a simple DLL project and I got an Error C1083 - can not find or open . Is already built in the VC++ .NET system? What is wrong in this 'Build'? Can someone help and point out what is wrong with this 'Build' and how to correct it?
Thanks in advance,
Scott Chang
|
|
|
|
 |
|
 |
Hi jst check out if u have included the correct path for the library and directory in the options. else set the correct path in the IDE. can u write complete error string. happy coding
Get the facts or facts will get you and when you get them, get them right or they will get you wrong.
Happy Coding
|
|
|
|
 |
|
 |
hi friends,
how to invoke vb dll through c++ dll.
thanks in advance.
|
|
|
|
 |
|
 |
d:\mi\mi.cpp(1) : fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory
|
|
|
|
 |
|
 |
At start, then you choos type of the project select MFC AppWizard
|
|
|
|
 |
|
 |
but if i select Win32 Dynamic-Link Library i got the fatal error.
i want Win32 Dynamic-Link Library, how can i remove this erro with out usaing MFC AppWizard dll.
|
|
|
|
 |
|
 |
i use win32 also ;
hey man ,u describe it is simple but i'm stuck in this FATAL Error:
error 1083,or 2019 ,mentioning that your symbole cannot be resolved ,
couldn't open or read this dll and that lib , ouch
please shed me a light in this issue ,
really i have not much time to making dll and testing resultless!
|
|
|
|
 |
|
 |
Add the following to the declaration of each exported function (and constructor & destructor functions of any class that are accessable for other modules):
__declspec(dllimport)
So, if you have the function 'foo' (void foo(void)):
__declspec(dllimport) void foo ();
BTW, that was in the tutorial.
|
|
|
|
 |
|
 |
i use win32 also ;
hey man ,u describe it is simple but i'm stuck in this FATAL Error:
error 1083,or 2019 ,mentioning that your symbole cannot be resolved ,
couldn't open or read this dll and that lib , ouch
please shed me a light in this issue ,
really i have not much time to making dll and testing resultless!
|
|
|
|
 |